public final class DbSequenceInfo extends Object
| Constructor and Description |
|---|
DbSequenceInfo() |
| Modifier and Type | Method and Description |
|---|---|
long |
getIncrementBy()
Returns 'increment by' value of the sequence.
|
long |
getMaxValue()
Returns maximal value of the sequence.
|
long |
getMinValue()
Returns minimal value of the sequence.
|
boolean |
isCycle()
Whether the sequence is cycled, i.e.
|
boolean |
reflects(SequenceElement s) |
void |
setCycle(boolean cycle)
Sets if the sequence is cycled.
|
void |
setIncrementBy(long incrementBy)
Sets 'increment by' value of the sequence.
|
void |
setMaxValue(long maxValue)
Sets maximal value of the sequence.
|
void |
setMinValue(long minValue)
Sets minimal value of the sequence.
|
public long getIncrementBy()
public void setIncrementBy(long incrementBy)
incrementBy - 'increment by' valuepublic long getMinValue()
public void setMinValue(long minValue)
minValue - minimal valuepublic long getMaxValue()
public void setMaxValue(long maxValue)
maxValue - maximal valuepublic boolean isCycle()
true - cycled, otherwise - false. Default is falsepublic void setCycle(boolean cycle)
cycle - true - cycled, otherwise - false.public boolean reflects(SequenceElement s)
Copyright © 2020 CURS. All rights reserved.