Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.model.state
Class StateVariableAccessor

    java.lang.Object
      org.teleal.cling.model.state.StateVariableAccessor

Direct Known Subclasses:
  FieldStateVariableAccessor, GetterStateVariableAccessor

    public abstract class StateVariableAccessor

extends Object

Reads the value of a state variable, given an instance that implements the service. TODO: The design of this is not final, not happy with the relationship between ActionExecutor and this.

Author:
  Christian Bauer

Constructor Summary
`StateVariableAccessor()`

Method Summary
`abstract Class<?>` | `getReturnType()`
`abstract Object` | `read(Object serviceImpl)`
`StateVariableValue` | `read(StateVariable<LocalService> stateVariable, Object serviceImpl)`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### StateVariableAccessor

    public StateVariableAccessor()

Method Detail

### read

    public StateVariableValue read(StateVariable<LocalService> stateVariable,
                                   Object serviceImpl)
                            throws Exception

  Throws:
    `Exception`

### getReturnType

    public abstract Class<?> getReturnType()

### read

    public abstract Object read(Object serviceImpl)
                         throws Exception

  Throws:
    `Exception`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.