org.teleal.cling.support.lastchange
Class EventedValue<V>
java.lang.Object
org.teleal.cling.support.lastchange.EventedValue<V>
- Direct Known Subclasses:
- EventedValueChannelMute, EventedValueChannelVolume, EventedValueEnum, EventedValueEnumArray, EventedValueShort, EventedValueString, EventedValueUnsignedIntegerFourBytes, EventedValueUnsignedIntegerTwoBytes, EventedValueURI
public abstract class EventedValue<V>
- extends Object
Field Summary |
protected V |
value
|
value
protected final V value
EventedValue
public EventedValue(V value)
EventedValue
public EventedValue(Map.Entry<String,String>[] attributes)
getName
public String getName()
getValue
public V getValue()
getAttributes
public Map.Entry<String,String>[] getAttributes()
valueOf
protected V valueOf(Map.Entry<String,String>[] attributes)
throws Exception
- Throws:
Exception
valueOf
protected V valueOf(String s)
throws Exception
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object
getDatatype
protected abstract org.teleal.cling.model.types.Datatype getDatatype()
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.