Annotation Type 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
    Members (fields and properties) of the fetch group.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Fetch groups to be nested (included) in this fetch group.
    Name of the fetch group.
    Whether we should load this group as part of the post load process.
  • Element Details

    • name

      String name
      Name of the fetch group.
      Returns:
      the name of the fetch group
      Default:
      ""
    • postLoad

      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:
      ""
    • 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
    • fetchGroups

      String[] fetchGroups
      Fetch groups to be nested (included) in this fetch group.
      Returns:
      The nested fetch groups in this fetch group
      Default:
      {}