|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Principal
Principals are objects which have identities. These can be
individuals, groups, corporations, unique program executions, etc.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares the specified object with this Principal for equality
and returns true if the specified object is equal, false
otherwise. |
String |
getName()
Returns the name of this Principal. |
int |
hashCode()
Returns the hash code value for this Principal. |
String |
toString()
Returns a string containing a concise, human-readable description of this Principal. |
| Method Detail |
|---|
boolean equals(Object obj)
Principal for equality
and returns true if the specified object is equal, false
otherwise.
equals in class Objectobj - object to be compared for equality with this Principal.
true if the specified object is equal to this Principal, otherwise false.Object.hashCode()String getName()
Principal.
Principal.int hashCode()
Principal. Returns the same
hash code for Principals that are equal to each other as
required by the general contract of Object.hashCode().
hashCode in class ObjectPrincipal.Object.equals(Object),
equals(Object)String toString()
Principal.
toString in class ObjectPrincipal.
|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||