Class SequenceConfig
java.lang.Object
org.nervousync.beans.core.BeanObject
org.nervousync.database.beans.configs.sequence.SequenceConfig
- All Implemented Interfaces:
Serializable
public final class SequenceConfig
extends org.nervousync.beans.core.BeanObject
Sequence config
- Version:
- $Revision: 1.0 $ $Date: May 15, 2012 5:54:44 PM $
- Author:
- Steven Wee wmkm0113@Hotmail.com
- See Also:
-
Field Summary
Fields inherited from class org.nervousync.beans.core.BeanObject
LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintstatic longintgetStep()booleanisCycle()voidsetCurrent(int current) voidsetCycle(boolean cycle) voidsetMaxValue(int maxValue) voidsetMinValue(int minValue) voidsetSequenceName(String sequenceName) voidsetStep(int step) Methods inherited from class org.nervousync.beans.core.BeanObject
equals, hashCode, objectToString, toFormattedJson, toFormattedYaml, toJson, toString, toXML, toXML, toXML, toXML, toXML, toYaml
-
Constructor Details
-
SequenceConfig
public SequenceConfig()
-
-
Method Details
-
getSequenceName
- Returns:
- the sequenceName
-
setSequenceName
- Parameters:
sequenceName- the sequenceName to set
-
getMinValue
public int getMinValue()- Returns:
- the minValue
-
setMinValue
public void setMinValue(int minValue) - Parameters:
minValue- the minValue to set
-
getMaxValue
public int getMaxValue()- Returns:
- the maxValue
-
setMaxValue
public void setMaxValue(int maxValue) - Parameters:
maxValue- the maxValue to set
-
getStep
public int getStep()- Returns:
- the step
-
setStep
public void setStep(int step) - Parameters:
step- the step to set
-
getCurrent
public int getCurrent()- Returns:
- the current
-
setCurrent
public void setCurrent(int current) - Parameters:
current- the current to set
-
isCycle
public boolean isCycle()- Returns:
- the cycle
-
setCycle
public void setCycle(boolean cycle) - Parameters:
cycle- the cycle to set
-
getSerialVersionUID
public static long getSerialVersionUID()- Returns:
- the serialVersionUID
-