Class 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
    Author:
    Guy Pelletier
    • Constructor Detail

      • FetchGroupMetadata

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

      • equals

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

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

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

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

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

        public void process​(ClassAccessor accessor)
        INTERNAL:
      • setFetchAttributes

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

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

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