Package flexagon.core.services.pojo
Class FlexSequenceBlock
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.core.services.pojo.FlexSequenceBlock
- All Implemented Interfaces:
Serializable
Internal class to manage Sequence related data.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFlexSequenceBlock(String pSequenceName, long pNext, long pBlockSize, long pIncrement) -
Method Summary
-
Constructor Details
-
FlexSequenceBlock
-
-
Method Details
-
toString
Description copied from class:BasePOJOReturns custom String representation implemented by walking complete object structure. -
getSequenceName
-
next
Return next sequence number, if sequence block is exhausted, this method will throw FlexSequenceBlockExhaustedException.- Returns:
- long
- Throws:
FlexSequenceBlock.FlexSequenceBlockExhaustedException
-