|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.provisioning.Compliance
This class holds the information about the account compliance status, the required attribute changes to make the account compliant, and the attribute properties for the non-compliant attributes.
AttributeProperty
,
Serialized FormConstructor Summary | |
---|---|
Compliance()
Constructs the default compliance object. |
|
Compliance(int compliance,
AttributeChanges requiredChanges)
Constructs the compliance object with the compliance status and the required attribute changes information if the account is not compliant. |
Method Summary | |
---|---|
java.util.Map |
getAttributeProperties()
Gets the map of attribute name and AttributeProperty objects. |
int |
getCompliance()
Gets the complianace status. |
AttributeChanges |
getRequiredChanges()
Gets the required AttributeChanges that would make the account compliant. |
java.lang.String |
requiredChangesToString(AttributeValues originalAttrVals)
Returns the string representation of the required attribute changes to make the account compliant. |
void |
setAttributeProperties(java.util.Map attributeProperties)
Sets the map of attribute name and AttributeProperty objects. |
void |
setCompliance(int compliance)
Sets the account compliance status. |
void |
setRequiredChanges(AttributeChanges requiredChanges)
Sets the required changes to make the account compliant. |
java.lang.String |
toString()
Returns the string representaion of this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Compliance()
Account.COMPLIANT
public Compliance(int compliance, AttributeChanges requiredChanges)
compliance
- The account compliance status. It can be
Account.COMPLIANT, Account.CONSTRAINT_VIOLATION, OR
Account.UNAUTHORIZEDrequiredChanges
- The AttributeChanges object that would make
the account compliant.Account.COMPLIANT
,
Account.CONSTRAINT_VIOLATION
,
Account.UNAUTHORIZED
,
AttributeChanges
Method Detail |
public AttributeChanges getRequiredChanges()
AttributeChanges
public int getCompliance()
Account.COMPLIANT
,
Account.CONSTRAINT_VIOLATION
,
Account.UNAUTHORIZED
public void setRequiredChanges(AttributeChanges requiredChanges)
requiredChanges
- The AttributeChanges object that would make
the account compliant.AttributeChanges
public void setCompliance(int compliance)
compliance
- The compliance status. It can be
Account.COMPLIANT, Account.CONSTRAINT_VIOLATION, OR
Account.UNAUTHORIZED
java.lang.IllegalArgumentException
- if the compliance value is not valid.Account.COMPLIANT
,
Account.CONSTRAINT_VIOLATION
,
Account.UNAUTHORIZED
public void setAttributeProperties(java.util.Map attributeProperties)
attributeProperties
- AttributeProperty
public java.util.Map getAttributeProperties()
AttributeProperty
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String requiredChangesToString(AttributeValues originalAttrVals)
originalAttrVals
- The origianl attribute values of the account.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |