java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.FetchGroupMetadata

public class FetchGroupMetadata extends ORMetadata
INTERNAL: Object to hold onto a named fetch group metadata. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - when loading from annotations, the constructor accepts the metadata accessor this metadata was loaded from. Used it to look up any 'companion' annotation needed for processing. - methods should be preserved in alphabetical order.
Since:
EclipseLink 2.1
  • Constructor Details

    • FetchGroupMetadata

      public FetchGroupMetadata()
      INTERNAL: Used for XML loading.
    • FetchGroupMetadata

      public FetchGroupMetadata(MetadataAnnotation fetchGroup, MetadataAccessor accessor)
      INTERNAL: Used for annotation loading.
  • Method Details

    • equals

      public boolean equals(Object objectToCompare)
      INTERNAL:
      Specified by:
      equals in class ORMetadata
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getFetchAttributes

      public List<FetchAttributeMetadata> getFetchAttributes()
      INTERNAL: Used for OX mapping.
    • getLoad

      public Boolean getLoad()
      INTERNAL: Used for OX mapping.
    • getName

      public String getName()
      INTERNAL: Used for OX mapping.
    • process

      public void process(ClassAccessor accessor)
      INTERNAL:
    • setFetchAttributes

      public void setFetchAttributes(List<FetchAttributeMetadata> attributes)
      INTERNAL: Used for OX mapping.
    • setLoad

      public void setLoad(Boolean load)
      INTERNAL: Used for OX mapping.
    • setName

      public void setName(String name)
      INTERNAL: Used for OX mapping.