Class QueryHintMetadata


  • public class QueryHintMetadata
    extends ORMetadata
    INTERNAL: Object to hold onto query hints metadata. Use this object to preserve information like multiples and order of specification. We lose that by using a java hash object directly. 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:
    TopLink EJB 3.0 Reference Implementation
    Author:
    Guy Pelletier
    • Constructor Detail

      • QueryHintMetadata

        public QueryHintMetadata()
        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
      • getName

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

        public java.lang.String getValue()
        INTERNAL: Used for OX mapping.
      • setName

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

        public void setValue​(java.lang.String value)
        INTERNAL: Used for OX mapping.