ObjectDB ObjectDB

getShortField(pc, field, currentValue) - JDO StateManager's method

Method
javax.jdo.spi.StateManager
short getShortField(
  PersistenceCapable pc,
  int field,
  short currentValue
)

Return the value for the field.
Parameters:
pc - the calling PersistenceCapable instance
field - the field number
currentValue - the current value of the field
Returns:
the new value for the field
Since:
JDO 1.0