| java.lang.Object com.versant.core.jdo.DetachStateContainer
DetachStateContainer | public class DetachStateContainer (Code) | | This keeps track of State's, FetchGroup's, OID's and PCs for the detach
code. It provides a list of State's and FetchGroup's for a breadth first
traversal of a State graph. It also provides hashed access to the State
and PC for a given OID.
|
add | public int add(OID oid, State newState)(Code) | | Add a oid and state to the container. If this oid is allready in the
container we just copy the values from the new state into the container's
state.
The state can later be looked up in by using the oid.
|
contains | public boolean contains(OID oid)(Code) | | Do we have stuff for the oid?
|
getDetachCopy | public PersistenceCapable getDetachCopy(OID oid)(Code) | | |
getDetachCopy | public PersistenceCapable getDetachCopy(PersistenceCapable pc)(Code) | | |
getDetachCopy | public int getDetachCopy(Object[] objects, int count)(Code) | | |
getNextFetchGroup | public FetchGroup getNextFetchGroup()(Code) | | Get the fetch group.
|
getNextFetchGroupOID | public OID getNextFetchGroupOID()(Code) | | Get the OID for the current fetch group.
|
getNextFetchGroupState | public State getNextFetchGroupState()(Code) | | Get the state for the current fetch group.
|
getPC | public PersistenceCapable getPC(OID oid)(Code) | | Get the PC for the oid.
|
getState | public State getState(PersistenceCapable pc)(Code) | | |
hasNextFetchGroup | public boolean hasNextFetchGroup()(Code) | | Are there more FetchGroups to be processed?
|
|
|