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.
See Also:
  • Constructor Details

    • CloneCopyPolicyMetadata

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

      public CloneCopyPolicyMetadata(MetadataAnnotation copyPolicy, MetadataAccessor accessor)
      INTERNAL: Used for annotation loading
  • Method Details

    • equals

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

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

      public CopyPolicy getCopyPolicy()
      INTERNAL:
      Specified by:
      getCopyPolicy in class CopyPolicyMetadata
    • getMethodName

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

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

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

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