org.teleal.cling.model.types
Class NamedServiceType

java.lang.Object
  extended by org.teleal.cling.model.types.NamedServiceType

public class NamedServiceType
extends Object

Combines a UDN with a ServiceType, string representation is separated by double-colon.

Author:
Christian Bauer

Constructor Summary
NamedServiceType(UDN udn, ServiceType serviceType)
           
 
Method Summary
 boolean equals(Object o)
           
 ServiceType getServiceType()
           
 UDN getUdn()
           
 int hashCode()
           
 String toString()
           
static NamedServiceType valueOf(String s)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedServiceType

public NamedServiceType(UDN udn,
                        ServiceType serviceType)
Method Detail

getUdn

public UDN getUdn()

getServiceType

public ServiceType getServiceType()

valueOf

public static NamedServiceType valueOf(String s)
                                throws InvalidValueException
Throws:
InvalidValueException

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 © 2011 Teleal GmbH, Switzerland. All Rights Reserved.