Class AttributeGroup

  • All Implemented Interfaces:
    Serializable, Cloneable
    Direct Known Subclasses:
    CopyGroup, FetchGroup, LoadGroup

    public class AttributeGroup
    extends CoreAttributeGroup<AttributeItem,​ClassDescriptor>
    implements Serializable, Cloneable
    Purpose: An AttributeGroup represents a set of mappings and nested AttributeGroups for relationship mappings for an entity type. Responsibilities:
    • Defines which attributes should be fetched from the database within a FetchGroup.
    • Define which relationship attributes should be populated in a resulting entity graph within a LoadGroup
    • Define which attributes should be copied within a CopyGroup

    To reference nested attributes a dot ('.') notation is used to reference related attributes. All attribute names provided are assumed to be correct until processed against the mappings during usage of the group.

    Since:
    EclipseLink 2.1
    Author:
    ailitchev
    See Also:
    FetchGroup, LoadGroup, CopyGroup, Serialized Form