public class ServiceID extends BaseID implements IServiceID
| Modifier and Type | Field and Description |
|---|---|
protected URI |
location |
protected IServiceInfo |
serviceInfo |
protected IServiceTypeID |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
ServiceID(Namespace namespace,
IServiceTypeID type,
URI anURI) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected String |
getFullyQualifiedName() |
URI |
getLocation()
(non-Javadoc)
|
IServiceInfo |
getServiceInfo() |
String |
getServiceName()
Get service name for this ID.
|
String |
getServiceType()
Get service type for this ID.
|
IServiceTypeID |
getServiceTypeID()
Get service type ID for this ID.
|
int |
hashCode() |
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). |
void |
setServiceInfo(IServiceInfo serviceInfo) |
String |
toString() |
compareTo, getAdapter, getName, getNamespace, namespaceToExternalForm, toExternalFormclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, getNamespace, toExternalFormcompareToprotected IServiceInfo serviceInfo
protected IServiceTypeID type
protected URI location
protected ServiceID(Namespace namespace, IServiceTypeID type, URI anURI)
namespace - namespace should not be nulltype - service type ID should not be nullanURI - uri for service location should not be nullprotected String getFullyQualifiedName()
protected int namespaceCompareTo(BaseID o)
BaseIDnamespaceCompareTo in class BaseIDo - the other ID to compare to. Will not be null.Comparable contract.protected boolean namespaceEquals(BaseID o)
BaseIDNamespace.testIDEquals(BaseID, BaseID).namespaceEquals in class BaseIDo - the other ID to test against. May be null.true if this ID is equal to the given ID.
false otherwise.protected String namespaceGetName()
BaseIDNamespace.getNameForID(BaseID).namespaceGetName in class BaseIDnull. Value
returned should be unique within this Namespace.protected int namespaceHashCode()
BaseIDNamespace.getHashCodeForID(BaseID).namespaceHashCode in class BaseIDpublic String getServiceType()
null.public IServiceTypeID getServiceTypeID()
IServiceIDgetServiceTypeID in interface IServiceIDnull.public String getServiceName()
getServiceName in interface IServiceIDnull.public String toString()
public URI getLocation()
getLocation in interface IServiceIDIServiceID.getLocation()public IServiceInfo getServiceInfo()
public void setServiceInfo(IServiceInfo serviceInfo)
serviceInfo - the serviceInfo to setpublic int hashCode()
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.