Skip navigation links


oracle.iam.identity.rolemgmt.vo
Class RoleCategory

java.lang.Object
  extended by oracle.iam.identity.rolemgmt.vo.RoleCategory

All Implemented Interfaces:
java.io.Serializable, Identity

public class RoleCategory
extends java.lang.Object
implements Identity

The RoleCategory class is a value object class to hold the GUID, attribute name-value pairs of a RoleCategory.

See Also:
Serialized Form

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

 

Method Summary
 boolean equals(java.lang.Object newRC1)
           
 java.lang.Object getAttribute(java.lang.String attr)
          Get the value of the specified RoleCategory attribute attr.
 java.util.Set getAttributeNames()
          Returns a Set of all attribute names for this RoleCategory.
 java.util.HashMap getAttributes()
          Returns a map of all attribute-value pairs for this RoleCategory.
 java.lang.String getDescription()
          Get the value of Role Category Description attribute.
 java.lang.String getEntityId()
          Returns GUID of the RoleCategory.
 java.lang.String getName()
          Get the value of Role Category Name attribute.
 void setAttribute(java.lang.String attr, java.lang.Object val)
          Sets the attribute attr and it's value val.
 void setDescription(java.lang.String description)
          Set the Role Category Description attribute with a value description.
 void setName(java.lang.String categoryName)
          Set the Role Category Name attribute with a value categoryName.
 java.lang.String toString()
          Returns the string representation of this RoleCategory.

 

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

 

Constructor Detail

RoleCategory

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

RoleCategory

public RoleCategory(java.util.HashMap attrs)
Constructs a RoleCategory object with a map of attribute name-value pairs.
Parameters:
attrs - The map of attribute name-value pairs.

RoleCategory

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

Method Detail

equals

public boolean equals(java.lang.Object newRC1)
Overrides:
equals in class java.lang.Object

setAttribute

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

getAttribute

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

getEntityId

public java.lang.String getEntityId()
Returns GUID of the RoleCategory.
Specified by:
getEntityId in interface Identity
Returns:
GUID of the RoleCategory.

setName

public void setName(java.lang.String categoryName)
Set the Role Category Name attribute with a value categoryName.
Parameters:
categoryName - The Role Category Name value to be set.

getName

public java.lang.String getName()
Get the value of Role Category Name attribute.
Returns:
The value of Role Category Name attribute

setDescription

public void setDescription(java.lang.String description)
Set the Role Category Description attribute with a value description.
Parameters:
description - The Role Category Description value to be set.

getDescription

public java.lang.String getDescription()
Get the value of Role Category Description attribute.
Returns:
The value of Role Category Description attribute

getAttributes

public java.util.HashMap getAttributes()
Returns a map of all attribute-value pairs for this RoleCategory.
Specified by:
getAttributes in interface Identity
Returns:
A map of all attribute-value pairs for this RoleCategory.

getAttributeNames

public java.util.Set getAttributeNames()
Returns a Set of all attribute names for this RoleCategory.
Specified by:
getAttributeNames in interface Identity
Returns:
A Set of all attribute names for this RoleCategory.

toString

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

Skip navigation links


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