Class CustomCopyPolicyMetadata


  • public class CustomCopyPolicyMetadata
    extends CopyPolicyMetadata
    Used to store information about CopyPolicy as it is read from XML or annotations 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.
    Author:
    tware
    See Also:
    CopyPolicy
    • Constructor Detail

      • CustomCopyPolicyMetadata

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

      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        INTERNAL:
        Overrides:
        equals in class CopyPolicyMetadata
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getCopyPolicy

        public org.eclipse.persistence.descriptors.copying.CopyPolicy getCopyPolicy()
        INTERNAL:
        Specified by:
        getCopyPolicy in class CopyPolicyMetadata
      • getCopyPolicyClassName

        public java.lang.String getCopyPolicyClassName()
        INTERNAL: Used for OX mapping.
      • setCopyPolicyClassName

        public void setCopyPolicyClassName​(java.lang.String copyPolicyClassName)
        INTERNAL: Used for OX mapping.