|
Java SDK r12.5 SP 8 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NamedObject
Retrieves the unique and human-readable names of a managed object.
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Determines whether this object is equal to the one passed in as the parameter. |
java.lang.String |
getFriendlyName()
Retrieves the managed object's friendly name. |
java.lang.String |
getUniqueName()
Retrieves the managed object's unique identifier. |
int |
hashCode()
Internal use only. |
java.lang.String |
toString()
Retrieves the name of the managed object in the format objectType + friendlyName. |
| Method Detail |
|---|
java.lang.String getUniqueName()
User
object, the User DN is returned.
java.lang.String getFriendlyName()
User
object, the User ID is returned. For
Task and
Role objects, the displayed
name is returned.
AttributeNotPresentException - This NamedObject was created without a friendly name attribute--for example, if it is a user for which User.PROPERTY_FRIENDLY_NAME was not passed as part of the attribute request enumeration.java.lang.String toString()
toString in class java.lang.Objectboolean equals(java.lang.Object other)
equals in class java.lang.Objecttrue if the objects are equal, or false otherwise.int hashCode()
hashCode in class java.lang.Object
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||