Package io.jmix.data
Class Sequence
java.lang.Object
io.jmix.data.Sequence
Represents sequence with name, store, start value and increment.
Default data store for sequence is MAIN data store.
Default start value 1, and default increment 1.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getName()
long
setIncrement
(long increment) setStartValue
(long startValue) static Sequence
-
Field Details
-
name
-
dataStore
-
startValue
protected long startValue -
increment
protected long increment
-
-
Method Details
-
withName
-
setStore
-
setStartValue
-
setIncrement
-
getName
-
getDataStore
-
getStartValue
public long getStartValue() -
getIncrement
public long getIncrement()
-