FileDocCategorySizeDatePackage
PersistenceCapable.javaAPI DocGlassfish v2 API4549Fri May 04 22:34:58 BST 2007com.sun.jdo.spi.persistence.support.sqlstore

PersistenceCapable

public interface PersistenceCapable implements com.sun.jdo.api.persistence.support.PersistenceCapable
Internal PersistenceCapable interface.

Fields Summary
Constructors Summary
Methods Summary
public voidjdoClear()
Clears the fields of each persistent field. This method stores zero or null values into each persistent field of the instance, in effect reverting it to its initial state. Clearing fields allows objects referred to by this instance to be garbage collected. The associated StateManager calls this method when transitioning an instance to the hollow state. This will normally be during post completion.

public java.lang.ObjectjdoGetField(int fieldNumber)
Returns the value of the specified field. Primitive valued fields are wrapped with the corresponding Object wrapper type.

public bytejdoGetFlags()
Returns the value of the JDO flags.

public StateManagerjdoGetStateManager()
Returns the associated state manager.

public java.lang.ObjectjdoNewInstance(StateManager statemanager)
Creates an instance of the same class as this object.

public voidjdoSetField(int fieldNumber, java.lang.Object value)
Sets the value of the specified field. Primitive valued fields are wrapped with the corresponding Object wrapper type.

public voidjdoSetFlags(byte flags)
Sets the value of the JDO flags, and returns the previous value.

public voidjdoSetStateManager(StateManager sm)
Sets the associated state manager.