|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.axiondb.NamedIdentifier
org.axiondb.Literal
org.axiondb.Sequence
A database sequence. A sequence provides a mechanism for obtaining unique integer values from the database.
Constructor Summary | |
Sequence(String name)
Create a equence starting whose initial value is 0. |
|
Sequence(String name,
int startVal)
Create a equence starting whose initial value is startVal . |
Method Summary | |
void |
addSequenceModificationListener(SequenceModificationListener listener)
|
Object |
evaluate()
Increment and return the next value in this sequence. |
String |
getName()
Get the name of this sequence. |
Object |
getValue()
Get the current value of this sequence. |
Methods inherited from class org.axiondb.Literal |
equals, evaluate, getAlias, getDataType, getLabel, hashCode, setAlias, setDataType, setValue, setVariableContext, toString |
Methods inherited from class org.axiondb.NamedIdentifier |
toUpperOrNull |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.axiondb.Selectable |
evaluate, getAlias, getDataType, getLabel, setVariableContext |
Constructor Detail |
public Sequence(String name)
public Sequence(String name, int startVal)
Method Detail |
public void addSequenceModificationListener(SequenceModificationListener listener)
public Object evaluate() throws AxionException
evaluate
in class Literal
AxionException
public String getName()
getName
in interface Selectable
getName
in class Literal
public Object getValue() throws AxionException
getValue
in class Literal
AxionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |