public class NucleusSequence extends Object
| Constructor and Description |
|---|
NucleusSequence(String entity)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentValue()
Accessor for the current value.
|
String |
getEntityName()
Accessor for the entity name
|
void |
incrementCurrentValue(long increment)
Method to update the current value.
|
void |
setCurrentValue(long value)
Mutator for current value
|
public NucleusSequence(String entity)
entity - The class/field name that the sequence value is forpublic long getCurrentValue()
public String getEntityName()
public void setCurrentValue(long value)
value - The current value for this sequence.public void incrementCurrentValue(long increment)
increment - The amount to increment by (must be positive)Copyright © 2015. All rights reserved.