com.ibm.itim.dataservices.model.domain
Class ComplianceIssue

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.DirectoryEntry
        |
        +--com.ibm.itim.dataservices.model.DirectoryObject
              |
              +--com.ibm.itim.dataservices.model.domain.ComplianceIssue
All Implemented Interfaces:
com.ibm.itim.util.xml.objectstream.Importable, ProtectedObject, 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 Summary
static java.lang.String COMPLIANCE_ISSUE_IS_DISALLOWED
           
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE
 
Constructor Summary
ComplianceIssue()
          Constructs a disallowed compliance issue.
ComplianceIssue(AttributeChangeOperation operation)
          Constructs with full set of parameters.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Evaluates whether two ComplianceIssues are duplicates.
 java.util.Date getCreationDate()
          Returns the date the compliance issue was detected.
 AttributeChangeOperation getOperation()
          Returns the operation needed to resolve the compliance issue.
 boolean isDisallowed()
          Returns the date the compliance issue was detected.
 void setIsDisallowed(boolean isDisallowed)
          Sets the disallowed property of the compliance issue.
 void setOperation(AttributeChangeOperation operation)
          Changes the operation needed to resolve the compliance issue.
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject
addAttribute, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.

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.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.