|
||||||||||
| 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.discovery.identity.ServiceID
public class ServiceID
Service identity type. ServiceIDs are IDs that uniquely identify a remote service. Subclasses may be created as appropriate.
| Field Summary | |
|---|---|
protected java.lang.String |
name
|
protected IServiceTypeID |
type
|
| Fields inherited from class org.eclipse.ecf.core.identity.BaseID |
|---|
namespace |
| Constructor Summary | |
|---|---|
protected |
ServiceID(Namespace namespace,
IServiceTypeID type,
java.lang.String name)
|
| Method Summary | |
|---|---|
protected java.lang.String |
getFullyQualifiedName()
|
java.lang.String |
getServiceName()
Get service name for this ID. |
java.lang.String |
getServiceType()
Get service type for this ID. |
IServiceTypeID |
getServiceTypeID()
Get service type ID for this ID. |
protected int |
namespaceCompareTo(BaseID o)
Called by Namespace.getCompareToForObject(BaseID, BaseID). |
protected boolean |
namespaceEquals(BaseID o)
Called by Namespace.testIDEquals(BaseID, BaseID). |
protected java.lang.String |
namespaceGetName()
Called by Namespace.getNameForID(BaseID). |
protected int |
namespaceHashCode()
Called by Namespace.getHashCodeForID(BaseID). |
java.lang.String |
toString()
|
| Methods inherited from class org.eclipse.ecf.core.identity.BaseID |
|---|
compareTo, equals, getAdapter, getName, getNamespace, hashCode, namespaceToExternalForm, toExternalForm |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ecf.core.identity.ID |
|---|
equals, getName, getNamespace, hashCode, toExternalForm |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
protected IServiceTypeID type
protected java.lang.String name
| Constructor Detail |
|---|
protected ServiceID(Namespace namespace,
IServiceTypeID type,
java.lang.String name)
| Method Detail |
|---|
protected java.lang.String getFullyQualifiedName()
protected int namespaceCompareTo(BaseID o)
BaseIDNamespace.getCompareToForObject(BaseID, BaseID).
namespaceCompareTo 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 java.lang.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 java.lang.String getServiceType()
null.public IServiceTypeID getServiceTypeID()
IServiceID
getServiceTypeID in interface IServiceIDnull.public java.lang.String getServiceName()
getServiceName in interface IServiceIDnull.public java.lang.String toString()
toString in interface java.security.PrincipaltoString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||