com.sun.xml.bind.v2.runtime.reflect.opt
Class MethodAccessor_Boolean
java.lang.Object
com.sun.xml.bind.v2.runtime.reflect.Accessor
com.sun.xml.bind.v2.runtime.reflect.opt.MethodAccessor_Boolean
- All Implemented Interfaces:
- Receiver
public class MethodAccessor_Boolean
- extends Accessor
Template Accessor
for boolean getter/setter.
All the MethodAccessors are generated from MethodAccessor_B y t e
Method Summary |
java.lang.Object |
get(java.lang.Object bean)
Gets the value of the property of the given bean object. |
void |
set(java.lang.Object bean,
java.lang.Object value)
Sets the value of the property of the given bean object. |
Methods inherited from class com.sun.xml.bind.v2.runtime.reflect.Accessor |
adapt, adapt, getErrorInstance, getUnadapted, getValueType, isAbstractable, isAdapted, isValueTypeAbstractable, optimize, receive, setUnadapted |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodAccessor_Boolean
public MethodAccessor_Boolean()
get
public java.lang.Object get(java.lang.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(java.lang.Object bean,
java.lang.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.)