Skip navigation links
oracle.iam.identity.rolemgmt.vo
Class Role
java.lang.Object
oracle.iam.identity.rolemgmt.vo.Role
- All Implemented Interfaces:
- java.io.Serializable, Identity
-
public class Role
- extends java.lang.Object
- implements Identity
- See Also:
- Serialized Form
Constructor Summary |
Role(java.util.HashMap attrs)
|
Role(java.lang.String entityId)
|
Role(java.lang.String entityId, java.util.HashMap attrs)
|
Method Summary |
boolean |
equals(java.lang.Object other)
|
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 |
getDescription()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getEntityId()
Provides GUID of the entity. |
java.lang.String |
getName()
|
java.lang.String |
getNamespace()
|
java.lang.String |
getUniqueName()
|
void |
setAttribute(java.lang.String attr, java.lang.Object val)
Adds the attribute attr and it's value val . |
void |
setDescription(java.lang.String description)
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setName(java.lang.String roleName)
|
java.lang.String |
toString()
Returns the string representation of this Identity. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Role
public Role(java.lang.String entityId)
Role
public Role(java.util.HashMap attrs)
Role
public Role(java.lang.String entityId,
java.util.HashMap attrs)
setAttribute
public void setAttribute(java.lang.String attr,
java.lang.Object val)
- Description copied from interface:
Identity
- 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. This object must be serializable.
getAttribute
public java.lang.Object getAttribute(java.lang.String attr)
- Description copied from interface:
Identity
- Get the value of the specified attribute
attr
.
-
- 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()
- Description copied from interface:
Identity
- Provides GUID of the entity.
-
- Specified by:
getEntityId
in interface Identity
-
- Returns:
- GUID of the entity.
setName
public void setName(java.lang.String roleName)
getName
public java.lang.String getName()
setDescription
public void setDescription(java.lang.String description)
getDescription
public java.lang.String getDescription()
setDisplayName
public void setDisplayName(java.lang.String displayName)
getDisplayName
public java.lang.String getDisplayName()
getUniqueName
public java.lang.String getUniqueName()
getNamespace
public java.lang.String getNamespace()
getAttributes
public java.util.HashMap getAttributes()
- Description copied from interface:
Identity
- Provides a map of all attribute-value pair of this identity.
-
- Specified by:
getAttributes
in interface Identity
-
- Returns:
- A
map
of all attribute-value pair of this identity.
getAttributeNames
public java.util.Set getAttributeNames()
- Description copied from interface:
Identity
- Provides a set of all the attribute names.
-
- Specified by:
getAttributeNames
in interface Identity
-
- Returns:
- A set of all the attribute names.
toString
public java.lang.String toString()
- Description copied from interface:
Identity
- Returns the string representation of this Identity.
-
- Specified by:
toString
in interface Identity
- Overrides:
toString
in class java.lang.Object
-
- Returns:
- The string representation of this Identity.
equals
public boolean equals(java.lang.Object other)
-
- Overrides:
equals
in class java.lang.Object
Skip navigation links
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.