public class FetchPlanForClass extends Object
| Constructor and Description |
|---|
FetchPlanForClass(AbstractClassMetaData cmd,
FetchPlan fetchPlan)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractClassMetaData |
getAbstractClassMetaData()
Accessor for the MetaData for this classes plan.
|
FetchPlan |
getFetchPlan()
Accessor for the FetchPlan that this classes plan relates to.
|
int |
getMaxRecursionDepthForMember(int memberNum)
Method to return the effective depth of this member number in the overall fetch plan.
|
int[] |
getMemberNumbers()
Get the absolute numbers of the members in the fetch plan for this class.
|
BitSet |
getMemberNumbersByBitSet()
Get all members (of this class, and superclasses) in the fetch plan.
|
boolean |
hasMember(int memberNumber)
Return whether the specified field/property is in the fetch plan
|
boolean |
isToCallPostLoadFetchPlan(boolean[] loadedMembers)
Whether to call the post load or not.
|
String |
toString() |
public FetchPlanForClass(AbstractClassMetaData cmd, FetchPlan fetchPlan)
cmd - MetaData for the classfetchPlan - the FetchPlanpublic final FetchPlan getFetchPlan()
public final AbstractClassMetaData getAbstractClassMetaData()
public int getMaxRecursionDepthForMember(int memberNum)
memberNum - Number of member in this classpublic boolean hasMember(int memberNumber)
memberNumber - The member numberpublic int[] getMemberNumbers()
public BitSet getMemberNumbersByBitSet()
public boolean isToCallPostLoadFetchPlan(boolean[] loadedMembers)
loadedMembers - already loaded membersCopyright © 2017. All rights reserved.