com.ibm.itim.dataservices.model.pim
Class SAEntitlementCredentialObject

java.lang.Object
  extended by com.ibm.itim.dataservices.model.pim.SAEntitlement
      extended by com.ibm.itim.dataservices.model.pim.SAEntitlementCredentialObject
All Implemented Interfaces:
java.io.Serializable

public class SAEntitlementCredentialObject
extends SAEntitlement

This class represents an shared access policy entitlement with a specific credential or crdential pool.

Since:
6.0
See Also:
SharedAccessPolicy, SAEntitlement, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.itim.dataservices.model.pim.SAEntitlement
SAEntitlement.DefinitionType, SAEntitlement.Type
 
Field Summary
 
Fields inherited from class com.ibm.itim.dataservices.model.pim.SAEntitlement
ID_NOT_ASSIGNED
 
Constructor Summary
SAEntitlementCredentialObject(SAEntitlement.Type type, DistinguishedName dn)
          Constructor for creating an entitlement with a credential or credential pool.
 
Method Summary
 boolean equals(java.lang.Object entitlement)
          Compares the object passed in with itself.
 DistinguishedName getTargetDN()
          Return the distinguished name of the target.
 int hashCode()
          Returns a hash value that can be used in hash tables.
 void setTargetDN(DistinguishedName dn)
          Set the distinguished name of the target.
 
Methods inherited from class com.ibm.itim.dataservices.model.pim.SAEntitlement
getDefinitionType, getId, getName, getServiceName, getServiceProfileName, getServiceTag, getTargetName, getType, setType
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAEntitlementCredentialObject

public SAEntitlementCredentialObject(SAEntitlement.Type type,
                                     DistinguishedName dn)
Constructor for creating an entitlement with a credential or credential pool.

Parameters:
type - Enumerated Type value which can be Type.CREDENTIAL, or Type.CREDENTIAL_POOL
dn - The distinguished name of a credential or credential pool .
Method Detail

setTargetDN

public void setTargetDN(DistinguishedName dn)
Set the distinguished name of the target.

Parameters:
dn - The distinguished name of a credential or credential pool.

getTargetDN

public DistinguishedName getTargetDN()
Return the distinguished name of the target.

Returns:
the distinguished name of the credential or credential pool.

equals

public boolean equals(java.lang.Object entitlement)
Compares the object passed in with itself.

Overrides:
equals in class java.lang.Object
Parameters:
entitlement - The object to be compared
Returns:
true if the passing object is the same as self, false otherwise

hashCode

public int hashCode()
Returns a hash value that can be used in hash tables.

Overrides:
hashCode in class java.lang.Object
Returns:
Hash value for the distinguished name.


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.