Class RetentionGovernanceClassification

  • All Implemented Interfaces:
    java.io.Serializable

    public class RetentionGovernanceClassification
    extends GovernanceClassificationBase
    RetentionGovernanceClassification defines the retention requirements for related data items.
    See Also:
    Serialized Form
    • Constructor Detail

      • RetentionGovernanceClassification

        public RetentionGovernanceClassification()
        Default constructor
      • RetentionGovernanceClassification

        public RetentionGovernanceClassification​(RetentionGovernanceClassification template)
        Copy/clone constructor.
        Parameters:
        template - object to copy
    • Method Detail

      • getRetentionBasis

        public int getRetentionBasis()
        Return a description of the factor used to set the archiveAfter and deleteAfter dates.
        Returns:
        int
      • setRetentionBasis

        public void setRetentionBasis​(int retentionBasis)
        Set up a description of the factor used to set the archiveAfter and deleteAfter dates.
        Parameters:
        retentionBasis - int
      • getAssociatedGUID

        public java.lang.String getAssociatedGUID()
        Return the unique identifier of the element used in deciding the archiveAfter and deleteAfter dates. For example if the retention basis is determined by the project lifetime, this identifier is the identifier of the associated project.
        Returns:
        string guid
      • setAssociatedGUID

        public void setAssociatedGUID​(java.lang.String associatedGUID)
        Set up the unique identifier of the element used in deciding the archiveAfter and deleteAfter dates. For example if the retention basis is determined by the project lifetime, this identifier is the identifier of the associated project.
        Parameters:
        associatedGUID - string guid
      • getArchiveAfter

        public java.util.Date getArchiveAfter()
        Return the date that this asset will be archived.
        Returns:
        date/timestamp
      • setArchiveAfter

        public void setArchiveAfter​(java.util.Date archiveAfter)
        Set up the date that this asset will be archived.
        Parameters:
        archiveAfter - date/timestamp
      • getDeleteAfter

        public java.util.Date getDeleteAfter()
        Return the date that this asset will be permanently deleted.
        Returns:
        date/timestamp
      • setDeleteAfter

        public void setDeleteAfter​(java.util.Date deleteAfter)
        Set up the date that this asset will be permanently deleted.
        Parameters:
        deleteAfter - date/timestamp
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class GovernanceClassificationBase
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class GovernanceClassificationBase
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison