org.teleal.cling.model.types
Class NamedDeviceType

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

public class NamedDeviceType
extends Object

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

Author:
Christian Bauer

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

Constructor Detail

NamedDeviceType

public NamedDeviceType(UDN udn,
                       DeviceType deviceType)
Method Detail

getUdn

public UDN getUdn()

getDeviceType

public DeviceType getDeviceType()

valueOf

public static NamedDeviceType 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.