FieldOutline that wraps another FieldOutline
and allows JAX-WS to access values without using about
JAXBElement.
That means if a value is requested, we unwrap JAXBElement and give it to them. If a value is set, we wrap that into JAXBElement, etc.
This can be used only with CReferencePropertyInfo
(or else it won't be JAXBElement,
with one CElementInfo (or else we can't infer the tag name.)
| Modifier and Type | Class and Description |
|---|---|
| protected abstract class |
| Modifier and Type | Field and Description |
|---|---|
| protected final FieldOutline | |
| protected final CElementInfo | ei
The only one |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final JCodeModel | |
| public CPropertyInfo | getPropertyInfo()
Implements com. Gets the corresponding model object. |
| protected final Outline | |
| public ClassOutline |
| core | back to summary |
|---|---|
| protected final FieldOutline core | |
| ei | back to summary |
|---|---|
| protected final CElementInfo ei The only one | |
| ElementAdapter | back to summary |
|---|---|
| public ElementAdapter(FieldOutline core, CElementInfo ei) | |
| codeModel | back to summary |
|---|---|
| protected final JCodeModel codeModel() | |
| getPropertyInfo | back to summary |
|---|---|
| public CPropertyInfo getPropertyInfo() Implements com. Doc from com. Gets the corresponding model object.
| |
| outline | back to summary |
|---|---|
| protected final Outline outline() | |
| parent | back to summary |
|---|---|
| public ClassOutline parent() Implements com. Doc from com. Gets the enclosing
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final FieldAccessor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final JInvocation | |
| public CPropertyInfo | getPropertyInfo()
Implements com. Short for |
| public JExpression | hasSetValue()
Implements com. Return an expression that evaluates to true only when this field has a set value(s). |
| public FieldOutline | owner()
Implements com. Gets the |
| public void | unsetValues(JBlock body)
Implements com. Generates a code fragment to remove any "set" value and move this field to the "unset" state. |
| acc | back to summary |
|---|---|
| pack-priv final FieldAccessor acc | |
| FieldAccessorImpl | back to summary |
|---|---|
| public FieldAccessorImpl(JExpression target) | |
| createJAXBElement | back to summary |
|---|---|
| protected final JInvocation createJAXBElement(JExpression $var) Wraps a type value into a | |
| getPropertyInfo | back to summary |
|---|---|
| public CPropertyInfo getPropertyInfo() Implements com. Doc from com. Short for
| |
| hasSetValue | back to summary |
|---|---|
| public JExpression hasSetValue() Implements com. Doc from com. Return an expression that evaluates to true only when this field has a set value(s).
| |
| owner | back to summary |
|---|---|
| public FieldOutline owner() Implements com. Doc from com. Gets the
| |
| unsetValues | back to summary |
|---|---|
| public void unsetValues(JBlock body) Implements com. Doc from com. Generates a code fragment to remove any "set" value and move this field to the "unset" state.
| |