|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.apps.provisioning.Compliance
public class 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 Form| Constructor 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()
AttributeChangespublic int getCompliance()
Account.COMPLIANT,
Account.CONSTRAINT_VIOLATION,
Account.UNAUTHORIZEDpublic void setRequiredChanges(AttributeChanges requiredChanges)
requiredChanges - The AttributeChanges object that would make
the account compliant.AttributeChangespublic 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.UNAUTHORIZEDpublic void setAttributeProperties(java.util.Map attributeProperties)
attributeProperties - AttributePropertypublic java.util.Map getAttributeProperties()
AttributePropertypublic java.lang.String toString()
toString in class java.lang.Objectpublic 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 | ||||||||||