org.fourthline.cling.support.lastchange
Class EventedValue<V>
java.lang.Object
org.fourthline.cling.support.lastchange.EventedValue<V>
- Direct Known Subclasses:
- EventedValueChannelLoudness, EventedValueChannelMute, EventedValueChannelVolume, EventedValueChannelVolumeDB, 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 InvalidValueException
- Throws:
InvalidValueException
valueOf
protected V valueOf(String s)
throws InvalidValueException
- Throws:
InvalidValueException
toString
public String toString()
- Overrides:
toString
in class Object
getDatatype
protected abstract Datatype getDatatype()
Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.