Field Summary |
|
final public static String | ALL_COLS_NAME This is the fetchGroup to load all columns in the class table. |
final public static String | DEL_NAME This is the name reserved for the fetch group containing all the
direct references and dependent fields. |
final public static String | DEP_NAME This is the name reserved for the fetch group containing all the
depedent reference and collection fields for delete reachability
searching. |
final public static String | DETAIL_NAME This is the name reserved for the fetch group containing all the
reference fields used to complete one-to-many relationships. |
final public static String | DFG_NAME This is the name reserved for the default fetch group. |
final public static String | DFG_NAME_NO_FAKES This is the name reserved for the default fetch group without fake fields. |
final public static FetchGroupField[] | EMPTY_FETCHGROUP_FIELDS |
final public static int[] | EMPTY_INT_ARRAY |
final public static String | MANY_TO_MANY_NAME This is the name reserved for the fetch group containing all the
many-to-many fields that must be cleared when deleting an instance. |
final public static String | REF_NAME This is the name reserved for the fetch group containing all the
reference and collection fields for reachability searching. |
final public static String | REQ_NAME This is the name reserved for the fetch group containing all the
fields that must be filled in the original state (e.g. |
final public static String | RETRIEVE_NAME This is the fetchGroup to load all data. |
public ClassMetaData | classMetaData The class this group belongs to. |
public FetchGroupField | crossJoinedCollectionField This is a fgf for a jdbc collection field that must be cross joined. |
public JdoExtension | extension The parsed meta data for this group (null if none i.e. |
public FetchGroupField[] | fields The fields in this group in fieldNo order. |
public boolean | hasPrimaryFields |
public int | index Our index in our classes fetchGroups array. |
public int | jdbcTotalCols The total number of main table columns in the fetch group. |
public String | name The name of this group. |
public boolean | sendFieldsOnFetch Send any available State data for the instance being fetched along
with the fetch call. |
public int[] | stateFieldNos The state field no's of the fetchGroup. |
public transient StoreFetchGroup | storeFetchGroup Extra store specific info attached to this fetch group. |
public FetchGroup[] | subFetchGroups The sub fetch groups from our subclasses or null if none. |
public FetchGroup | superFetchGroup The corresponding fetch group from our superclass or null if none. |
Method Summary |
|
public void | add(FieldMetaData fmd) Add a field to this group. |
public boolean | canUseParallelFetch() Can this fetch group make use of parallel fetching of collections
and maps? This will recursively check fetch groups we reference
and so on. |
public int | compareTo(Object o) Sort by name except for the default fetch group which is always first. |
public boolean | contains(FieldMetaData fmd) |
public void | dump() |
public void | dump(PrintStream out, String indent) |
public void | finish() Finish initialization of this fetch group. |
public int | getStateIndex() Get the state fetch group index of this group. |
public boolean | hasPrimaryFields(boolean nonFake) Does this fetch group or any of its sub fetch groups contain any
fields with primaryField true? This will search the heirachy i.e.
it does not check the hasPrimaryFields flag. |
public boolean | hasSecondaryFields() |
public boolean | isRefFG() |
public FetchGroup | resolve(OID oid, ModelMetaData jmd) Make sure this fetchGroup is for the available class of OID or one
of its superclasses. |
public FetchGroup | resolve(ClassMetaData availableCmd) Returns the most derived usable group i.e. |
public void | setHasPrimaryFields(boolean on) Set the hasPrimaryFields flag on us and all of our sub fetch groups
recursively. |
public void | setSendFieldsOnFetch(boolean on) Set the sendFieldsOnFetch flag for us and all of our sub
fetch groups recursively. |
public String | toString() |