com.ibm.itim.dataservices.model.domain

Class ComplianceIssue

  • All Implemented Interfaces:
    ProtectedObject, com.ibm.itim.util.Sortable, com.ibm.itim.util.xml.objectstream.Importable, java.io.Serializable


    public class ComplianceIssue
    extends DirectoryObject
    Represents a compliance issue, or policy violiation. The issue is defined by an operation that when executed will resolve the issue and the date the issue was detected.
    See Also:
    Serialized Form
    • Field Detail

      • COMPLIANCE_ISSUE_IS_DISALLOWED

        public static final java.lang.String COMPLIANCE_ISSUE_IS_DISALLOWED
        See Also:
        Constant Field Values
    • Constructor Detail

      • ComplianceIssue

        public ComplianceIssue(AttributeChangeOperation operation)
        Constructs with full set of parameters.
        Parameters:
        operation - AttributeChangeOperation holding the change to make to resolve the compliance issue.
      • ComplianceIssue

        public ComplianceIssue()
        Constructs a disallowed compliance issue. Must call setIsDisallowed() after construct the object to enable disallowed property.
    • Method Detail

      • getOperation

        public AttributeChangeOperation getOperation()
        Returns the operation needed to resolve the compliance issue. NULL if it's not an attribute compliance issue.
        Returns:
        AttributeChangeOperation holding the change to make to resolve the compliance issue.
      • setOperation

        public void setOperation(AttributeChangeOperation operation)
        Changes the operation needed to resolve the compliance issue.
        Parameters:
        operation - AttributeChangeOperation holding the change to make to resolve the compliance issue. IllegalArgumentException is thrown if data contain more than one AttributeValue object.
      • getCreationDate

        public java.util.Date getCreationDate()
        Returns the date the compliance issue was detected.
        Returns:
        Date holding the time the compliance issue was detected in GMT.
      • isDisallowed

        public boolean isDisallowed()
        Returns the date the compliance issue was detected.
        Returns:
        Date holding the time the compliance issue was detected in GMT.
      • setIsDisallowed

        public void setIsDisallowed(boolean isDisallowed)
        Sets the disallowed property of the compliance issue.
        Parameters:
        isDisallowed - true to enable the disallowed property.
      • getAccess

        public Access getAccess()
        Returns the access information related to the issue if applicable
        Returns:
        Access access information associated with the issue; null if it is not applicable
        Since:
        TIM 5.0
      • setAccess

        public void setAccess(Access access)
        Sets the access information related to the issue if applicable
        Since:
        TIM 5.0
      • equals

        public boolean equals(java.lang.Object obj)
        Evaluates whether two ComplianceIssues are duplicates. Duplicate compliance issues are defined as issues with the same operation or disallowed property.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - Object to compare to.