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, setUnadapted
public final Field f
public FieldReflection(Field f)
public FieldReflection(Field f, boolean supressAccessorWarnings)
public ValueT get(BeanT bean)
Accessor
public void set(BeanT bean, ValueT value)
Accessor
public Accessor<BeanT,ValueT> optimize(JAXBContextImpl context)
Accessor
optimize
in class Accessor<BeanT,ValueT>
context
- The JAXBContextImpl
that owns the whole thing.
(See RuntimeModelBuilder.context
.)this
.Copyright © 2019 JBoss by Red Hat. All rights reserved.