|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.database.field.FieldIncrementor
Used to obtain the "next value" of fields for which the auto-increment value is true
Method Summary | |
void |
clearValue(Field field)
Clears the next value for the incrementor, which will force the incrementor to read the database to get the most current value. |
Object |
getNextValue(Field pField)
Gets the next value of a field for which the auto-increment value is true. |
void |
setLastValue(Field pField,
Object pLastValue)
Sets the last value of a field for which the auto-increment value is true. |
void |
setNextValue(Field field,
Object nextValue)
Sets the next value of a field for which the auto-increment value is true. |
static IFieldIncrementor |
singleton()
Returns the singleton instance of this class |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void clearValue(Field field) throws CMException
clearValue
in interface IFieldIncrementor
CMException
public Object getNextValue(Field pField) throws CMException
getNextValue
in interface IFieldIncrementor
CMException
public void setLastValue(Field pField, Object pLastValue) throws CMException
setLastValue
in interface IFieldIncrementor
CMException
public void setNextValue(Field field, Object nextValue) throws CMException
setNextValue
in interface IFieldIncrementor
CMException
public static IFieldIncrementor singleton()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |