GenerateElemUID
Keywords: uk.ac.bbk.dcs.automed.xml.functions.GenerateElemUID class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.bbk.dcs.automed.xml.functions
Class GenerateElemUID

    java.lang.Object
      uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
          uk.ac.bbk.dcs.automed.xml.functions.GenerateElemUID

    public class GenerateElemUID

extends BuiltInFunction

Function that produces element UIDs based on the two arguments passed to the function.

The first argument is a string representing the SID of the element (the SID is of the form <elementName>$count_sid).

The second argument is an ASG representing a list; the function will create as many element UIDs as the size of the list.

Author:
  Lucas Zamboulis

Field Summary

Fields inherited from class uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
`arity, logger, typeList`

Constructor Summary
`GenerateElemUID()`

Method Summary
`Cell` | `perform(Cell[] args, Evaluator e)`

Methods inherited from class uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
`finalize, getArity, getTypeList`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GenerateElemUID

    public GenerateElemUID()
                    throws ParseException

Throws:
  `ParseException`

Method Detail

### perform

    public Cell perform(Cell[] args,
                        Evaluator e)
                 throws TypeException,
                        QProcException

  Specified by:
    `perform` in class `BuiltInFunction`
  Returns:
    a Cell object that is the root of a graph that represents the result of applying the built-in function to the arguments args. Uses the Evaluator e to evaluate any sub-queries that need to be evaluated.
  Throws:
    `TypeException`
    `QProcException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD