java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.changetracking.ChangeTrackingMetadata

public class ChangeTrackingMetadata extends ORMetadata
Object to hold onto change tracking 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 1.0
  • Constructor Details

    • ChangeTrackingMetadata

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

      public ChangeTrackingMetadata(MetadataAnnotation changeTracking, 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
    • getType

      public String getType()
      INTERNAL: Used for OX mapping.
    • process

      public void process(MetadataDescriptor descriptor)
      INTERNAL:
    • setType

      public void setType(String type)
      INTERNAL: Used for OX mapping.