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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected V` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EventedValue(Map.Entry<String,String>[] attributes)`
    `EventedValue(V value)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map.Entry<String,String>[]` | `getAttributes()`
    `protected abstract Datatype` | `getDatatype()`
    `String` | `getName()`
    `V` | `getValue()`
    `String` | `toString()`
    `protected V` | `valueOf(Map.Entry<String,String>[] attributes)`
    `protected V` | `valueOf(String s)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### value

          protected final V value

  - ### Constructor Detail

    - #### EventedValue

          public EventedValue(V value)

    - #### EventedValue

          public EventedValue(Map.Entry<String,String>[] attributes)

  - ### Method Detail

    - #### 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 © 2016 4th Line GmbH, Switzerland. All rights reserved.