Package javax.jdo.annotations
Annotation Type FetchGroup
-
@Target(TYPE) @Retention(RUNTIME) @Repeatable(FetchGroups.class) public @interface FetchGroup
Annotation for the fetch group of a class. Corresponds to the xml element "fetch-group".- Since:
- 2.1
- Version:
- 2.1
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Persistent[]membersMembers (fields and properties) of the fetch group.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]fetchGroupsFetch groups to be nested (included) in this fetch group.java.lang.StringnameName of the fetch group.java.lang.StringpostLoadWhether we should load this group as part of the post load process.
-
-
-
Element Detail
-
members
Persistent[] members
Members (fields and properties) of the fetch group. The members should contain only name and recursionDepth.- Returns:
- members for the fetch group
-
-