public class R_OSGiID extends BaseID
| Modifier | Constructor and Description |
|---|---|
protected |
R_OSGiID(Namespace ns) |
|
R_OSGiID(String uriString)
create a new R-OSGi ID from an URI string.
|
| Modifier and Type | Method and Description |
|---|---|
ch.ethz.iks.r_osgi.URI |
getURI()
get the internal URI.
|
protected int |
namespaceCompareTo(BaseID id)
compare in the context of the namespace.
|
protected boolean |
namespaceEquals(BaseID id)
check for equality in the context of the namespace.
|
protected String |
namespaceGetName()
get the name.
|
protected int |
namespaceHashCode()
get the hash code.
|
String |
toExternalForm()
Get this ID instance in String form.
|
String |
toString()
get a string representation.
|
compareTo, equals, getAdapter, getName, getNamespace, hashCode, namespaceToExternalFormpublic R_OSGiID(String uriString)
uriString - the URI of a remote service.protected R_OSGiID(Namespace ns)
ns - namespaceprotected int namespaceCompareTo(BaseID id)
namespaceCompareTo in class BaseIDid - another BaseID to compare to.BaseID.namespaceCompareTo(org.eclipse.ecf.core.identity.BaseID)protected boolean namespaceEquals(BaseID id)
namespaceEquals in class BaseIDid - another BaseID to check with.true iff the two IDs are equal within the given
namespace.BaseID.namespaceEquals(org.eclipse.ecf.core.identity.BaseID)public ch.ethz.iks.r_osgi.URI getURI()
protected String namespaceGetName()
namespaceGetName in class BaseIDprotected int namespaceHashCode()
namespaceHashCode in class BaseIDpublic String toString()
toString in interface PrincipaltoString in class ObjectObject.toString()public String toExternalForm()
IDtoExternalForm in interface IDtoExternalForm in class BaseIDID.toExternalForm()Copyright © 2004–2020 Eclipse Foundation. All rights reserved.