org.teleal.cling.model.types
Class ServiceId

java.lang.Object
  extended by org.teleal.cling.model.types.ServiceId
Direct Known Subclasses:
UDAServiceId

public class ServiceId
extends Object


Field Summary
static Pattern PATTERN
           
 
Constructor Summary
ServiceId(String namespace, String id)
           
ServiceId(String namespace, UUID uuid)
           
 
Method Summary
 boolean equals(Object o)
           
 String getId()
           
 String getNamespace()
           
 int hashCode()
           
 String toString()
           
static ServiceId valueOf(String s)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PATTERN

public static final Pattern PATTERN
Constructor Detail

ServiceId

public ServiceId(String namespace,
                 UUID uuid)

ServiceId

public ServiceId(String namespace,
                 String id)
Method Detail

getNamespace

public String getNamespace()

getId

public String getId()

valueOf

public static ServiceId valueOf(String s)
                         throws RuntimeException
Throws:
RuntimeException

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.