public class RemoteServiceID extends BaseID implements IRemoteServiceID
Constructor and Description |
---|
RemoteServiceID(Namespace namespace,
ID containerID,
long containerRelative) |
Modifier and Type | Method and Description |
---|---|
ID |
getContainerID()
Get the container ID for this remote service.
|
long |
getContainerRelativeID()
Get container-relative ID for the remote service identified
|
protected int |
namespaceCompareTo(BaseID o)
|
protected boolean |
namespaceEquals(BaseID o)
Called by
Namespace.testIDEquals(BaseID, BaseID) . |
protected String |
namespaceGetName()
Called by
Namespace.getNameForID(BaseID) . |
protected int |
namespaceHashCode()
Called by
Namespace.getHashCodeForID(BaseID) . |
String |
toString() |
compareTo, equals, getAdapter, getName, getNamespace, hashCode, namespaceToExternalForm, toExternalForm
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getName, getNamespace, hashCode, toExternalForm
compareTo
protected int namespaceCompareTo(BaseID o)
BaseID
namespaceCompareTo
in class BaseID
o
- the other ID to compare to. Will not be null
.Comparable
contract.protected boolean namespaceEquals(BaseID o)
BaseID
Namespace.testIDEquals(BaseID, BaseID)
.namespaceEquals
in class BaseID
o
- the other ID to test against. May be null
.true
if this ID is equal to the given ID.
false
otherwise.protected String namespaceGetName()
BaseID
Namespace.getNameForID(BaseID)
.namespaceGetName
in class BaseID
null
. Value
returned should be unique within this Namespace.protected int namespaceHashCode()
BaseID
Namespace.getHashCodeForID(BaseID)
.namespaceHashCode
in class BaseID
public ID getContainerID()
IRemoteServiceID
null
.getContainerID
in interface IRemoteServiceID
null
.public long getContainerRelativeID()
IRemoteServiceID
getContainerRelativeID
in interface IRemoteServiceID
Copyright © 2017 Eclipse Foundation. All rights reserved.