org.eclipse.ecf.provider.jslp.identity
Class JSLPServiceTypeID

java.lang.Object
  extended by org.eclipse.ecf.core.identity.BaseID
      extended by org.eclipse.ecf.discovery.identity.ServiceTypeID
          extended by org.eclipse.ecf.provider.jslp.identity.JSLPServiceTypeID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, java.security.Principal, org.eclipse.core.runtime.IAdaptable, ID, IServiceTypeID

public class JSLPServiceTypeID
extends ServiceTypeID

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.ecf.discovery.identity.ServiceTypeID
DEFAULT_NA, DEFAULT_PROTO, DEFAULT_SCOPE, DELIM, namingAuthority, protocols, scopes, services, typeName
 
Fields inherited from class org.eclipse.ecf.core.identity.BaseID
namespace
 
Constructor Summary
protected JSLPServiceTypeID(Namespace namespace, java.lang.String type)
           
 
Method Summary
 java.lang.String getInternal()
          Get the internal name of the service type.
 ch.ethz.iks.slp.ServiceType getServiceType()
           
 
Methods inherited from class org.eclipse.ecf.discovery.identity.ServiceTypeID
createType, equals, getName, getNamingAuthority, getProtocols, getScopes, getServices, hashCode, namespaceCompareTo, namespaceEquals, namespaceGetName, namespaceHashCode, toString
 
Methods inherited from class org.eclipse.ecf.core.identity.BaseID
compareTo, getAdapter, getNamespace, 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
getNamespace, toExternalForm
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

JSLPServiceTypeID

protected JSLPServiceTypeID(Namespace namespace,
                            java.lang.String type)
                     throws IDCreateException
Throws:
IDCreateException
Method Detail

getServiceType

public ch.ethz.iks.slp.ServiceType getServiceType()
Returns:
the jSLP ServiceType

getInternal

public java.lang.String getInternal()
Description copied from interface: IServiceTypeID
Get the internal name of the service type. Provider implementations may choose to have this return the same value as ID.getName(), or they may return a different, internal value appropriate to the provider.

Specified by:
getInternal in interface IServiceTypeID
Overrides:
getInternal in class ServiceTypeID
Returns:
String internal name for this service type. Will not return null.