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

public class FetchAttributeMetadata extends ORMetadata
INTERNAL: Object to hold onto a fetch attribute metadata from 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
  • Field Details

    • m_name

      protected String m_name
  • Constructor Details

    • FetchAttributeMetadata

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

      public FetchAttributeMetadata(MetadataAnnotation fetchAttribute, 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
    • getName

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

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