| java.lang.Object org.xorm.ObjectState org.xorm.StateManagerImpl
StateManagerImpl | final public class StateManagerImpl extends ObjectState implements StateManager(Code) | | A single instance of StateManagerImpl tracks the state of a
non-interface JDO PersistenceCapable object.
The StateManager is not needed for instances of InterfaceInvocationHandler,
which don't completely follow the JDO spec at present.
|
Method Summary | |
static StateManagerImpl | forPersistenceCapable(PersistenceCapable pc, PersistenceManager mgr) | public boolean | getBooleanField(PersistenceCapable pc, int field, boolean currentValue) | public byte | getByteField(PersistenceCapable pc, int field, byte currentValue) | public char | getCharField(PersistenceCapable pc, int field, char currentValue) | public double | getDoubleField(PersistenceCapable pc, int field, double currentValue) | public float | getFloatField(PersistenceCapable pc, int field, float currentValue) | public int | getIntField(PersistenceCapable pc, int field, int currentValue) | public long | getLongField(PersistenceCapable pc, int field, long currentValue) | public Object | getObjectField(PersistenceCapable pc, int field, Object currentValue) | public Object | getObjectId(PersistenceCapable pc) | public PersistenceManager | getPersistenceManager(PersistenceCapable pc) | public short | getShortField(PersistenceCapable pc, int field, short currentValue) | public String | getStringField(PersistenceCapable pc, int field, String currentValue) | public Object | getTransactionalObjectId(PersistenceCapable pc) | public boolean | isDeleted(PersistenceCapable pc) | public boolean | isDirty(PersistenceCapable pc) | public boolean | isLoaded(PersistenceCapable pc, int field) | public boolean | isNew(PersistenceCapable pc) | public boolean | isPersistent(PersistenceCapable pc) | public boolean | isTransactional(PersistenceCapable pc) | public void | makeDirty(PersistenceCapable pc, String fieldName) | public void | preSerialize(PersistenceCapable pc) Ensures all fields are loaded from the datastore. | public void | providedBooleanField(PersistenceCapable pc, int field, boolean currentValue) | public void | providedByteField(PersistenceCapable pc, int field, byte currentValue) | public void | providedCharField(PersistenceCapable pc, int field, char currentValue) | public void | providedDoubleField(PersistenceCapable pc, int field, double currentValue) | public void | providedFloatField(PersistenceCapable pc, int field, float currentValue) | public void | providedIntField(PersistenceCapable pc, int field, int currentValue) | public void | providedLongField(PersistenceCapable pc, int field, long currentValue) | public void | providedObjectField(PersistenceCapable pc, int field, Object currentValue) | public void | providedShortField(PersistenceCapable pc, int field, short currentValue) | public void | providedStringField(PersistenceCapable pc, int field, String currentValue) | public boolean | replacingBooleanField(PersistenceCapable pc, int field) | public byte | replacingByteField(PersistenceCapable pc, int field) | public char | replacingCharField(PersistenceCapable pc, int field) | public double | replacingDoubleField(PersistenceCapable pc, int field) | public byte | replacingFlags(PersistenceCapable pc) | public float | replacingFloatField(PersistenceCapable pc, int field) | public int | replacingIntField(PersistenceCapable pc, int field) | public long | replacingLongField(PersistenceCapable pc, int field) | public Object | replacingObjectField(PersistenceCapable pc, int field) | public short | replacingShortField(PersistenceCapable pc, int field) | public StateManager | replacingStateManager(PersistenceCapable pc, StateManager sm) | public String | replacingStringField(PersistenceCapable pc, int field) | public void | setBooleanField(PersistenceCapable pc, int field, boolean currentValue, boolean newValue) | public void | setByteField(PersistenceCapable pc, int field, byte currentValue, byte newValue) | public void | setCharField(PersistenceCapable pc, int field, char currentValue, char newValue) | public void | setDoubleField(PersistenceCapable pc, int field, double currentValue, double newValue) | public void | setFloatField(PersistenceCapable pc, int field, float currentValue, float newValue) | public void | setIntField(PersistenceCapable pc, int field, int currentValue, int newValue) | public void | setLongField(PersistenceCapable pc, int field, long currentValue, long newValue) | public void | setObjectField(PersistenceCapable pc, int field, Object currentValue, Object newValue) | public void | setShortField(PersistenceCapable pc, int field, short currentValue, short newValue) | public void | setStringField(PersistenceCapable pc, int field, String currentValue, String newValue) |
forPersistenceCapable | static StateManagerImpl forPersistenceCapable(PersistenceCapable pc, PersistenceManager mgr)(Code) | | |
getBooleanField | public boolean getBooleanField(PersistenceCapable pc, int field, boolean currentValue)(Code) | | |
getByteField | public byte getByteField(PersistenceCapable pc, int field, byte currentValue)(Code) | | |
getCharField | public char getCharField(PersistenceCapable pc, int field, char currentValue)(Code) | | |
getDoubleField | public double getDoubleField(PersistenceCapable pc, int field, double currentValue)(Code) | | |
getFloatField | public float getFloatField(PersistenceCapable pc, int field, float currentValue)(Code) | | |
getIntField | public int getIntField(PersistenceCapable pc, int field, int currentValue)(Code) | | |
getLongField | public long getLongField(PersistenceCapable pc, int field, long currentValue)(Code) | | |
getObjectField | public Object getObjectField(PersistenceCapable pc, int field, Object currentValue)(Code) | | |
getObjectId | public Object getObjectId(PersistenceCapable pc)(Code) | | |
getPersistenceManager | public PersistenceManager getPersistenceManager(PersistenceCapable pc)(Code) | | |
getShortField | public short getShortField(PersistenceCapable pc, int field, short currentValue)(Code) | | |
getStringField | public String getStringField(PersistenceCapable pc, int field, String currentValue)(Code) | | |
getTransactionalObjectId | public Object getTransactionalObjectId(PersistenceCapable pc)(Code) | | |
isDeleted | public boolean isDeleted(PersistenceCapable pc)(Code) | | |
isDirty | public boolean isDirty(PersistenceCapable pc)(Code) | | |
isLoaded | public boolean isLoaded(PersistenceCapable pc, int field)(Code) | | |
isNew | public boolean isNew(PersistenceCapable pc)(Code) | | |
isPersistent | public boolean isPersistent(PersistenceCapable pc)(Code) | | |
isTransactional | public boolean isTransactional(PersistenceCapable pc)(Code) | | |
makeDirty | public void makeDirty(PersistenceCapable pc, String fieldName)(Code) | | |
preSerialize | public void preSerialize(PersistenceCapable pc)(Code) | | Ensures all fields are loaded from the datastore.
|
providedBooleanField | public void providedBooleanField(PersistenceCapable pc, int field, boolean currentValue)(Code) | | |
providedByteField | public void providedByteField(PersistenceCapable pc, int field, byte currentValue)(Code) | | |
providedCharField | public void providedCharField(PersistenceCapable pc, int field, char currentValue)(Code) | | |
providedDoubleField | public void providedDoubleField(PersistenceCapable pc, int field, double currentValue)(Code) | | |
providedFloatField | public void providedFloatField(PersistenceCapable pc, int field, float currentValue)(Code) | | |
providedIntField | public void providedIntField(PersistenceCapable pc, int field, int currentValue)(Code) | | |
providedLongField | public void providedLongField(PersistenceCapable pc, int field, long currentValue)(Code) | | |
providedObjectField | public void providedObjectField(PersistenceCapable pc, int field, Object currentValue)(Code) | | |
providedShortField | public void providedShortField(PersistenceCapable pc, int field, short currentValue)(Code) | | |
providedStringField | public void providedStringField(PersistenceCapable pc, int field, String currentValue)(Code) | | |
replacingBooleanField | public boolean replacingBooleanField(PersistenceCapable pc, int field)(Code) | | |
replacingByteField | public byte replacingByteField(PersistenceCapable pc, int field)(Code) | | |
replacingCharField | public char replacingCharField(PersistenceCapable pc, int field)(Code) | | |
replacingDoubleField | public double replacingDoubleField(PersistenceCapable pc, int field)(Code) | | |
replacingFlags | public byte replacingFlags(PersistenceCapable pc)(Code) | | |
replacingFloatField | public float replacingFloatField(PersistenceCapable pc, int field)(Code) | | |
replacingIntField | public int replacingIntField(PersistenceCapable pc, int field)(Code) | | |
replacingLongField | public long replacingLongField(PersistenceCapable pc, int field)(Code) | | |
replacingObjectField | public Object replacingObjectField(PersistenceCapable pc, int field)(Code) | | |
replacingShortField | public short replacingShortField(PersistenceCapable pc, int field)(Code) | | |
replacingStateManager | public StateManager replacingStateManager(PersistenceCapable pc, StateManager sm)(Code) | | |
replacingStringField | public String replacingStringField(PersistenceCapable pc, int field)(Code) | | |
setBooleanField | public void setBooleanField(PersistenceCapable pc, int field, boolean currentValue, boolean newValue)(Code) | | |
setByteField | public void setByteField(PersistenceCapable pc, int field, byte currentValue, byte newValue)(Code) | | |
setCharField | public void setCharField(PersistenceCapable pc, int field, char currentValue, char newValue)(Code) | | |
setDoubleField | public void setDoubleField(PersistenceCapable pc, int field, double currentValue, double newValue)(Code) | | |
setFloatField | public void setFloatField(PersistenceCapable pc, int field, float currentValue, float newValue)(Code) | | |
setIntField | public void setIntField(PersistenceCapable pc, int field, int currentValue, int newValue)(Code) | | |
setLongField | public void setLongField(PersistenceCapable pc, int field, long currentValue, long newValue)(Code) | | |
setObjectField | public void setObjectField(PersistenceCapable pc, int field, Object currentValue, Object newValue)(Code) | | |
setShortField | public void setShortField(PersistenceCapable pc, int field, short currentValue, short newValue)(Code) | | |
setStringField | public void setStringField(PersistenceCapable pc, int field, String currentValue, String newValue)(Code) | | |
|
|