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

Method
javax.jdo.spi.StateManager
void setShortField(
  PersistenceCapable pc,
  int field,
  short currentValue,
  short newValue
)

Mark the field as modified by the user.
Parameters:
pc - the calling PersistenceCapable instance
field - the field number
currentValue - the current value of the field
newValue - the proposed new value of the field
Since:
JDO 1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.