org.datanucleus.jpa.annotations
Annotation Type FetchGroup


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface FetchGroup

Annotation for the fetch group of a class.


Required Element Summary
 FetchMember[] members
          Members (fields and properties) of the fetch group.
 
Optional Element Summary
 java.lang.String[] fetchGroups
          Fetch groups to be nested (included) in this fetch group.
 java.lang.String name
          Name of the fetch group.
 java.lang.String postLoad
          Whether we should load this group as part of the post load process.
 

Element Detail

members

public abstract FetchMember[] members
Members (fields and properties) of the fetch group.

Returns:
members for the fetch group

name

public abstract java.lang.String name
Name of the fetch group.

Returns:
the name of the fetch group
Default:
""

postLoad

public abstract java.lang.String postLoad
Whether we should load this group as part of the post load process.

Returns:
whether we should load this group as part of the post load process.
Default:
""

fetchGroups

public abstract java.lang.String[] fetchGroups
Fetch groups to be nested (included) in this fetch group.

Default:
{}


Copyright © 2011. All Rights Reserved.