|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ID
Contract for ECF identity
ECF IDs are immutable once constructed, and unique within the containing
Namespace.
ID instances are created via the Namespace.createInstance(...) method. This method is called by the IDFactory.createID(...) methods for the given Namespace. So, for example, to create an ID instance with the name "slewis":
ID id = IDFactory.getDefault().createID(namespace, "slewis");
Namespace| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Get the unique name of this identity. |
Namespace |
getNamespace()
Get the Namespace instance associated with this identity |
int |
hashCode()
|
java.lang.String |
toExternalForm()
Get this ID instance in String form. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface java.security.Principal |
|---|
toString |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Method Detail |
|---|
boolean equals(java.lang.Object obj)
equals in interface java.security.Principalequals in class java.lang.Objectint hashCode()
hashCode in interface java.security.PrincipalhashCode in class java.lang.Objectjava.lang.String getName()
getName in interface java.security.PrincipalNamespace getNamespace()
java.lang.String toExternalForm()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||