Class CloneCopyPolicyMetadata


  • public class CloneCopyPolicyMetadata
    extends CopyPolicyMetadata
    INTERNAL: Used to store information about CloneCopyPolicy 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:
    CloneCopyPolicy
    • Constructor Detail

      • CloneCopyPolicyMetadata

        public CloneCopyPolicyMetadata()
        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
      • getMethodName

        public java.lang.String getMethodName()
        INTERNAL: Used for OX mapping.
      • getWorkingCopyMethodName

        public java.lang.String getWorkingCopyMethodName()
        INTERNAL: Used for OX mapping.
      • setMethodName

        public void setMethodName​(java.lang.String methodName)
        INTERNAL: Used for OX mapping.
      • setWorkingCopyMethodName

        public void setWorkingCopyMethodName​(java.lang.String workingCopyMethodName)
        INTERNAL: Used for OX mapping.