Class GeneratedValueMetadata


  • public class GeneratedValueMetadata
    extends ORMetadata
    Metadata object to hold generated value information. 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

      • GeneratedValueMetadata

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

      • equals

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

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

        public String getGenerator()
        INTERNAL: Used for OX mapping.
      • getStrategy

        public String getStrategy()
        INTERNAL: Used for OX mapping.
      • setGenerator

        public void setGenerator​(String generator)
        INTERNAL: Used for OX mapping.
      • setStrategy

        public void setStrategy​(String strategy)
        INTERNAL: Used for OX mapping.