java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.converters.ConversionValueMetadata

public class ConversionValueMetadata extends ORMetadata
Object to hold onto conversion values. 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 1.0
  • Constructor Details

    • ConversionValueMetadata

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

      public ConversionValueMetadata(MetadataAnnotation conversionValue, 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
    • getDataValue

      public String getDataValue()
      INTERNAL: Used for OX mapping.
    • getObjectValue

      public String getObjectValue()
      INTERNAL: Used for OX mapping.
    • setDataValue

      public void setDataValue(String dataValue)
      INTERNAL: Used for OX mapping.
    • setObjectValue

      public void setObjectValue(String objectValue)
      INTERNAL: Used for OX mapping.