|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.state.FetchPlanState
Holder for the state control for FetchPlan processing. Maintains a list of the types of the objects being fetched. The first item in the List will be the root item. When a new branch of the graph of processed an object type is added, and is removed when it is processed. This provides a means of always knowing the depth in the current graph, and also of allowing detection of recursion of object types.
Field Summary | |
protected java.util.List |
objectGraphTypes
List of object types in the graph. |
Constructor Summary | |
FetchPlanState()
|
Method Summary | |
void |
addObjectType(java.lang.String type)
Method to add an object type to the list since it is being processed |
int |
getObjectDepthForType(java.lang.String type)
Accessor for the current depth for the specified type |
int |
getObjectGraphDepth()
Accessor for the object graph depth currently |
void |
removeLatestObjectType()
Method to remove the latest object type in the list since it is now processed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.List objectGraphTypes
Constructor Detail |
public FetchPlanState()
Method Detail |
public void addObjectType(java.lang.String type)
type
- The type to addpublic void removeLatestObjectType()
public int getObjectGraphDepth()
public int getObjectDepthForType(java.lang.String type)
type
- The type
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |