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

java.lang.Object
  extended by com.ibm.itim.dataservices.model.DirectoryEntry
      extended by com.ibm.itim.dataservices.model.DirectoryObject
          extended by com.ibm.itim.dataservices.model.domain.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 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, ATTR_URI, DESCRIPTION, NAME
 
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
 
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.
 Access getAccess()
          Returns the access information related to the issue if applicable
 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 setAccess(Access access)
          Sets the access information related to the issue if applicable
 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, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, 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.

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.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.