public final class ReflectAttributeBehavior extends Object implements IAttributeBehavior
| Constructor and Description |
|---|
ReflectAttributeBehavior(AttributeConfiguration config,
Object businessObject,
Method getter,
Method setter)
Ctr
|
| Modifier and Type | Method and Description |
|---|---|
AttributeConfiguration |
getConfiguration() |
StateMachineBehavior |
getStateMachine() |
AttributeValue |
getValue()
Read attribute
|
void |
setValue(AttributeValue value)
Write attribute
|
String |
toString() |
public ReflectAttributeBehavior(AttributeConfiguration config, Object businessObject, Method getter, Method setter)
config - The attribute configurationbusinessObject - The object that contains the attributegetter - The method to read the attributesetter - The method to write the attributepublic AttributeValue getValue() throws fr.esrf.Tango.DevFailed
IAttributeBehaviorgetValue in interface IAttributeBehaviorfr.esrf.Tango.DevFailedpublic void setValue(AttributeValue value) throws fr.esrf.Tango.DevFailed
IAttributeBehaviorsetValue in interface IAttributeBehaviorfr.esrf.Tango.DevFailedpublic AttributeConfiguration getConfiguration()
getConfiguration in interface IAttributeBehaviorpublic StateMachineBehavior getStateMachine()
getStateMachine in interface IAttributeBehaviorCopyright © 2012–2017 Tango Controls. All rights reserved.