com.sun.xml.bind.v2.runtime.reflect.opt
Class FieldAccessor_Ref
java.lang.Object
com.sun.xml.bind.v2.runtime.reflect.Accessor
com.sun.xml.bind.v2.runtime.reflect.opt.FieldAccessor_Ref
- All Implemented Interfaces:
- Receiver
public class FieldAccessor_Ref
- extends Accessor
Template Accessor
for reference type fields.
Method Summary |
Object |
get(Object bean)
Gets the value of the property of the given bean object. |
void |
set(Object bean,
Object value)
Sets the value of the property of the given bean object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldAccessor_Ref
public FieldAccessor_Ref()
get
public Object get(Object bean)
- Description copied from class:
Accessor
- Gets the value of the property of the given bean object.
- Specified by:
get
in class Accessor
- Parameters:
bean
- must not be null.
set
public void set(Object bean,
Object value)
- Description copied from class:
Accessor
- Sets the value of the property of the given bean object.
- Specified by:
set
in class Accessor
- Parameters:
bean
- must not be null.value
- the value to be set. Setting value to null means resetting
to the VM default value (even for primitive properties.)