public interface ID extends Serializable, Comparable, Principal, org.eclipse.core.runtime.IAdaptable
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
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Get the unique name of this identity.
|
Namespace |
getNamespace()
Get the Namespace instance associated with this identity
|
int |
hashCode() |
String |
toExternalForm()
Get this ID instance in String form.
|
compareTo
boolean equals(Object obj)
int hashCode()
String getName()
Namespace getNamespace()
String toExternalForm()
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.