|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.core.identity.BaseID
org.eclipse.ecf.provider.r_osgi.identity.R_OSGiID
public class R_OSGiID
The ID implementation of R-OSGi URIs. Currently only works with the R-OSGi namespace and hence with the R-OSGi default transport (persistent tcp connections).
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ecf.core.identity.BaseID |
|---|
namespace |
| Constructor Summary | |
|---|---|
R_OSGiID(java.lang.String uriString)
create a new R-OSGi ID from an URI string. |
|
| Method Summary | |
|---|---|
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 java.lang.String |
namespaceGetName()
get the name. |
protected int |
namespaceHashCode()
get the hash code. |
java.lang.String |
toExternalForm()
Get this ID instance in String form. |
java.lang.String |
toString()
get a string representation. |
| Methods inherited from class org.eclipse.ecf.core.identity.BaseID |
|---|
compareTo, equals, getAdapter, getName, getNamespace, hashCode, namespaceToExternalForm |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public R_OSGiID(java.lang.String uriString)
uriString - the URI of a remote service.| Method Detail |
|---|
protected 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 URI getURI()
protected java.lang.String namespaceGetName()
namespaceGetName in class BaseIDprotected int namespaceHashCode()
namespaceHashCode in class BaseIDpublic java.lang.String toString()
toString in interface java.security.PrincipaltoString in class java.lang.ObjectObject.toString()public java.lang.String toExternalForm()
ID
toExternalForm in interface IDtoExternalForm in class BaseIDID.toExternalForm()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||