private static class DDLGeneratorWorker.Sequence
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
cycle
Flag for cycling sequences.
|
private java.lang.Long |
increment
The increment value, must not be 0.
|
private java.lang.Long |
initial
The initial value of the sequence.
|
private java.lang.String |
legacyName
The legacy name of the sequence used by dynamic forms.
|
private java.lang.Long |
max
The maximum value.
|
private java.lang.Long |
min
The minimum value.
|
private java.lang.String |
name
The sql-legal name.
|
Constructor and Description |
---|
Sequence(java.lang.String legacyName,
java.lang.String sqlName,
java.lang.Long init,
java.lang.Long min,
java.lang.Long max,
java.lang.Long increment,
java.lang.Boolean cycle)
The only constructor creates the immutable object.
|
private final java.lang.String name
private final java.lang.String legacyName
private final java.lang.Long initial
private final java.lang.Long min
private final java.lang.Long max
private final java.lang.Long increment
private final java.lang.Boolean cycle
Sequence(java.lang.String legacyName, java.lang.String sqlName, java.lang.Long init, java.lang.Long min, java.lang.Long max, java.lang.Long increment, java.lang.Boolean cycle)
sqlName
- The name of the sequence from database.legacyName
- The original name of the sequence in 4GL.init
- Initial value of the sequence.min
- Minimum value of the sequence.max
- Maximum value of the sequence.increment
- The increment of the sequence.cycle
- Cycling flag.