org.teleal.cling.model.state
Class StateVariableAccessor

java.lang.Object
  extended by org.teleal.cling.model.state.StateVariableAccessor
Direct Known Subclasses:
FieldStateVariableAccessor, GetterStateVariableAccessor

public abstract class StateVariableAccessor
extends Object

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


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