Skip navigation links
oracle.iam.identity.rolemgmt.vo
Class RoleCategory
java.lang.Object
oracle.iam.identity.rolemgmt.vo.RoleCategory
- All Implemented Interfaces:
- java.io.Serializable, Identity
-
public class RoleCategory
- extends java.lang.Object
- implements Identity
- See Also:
- Serialized Form
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 |
getDescription()
|
java.lang.String |
getEntityId()
Provides GUID of the entity. |
java.lang.String |
getName()
|
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 |
setName(java.lang.String categoryName)
|
java.lang.String |
toString()
Returns the string representation of this Identity. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RoleCategory
public RoleCategory(java.lang.String entityId)
RoleCategory
public RoleCategory(java.util.HashMap attrs)
RoleCategory
public RoleCategory(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 categoryName)
getName
public java.lang.String getName()
setDescription
public void setDescription(java.lang.String description)
getDescription
public java.lang.String getDescription()
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.
Skip navigation links
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.