|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jpalm.mobiledb.field.definition.SequenceDefinition
public class SequenceDefinition
A sequence field in a MobileDB record.
Use Number
with this field.
Constructor Summary | |
---|---|
SequenceDefinition()
Creates a new sequence type with an initial value of 1 and an increment of 1. |
|
SequenceDefinition(java.lang.Byte initialValue,
java.lang.Byte increment)
Creates a new sequence type. |
|
SequenceDefinition(java.lang.Double initialValue,
java.lang.Double increment)
Creates a new sequence type. |
|
SequenceDefinition(java.lang.Float initialValue,
java.lang.Float increment)
Creates a new sequence type. |
|
SequenceDefinition(java.lang.Integer initialValue,
java.lang.Integer increment)
Creates a new sequence type. |
|
SequenceDefinition(java.lang.Long initialValue,
java.lang.Long increment)
Creates a new sequence type. |
|
SequenceDefinition(java.lang.Short initialValue,
java.lang.Short increment)
Creates a new sequence type. |
|
SequenceDefinition(java.lang.String indicator)
Creates a new sequence type from the string representation for this type. |
Method Summary | |
---|---|
java.lang.Double |
getIncrement()
Gets the increment. |
java.lang.String |
getIndicator()
Gets the string representation for this definition. |
java.lang.Double |
getInitialValue()
Gets the initial value. |
java.lang.String |
getRegex()
Gets the regular expression for this definition. |
void |
setIncrement(java.lang.Byte increment)
Sets the increment. |
void |
setIncrement(java.lang.Double increment)
Sets the increment. |
void |
setIncrement(java.lang.Float increment)
Sets the increment. |
void |
setIncrement(java.lang.Integer increment)
Sets the increment. |
void |
setIncrement(java.lang.Long increment)
Sets the increment. |
void |
setIncrement(java.lang.Short increment)
Sets the increment. |
void |
setInitialValue(java.lang.Byte initialValue)
Sets the initial value. |
void |
setInitialValue(java.lang.Double initialValue)
Sets the initial value. |
void |
setInitialValue(java.lang.Float initialValue)
Sets the initial value. |
void |
setInitialValue(java.lang.Integer initialValue)
Sets the initial value. |
void |
setInitialValue(java.lang.Long initialValue)
Sets the initial value. |
void |
setInitialValue(java.lang.Short initialValue)
Sets the initial value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequenceDefinition()
public SequenceDefinition(java.lang.Float initialValue, java.lang.Float increment)
initialValue
- the initial valueincrement
- the incrementpublic SequenceDefinition(java.lang.Double initialValue, java.lang.Double increment)
initialValue
- the initial valueincrement
- the incrementpublic SequenceDefinition(java.lang.Byte initialValue, java.lang.Byte increment)
initialValue
- the initial valueincrement
- the incrementpublic SequenceDefinition(java.lang.Short initialValue, java.lang.Short increment)
initialValue
- the initial valueincrement
- the incrementpublic SequenceDefinition(java.lang.Integer initialValue, java.lang.Integer increment)
initialValue
- the initial valueincrement
- the incrementpublic SequenceDefinition(java.lang.Long initialValue, java.lang.Long increment)
initialValue
- the initial valueincrement
- the incrementpublic SequenceDefinition(java.lang.String indicator)
indicator
- the string representationMethod Detail |
---|
public java.lang.String getIndicator()
Definition
getIndicator
in interface Definition
public java.lang.String getRegex()
Definition
getRegex
in interface Definition
public java.lang.Double getIncrement()
public void setIncrement(java.lang.Double increment)
increment
- the incrementpublic void setIncrement(java.lang.Float increment)
increment
- the incrementpublic void setIncrement(java.lang.Byte increment)
increment
- the incrementpublic void setIncrement(java.lang.Short increment)
increment
- the incrementpublic void setIncrement(java.lang.Integer increment)
increment
- the incrementpublic void setIncrement(java.lang.Long increment)
increment
- the incrementpublic java.lang.Double getInitialValue()
public void setInitialValue(java.lang.Double initialValue)
initialValue
- the initial valuepublic void setInitialValue(java.lang.Float initialValue)
initialValue
- the initial valuepublic void setInitialValue(java.lang.Byte initialValue)
initialValue
- the initial valuepublic void setInitialValue(java.lang.Short initialValue)
initialValue
- the initial valuepublic void setInitialValue(java.lang.Integer initialValue)
initialValue
- the initial valuepublic void setInitialValue(java.lang.Long initialValue)
initialValue
- the initial value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |