public class GetterSetterAccessor extends Object implements PropertyAccessor
Field
of a plain Java object.Constructor and Description |
---|
GetterSetterAccessor(Object instance,
Method getter,
Method setter)
Constructs a new
ClassFieldAccessor . |
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
The strategy to get a value.
|
void |
setValue(Object value)
The strategy to set a value.
|
public Object getValue()
getValue
in interface PropertyAccessor
public void setValue(Object value)
setValue
in interface PropertyAccessor
value
- The value to be set.Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.