Skip navigation links


oracle.iam.identity.usermgmt.vo
Class Proxy

java.lang.Object
  extended by oracle.iam.identity.usermgmt.vo.Proxy

All Implemented Interfaces:
java.io.Serializable, Identity

public class Proxy
extends java.lang.Object
implements Identity
See Also:
Serialized Form

Constructor Summary
Proxy(java.lang.String entityId)
          Constructs a proxy object with GUID entityId.
Proxy(java.lang.String entityId, java.util.HashMap attrs)
          Constructs a proxy object with GUID entityId and a map of attribute name-value pair.

 

Method Summary
 java.lang.Object getAttribute(java.lang.String attr)
          Get the value of the specified proxy attribute name.
 java.util.Set getAttributeNames()
          Provides a set of all the proxy user attribute names.
 java.util.HashMap getAttributes()
          Provides a map of all attribute-value pair of proxy user.
 java.lang.String getEntityId()
          Provides GUID of the proxy user.
 void setAttribute(java.lang.String attr, java.lang.Object val)
          Adds the attribute attr and it's value val.
 void setEntityId(java.lang.String entityId)
           
 java.lang.String toString()
          Provides the string representation of Proxy value object.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

Proxy

public Proxy(java.lang.String entityId)
Constructs a proxy object with GUID entityId.
Parameters:
entityId - The GUID of the proxy user.

Proxy

public Proxy(java.lang.String entityId,
             java.util.HashMap attrs)
Constructs a proxy object with GUID entityId and a map of attribute name-value pair.
Parameters:
entityId - The GUID of the proxy user.
attrs - The Map of attribute name-value pair.

Method Detail

setAttribute

public void setAttribute(java.lang.String attr,
                         java.lang.Object val)
Adds the attribute attr and it's value val.
Specified by:
setAttribute in interface Identity
Parameters:
attr - The attribute to be added.
val - The value of the attribute.

getAttribute

public java.lang.Object getAttribute(java.lang.String attr)
Get the value of the specified proxy attribute name.
Specified by:
getAttribute in interface Identity
Parameters:
attr - The attribute whose value is to be returned.
Returns:
the value of the attribute. null if the attribute is not present.

getEntityId

public java.lang.String getEntityId()
Provides GUID of the proxy user.
Specified by:
getEntityId in interface Identity
Returns:
GUID of the entity.

setEntityId

public void setEntityId(java.lang.String entityId)

getAttributes

public java.util.HashMap getAttributes()
Provides a map of all attribute-value pair of proxy user.
Specified by:
getAttributes in interface Identity
Returns:
A map of all attribute-value pair of this proxy user.

getAttributeNames

public java.util.Set getAttributeNames()
Provides a set of all the proxy user attribute names.
Specified by:
getAttributeNames in interface Identity
Returns:
A set of all the proxy user attribute names.

toString

public java.lang.String toString()
Provides the string representation of Proxy value object.
Specified by:
toString in interface Identity
Overrides:
toString in class java.lang.Object
Returns:
A string representation of Proxy value object.

Skip navigation links


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