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.fourthline.cling.model.state
Class GetterStateVariableAccessor

    java.lang.Object
      org.fourthline.cling.model.state.StateVariableAccessor
          org.fourthline.cling.model.state.GetterStateVariableAccessor

    public class GetterStateVariableAccessor

extends StateVariableAccessor

Reads the value of a state variable using reflection and a getter method.

Author:
  Christian Bauer

Constructor Summary
`GetterStateVariableAccessor(Method getter)`

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

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

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

Constructor Detail

### GetterStateVariableAccessor

    public GetterStateVariableAccessor(Method getter)

Method Detail

### getGetter

    public Method getGetter()

### 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 © 2013 4th Line GmbH, Switzerland. All Rights Reserved.