Skip navigation links


oracle.iam.identity.vo
Interface Identity

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Organization, Organization, Proxy, Role, RoleCategory, User, User

public interface Identity
extends java.io.Serializable

Method Summary
 java.lang.Object getAttribute(java.lang.String attr)
          Get the value of the specified attribute attr.
 java.util.Set getAttributeNames()
          Provides a set of all the attribute names.
 java.util.HashMap getAttributes()
          Provides a map of all attribute-value pair of this identity.
 java.lang.String getEntityId()
          Provides GUID of the entity.
 void setAttribute(java.lang.String attr, java.lang.Object val)
          Adds the attribute attr and it's value val.
 java.lang.String toString()
          Returns the string representation of this Identity.

 

Method Detail

setAttribute

void setAttribute(java.lang.String attr,
                  java.lang.Object val)
Adds the attribute attr and it's value val.
Parameters:
attr - The attribute to be added.
val - The value of the attribute. This object must be serializable.

getAttribute

java.lang.Object getAttribute(java.lang.String attr)
Get the value of the specified attribute attr.
Parameters:
attr - The attribute whose value is to be returned.
Returns:
The value of the attribute. null if the attribute is not present.

getEntityId

java.lang.String getEntityId()
Provides GUID of the entity.
Returns:
GUID of the entity.

getAttributes

java.util.HashMap getAttributes()
Provides a map of all attribute-value pair of this identity.
Returns:
A map of all attribute-value pair of this identity.

getAttributeNames

java.util.Set getAttributeNames()
Provides a set of all the attribute names.
Returns:
A set of all the attribute names.

toString

java.lang.String toString()
Returns the string representation of this Identity.
Overrides:
toString in class java.lang.Object
Returns:
The string representation of this Identity.

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.