public class VersionAccessor extends BasicAccessor
INTERNAL: A basic version accessor. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - any metadata mapped from XML to this class must be handled in the merge method. (merging is done at the accessor/mapping level) - any metadata mapped from XML to this class must be initialized in the initXMLObject method. - methods should be preserved in alphabetical order.
Since:
EclipseLink 1.0
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object objectToCompare)
      INTERNAL:
      Overrides:
      equals in class BasicAccessor
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BasicAccessor
    • isValidTimestampVersionLockingType

      protected boolean isValidTimestampVersionLockingType(MetadataClass cls)
      INTERNAL: Returns true if the given class is a valid timestamp locking type.
    • isValidVersionLockingType

      protected boolean isValidVersionLockingType(MetadataClass cls)
      INTERNAL: Returns true if the given class is a valid version locking type.
    • process

      public void process()
      INTERNAL: Process a version accessor.
      Overrides:
      process in class BasicAccessor