|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.meta.FetchGroup
public class FetchGroup
Captures fetch group metadata.
Field Summary | |
---|---|
static int |
DEPTH_INFINITE
Infinite depth. |
static String |
NAME_ALL
Name of the "all" fetch group. |
static String |
NAME_DEFAULT
Name of the default fetch group. |
static int |
RECURSION_DEPTH_DEFAULT
Default field recursion depth. |
Method Summary | |
---|---|
boolean |
addContainedBy(FetchGroup parent)
Adds this receiver as one of the included fetch groups of the given parent. |
void |
addDeclaredInclude(String fgName)
Includes given fetch group within this receiver. |
boolean |
equals(Object other)
Affirms equality if the other has the same name and declaring type. |
Set |
getContainedBy()
Gets the name of the fetch groups in which this receiver has been included. |
String[] |
getDeclaredIncludes()
Return the fetch group names declared included by this group. |
int |
getDeclaredRecursionDepth(FieldMetaData fm)
Return the recursion depth declared for the given field, or 0 if none. |
FieldMetaData[] |
getDeclaredRecursionDepthFields()
Return the fields with declared recursion depths in this group. |
String |
getName()
Fetch group name. |
int |
getRecursionDepth(FieldMetaData fm)
Recursion depth for the given field. |
int |
hashCode()
|
boolean |
includes(String fgName,
boolean recurse)
Affirms if given fetch group is included by this receiver. |
boolean |
isPostLoad()
Whether loading this fetch group causes a post-load callback on the loaded instance. |
boolean |
isPostLoadExplicit()
Whether the post-load value is declared for this group. |
void |
resolve()
Resolve and validate fetch group metadata. |
void |
setPostLoad(boolean flag)
Whether loading this fetch group causes a post-load callback on the loaded instance. |
void |
setRecursionDepth(FieldMetaData fm,
int depth)
Recursion depth for the given field. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String NAME_DEFAULT
public static final String NAME_ALL
public static final int RECURSION_DEPTH_DEFAULT
public static final int DEPTH_INFINITE
Method Detail |
---|
public String getName()
public void addDeclaredInclude(String fgName)
public boolean includes(String fgName, boolean recurse)
recurse
- if true then recursively checks within the included
fecth groupspublic boolean addContainedBy(FetchGroup parent)
includes(String, boolean)
,
addDeclaredInclude(String)
public Set getContainedBy()
addContainedBy(FetchGroup)
public String[] getDeclaredIncludes()
public void setRecursionDepth(FieldMetaData fm, int depth)
public int getRecursionDepth(FieldMetaData fm)
public int getDeclaredRecursionDepth(FieldMetaData fm)
public FieldMetaData[] getDeclaredRecursionDepthFields()
public void setPostLoad(boolean flag)
public boolean isPostLoad()
public boolean isPostLoadExplicit()
public void resolve()
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation is deprecated and will be removed in the next release of WebLogic Server.