Package ru.curs.celesta.score
Class SequenceElement
- java.lang.Object
-
- ru.curs.celesta.score.NamedElement
-
- ru.curs.celesta.score.GrainElement
-
- ru.curs.celesta.score.SequenceElement
-
public final class SequenceElement extends GrainElement
Sequence object in metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SequenceElement.Argument
Sequence arguments.
-
Field Summary
-
Fields inherited from class ru.curs.celesta.score.NamedElement
MAX_IDENTIFIER_LENGTH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<SequenceElement.Argument,Object>
getArguments()
Returns a map of all arguments with values for the sequence.Long
getIncrementBy()
Returns INCREMENT BY parameter for this SEQUENCE.Long
getMaxValue()
Returns MAXVALUE parameter for this SEQUENCE.Long
getMinValue()
Returns MINVALUE parameter for this SEQUENCE.Long
getStartWith()
Returns STARTS WITH parameter for this SEQUENCE.boolean
hasArgument(SequenceElement.Argument argument)
Whether the sequence contains the specified argument.Boolean
isCycle()
Returns CYCLE parameter for this SEQUENCE.-
Methods inherited from class ru.curs.celesta.score.GrainElement
getGrain, getGrainPart
-
Methods inherited from class ru.curs.celesta.score.NamedElement
equals, getCelestaDoc, getName, getQuotedName, getQuotedNameIfNeeded, hashCode, limitName, limitName, setCelestaDoc
-
-
-
-
Method Detail
-
getArguments
public Map<SequenceElement.Argument,Object> getArguments()
Returns a map of all arguments with values for the sequence.
-
hasArgument
public boolean hasArgument(SequenceElement.Argument argument)
Whether the sequence contains the specified argument.- Parameters:
argument
- argument
-
getStartWith
public Long getStartWith()
Returns STARTS WITH parameter for this SEQUENCE.
-
getMinValue
public Long getMinValue()
Returns MINVALUE parameter for this SEQUENCE.
-
getMaxValue
public Long getMaxValue()
Returns MAXVALUE parameter for this SEQUENCE.
-
getIncrementBy
public Long getIncrementBy()
Returns INCREMENT BY parameter for this SEQUENCE.
-
isCycle
public Boolean isCycle()
Returns CYCLE parameter for this SEQUENCE.
-
-