org.eclipse.ecf.discovery.identity
Interface IServiceID

All Superinterfaces:
java.lang.Comparable, org.eclipse.core.runtime.IAdaptable, ID, java.security.Principal, java.io.Serializable
All Known Implementing Classes:
JMDNSServiceID, JSLPServiceID, ServiceID

public interface IServiceID
extends ID

Service identity contract.


Method Summary
 java.lang.String getServiceName()
          Get service name for this ID.
 IServiceTypeID getServiceTypeID()
          Get service type ID for this ID.
 
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 java.security.Principal
toString
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getServiceTypeID

IServiceTypeID getServiceTypeID()
Get service type ID for this ID.

Returns:
IServiceTypeID. Will not be null.

getServiceName

java.lang.String getServiceName()
Get service name for this ID.

Returns:
String service name. May be null.