Oracle Entitlements Server for Java API Reference

com.bea.security
Class IdentityRole

java.lang.Object
  |
  +--com.bea.security.IdentityRole

public class IdentityRole
extends java.lang.Object

This class represents a role assigned to an identity.

Author:
Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.

Method Summary
 boolean equals(java.lang.Object another)
          Determines if the object presented is equivalent to this named role.
 java.lang.String getDescription()
          Gets the description of this role.
 java.lang.String getName()
          Gets the name of this role.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object another)
Determines if the object presented is equivalent to this named role.

Parameters:
another - an Object to test for equivalency.
Returns:
true if the object presented is the same as this role; otherwise, returns false.
Overrides:
equals in class java.lang.Object

getDescription

public java.lang.String getDescription()
Gets the description of this role.

Returns:
a description of this role as a String or null if this role has no description.

getName

public java.lang.String getName()
Gets the name of this role.

Returns:
the name of this role as a String.