planetj.database.field
Interface IFieldIncrementor

All Known Implementing Classes:
FieldIncrementor

public interface IFieldIncrementor

Insert the type's description here. Creation date: (2/5/2003 11:51:02 AM)


Method Summary
 void clearValue(Field field)
          Clears the incrementors 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 pField, Object pNextValue)
          Sets the next value of a field for which the auto-increment value is true.
 

Method Detail

getNextValue

public Object getNextValue(Field pField)
                    throws CMException
Gets the next value of a field for which the auto-increment value is true. Currently fields containing the following types of values can be incremented:

CMException

setLastValue

public void setLastValue(Field pField,
                         Object pLastValue)
                  throws CMException
Sets the last value of a field for which the auto-increment value is true. (The next value will be one more than the value passed in). Currently fields containing the following types of values can be incremented:
This method is invoked by the DataEngine - it should not be necessary for DataEngine users to invoke this method.

CMException

setNextValue

public void setNextValue(Field pField,
                         Object pNextValue)
                  throws CMException
Sets the next value of a field for which the auto-increment value is true. Currently fields containing the following types of values can be incremented:
This method is invoked by the DataEngine - it should not be necessary for DataEngine users to invoke this method.

CMException

clearValue

public void clearValue(Field field)
                throws CMException
Clears the incrementors value.

CMException