Accessor.FieldReflection<BeanT,ValueT>, Accessor.GetterOnlyReflection<BeanT,ValueT>, Accessor.GetterSetterReflection<BeanT,ValueT>, Accessor.ReadOnlyFieldReflection<BeanT,ValueT>, Accessor.SetterOnlyReflection<BeanT,ValueT>| Modifier and Type | Field and Description |
|---|---|
Field |
f |
JAXB_ELEMENT_VALUE, valueType| Constructor and Description |
|---|
FieldReflection(Field f) |
FieldReflection(Field f,
boolean supressAccessorWarnings) |
| Modifier and Type | Method and Description |
|---|---|
ValueT |
get(BeanT bean)
Gets the value of the property of the given bean object.
|
Accessor<BeanT,ValueT> |
optimize(JAXBContextImpl context)
Returns the optimized version of the same accessor.
|
void |
set(BeanT bean,
ValueT value)
Sets the value of the property of the given bean object.
|
adapt, adapt, getErrorInstance, getUnadapted, getValueType, isAbstractable, isAdapted, isValueTypeAbstractable, receive, setUnadaptedpublic final Field f
public FieldReflection(Field f)
public FieldReflection(Field f, boolean supressAccessorWarnings)
public ValueT get(BeanT bean)
Accessorpublic void set(BeanT bean, ValueT value)
Accessorpublic Accessor<BeanT,ValueT> optimize(JAXBContextImpl context)
Accessoroptimize in class Accessor<BeanT,ValueT>context - The JAXBContextImpl that owns the whole thing.
(See RuntimeModelBuilder.context.)this.Copyright © 2018 JBoss by Red Hat. All rights reserved.