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 FieldStateVariableAccessor

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

    public class FieldStateVariableAccessor

extends StateVariableAccessor

Reads the value of a state variable using reflection and a field.

Author:
  Christian Bauer

Field Summary
`protected Field` | `field`

Constructor Summary
`FieldStateVariableAccessor(Field field)`

Method Summary
`Field` | `getField()`
`Class<?>` | `getReturnType()`
`Object` | `read(Object serviceImpl)`
`String` | `toString()`

Methods inherited from class org.teleal.cling.model.state.StateVariableAccessor
`read`

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

Field Detail

### field

    protected Field field

Constructor Detail

### FieldStateVariableAccessor

    public FieldStateVariableAccessor(Field field)

Method Detail

### getField

    public Field getField()

### getReturnType

    public Class<?> getReturnType()

  Specified by:
    `getReturnType` in class `StateVariableAccessor`

### read

    public Object read(Object serviceImpl)
                throws Exception

  Specified by:
    `read` in class `StateVariableAccessor`
  Throws:
    `Exception`

### toString

    public String toString()

  Overrides:
    `toString` in class `StateVariableAccessor`

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.