com.ibm.itim.apps.workflow
Class ImpactReason

java.lang.Object
  extended by com.ibm.itim.apps.workflow.ImpactReason
All Implemented Interfaces:
java.io.Serializable

public class ImpactReason
extends java.lang.Object
implements java.io.Serializable

The ImpactReason class contains the details about why an individual object was impacted by the completion of a workflow assignment. Each instances holds the type of impact and any objects supporting that type.

There are three types of impacts in the ImpactType enumeration:

For EXPLICITLY_REJECTED_BY_USER there are not supporting objects included. For IMPLIED_BY_ACCOUNT_REJECTION, the relevant Account object is included. For IMPLIED_BY_ROLE_REJECTION, the relevant Role objects are included as supporting data.

See Also:
UserRecertificationCompletionImpact.getAccountImpactList(), ImpactItem, Serialized Form

Nested Class Summary
static class ImpactReason.ImpactType
           
 
Constructor Summary
ImpactReason(ImpactReason.ImpactType type)
          Constructs an ImpactReason with the specified ImpactType, and no supporting data objects.
ImpactReason(ImpactReason.ImpactType type, java.util.List supportingObjects)
          Constructs an ImpactReason with the specified ImpactType and List of supporting data objects.
ImpactReason(ImpactReason.ImpactType type, java.lang.Object supportingObject)
          Constructs an ImpactReason with the specified ImpactType and a single supporting data object.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares the values in the reason.
 java.util.List getSupportingObjects()
          Returns the List of supporting data Objects for this object.
 ImpactReason.ImpactType getType()
          Returns the ImpactType for this object.
 int hashCode()
          Returns the hash code for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImpactReason

public ImpactReason(ImpactReason.ImpactType type)
Constructs an ImpactReason with the specified ImpactType, and no supporting data objects.

Parameters:
type - the ImpactType

ImpactReason

public ImpactReason(ImpactReason.ImpactType type,
                    java.util.List supportingObjects)
Constructs an ImpactReason with the specified ImpactType and List of supporting data objects.

Parameters:
type - the ImpactType
supportingObjects - the List of supporting Objects

ImpactReason

public ImpactReason(ImpactReason.ImpactType type,
                    java.lang.Object supportingObject)
Constructs an ImpactReason with the specified ImpactType and a single supporting data object.

Parameters:
type - the ImpactType
supportingObject - the supporting Object
Method Detail

getType

public ImpactReason.ImpactType getType()
Returns the ImpactType for this object.

Returns:
the ImpactType

getSupportingObjects

public java.util.List getSupportingObjects()
Returns the List of supporting data Objects for this object.

Returns:
List of supporting Objects

hashCode

public int hashCode()
Returns the hash code for this object.

Overrides:
hashCode in class java.lang.Object
Returns:
an integer hash code

equals

public boolean equals(java.lang.Object o)
Compares the values in the reason.

Overrides:
equals in class java.lang.Object
Parameters:
o - the ImpactReason to compare to this one
Returns:
true if this object's values are identical to o


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.