org.axiondb
Class SequenceEvaluator

java.lang.Object
  extended by org.axiondb.SequenceEvaluator
All Implemented Interfaces:
java.io.Serializable, Selectable

public class SequenceEvaluator
extends java.lang.Object
implements Selectable

Version:
$Revision: 1.12 $ $Date: 2005/12/22 09:02:30 $
See Also:
Serialized Form

Field Summary
static java.lang.String CURRVAL
           
static java.lang.String NEXTVAL
           
 
Constructor Summary
SequenceEvaluator(Sequence seq, java.lang.String method)
           
 
Method Summary
 java.lang.Object evaluate(RowDecorator row)
           
 java.lang.String getAlias()
           
 DataType getDataType()
           
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 void setAlias(java.lang.String alias)
           
 void setVariableContext(VariableContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRVAL

public static final java.lang.String CURRVAL
See Also:
Constant Field Values

NEXTVAL

public static final java.lang.String NEXTVAL
See Also:
Constant Field Values
Constructor Detail

SequenceEvaluator

public SequenceEvaluator(Sequence seq,
                         java.lang.String method)
                  throws AxionException
Throws:
AxionException
Method Detail

evaluate

public java.lang.Object evaluate(RowDecorator row)
                          throws AxionException
Specified by:
evaluate in interface Selectable
Throws:
AxionException

getAlias

public java.lang.String getAlias()
Specified by:
getAlias in interface Selectable

setAlias

public void setAlias(java.lang.String alias)

getDataType

public DataType getDataType()
Specified by:
getDataType in interface Selectable

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface Selectable

getName

public java.lang.String getName()
Specified by:
getName in interface Selectable

setVariableContext

public void setVariableContext(VariableContext ctx)
Specified by:
setVariableContext in interface Selectable