net.ontopia.persistence.proxy
Class ObjectStates
java.lang.Object
net.ontopia.persistence.proxy.ObjectStates
public class ObjectStates
- extends java.lang.Object
INTERNAL: A data structure that keeps track of the objects that has
been touched within the transaction boundaries. The state of the
objects are also maintained.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATE_CREATED
public static final int STATE_CREATED
- See Also:
- Constant Field Values
STATE_DELETED
public static final int STATE_DELETED
- See Also:
- Constant Field Values
STATE_DIRTY
public static final int STATE_DIRTY
- See Also:
- Constant Field Values
STATE_READ
public static final int STATE_READ
- See Also:
- Constant Field Values
map
protected gnu.trove.TObjectIntHashMap map
clean
protected boolean clean
isClean
public boolean isClean()
size
public int size()
isClean
public boolean isClean(IdentityIF identity)
isCreated
public boolean isCreated(IdentityIF identity)
created
public void created(IdentityIF identity)
deleted
public void deleted(IdentityIF identity)
dirty
public void dirty(IdentityIF identity)
read
public void read(IdentityIF identity)
getState
public int getState(IdentityIF identity)
clear
public void clear()
forEachEntry
public void forEachEntry(gnu.trove.TObjectIntProcedure proc)
Copyright © 2000-2012 Ontopia.