org.eclipse.persistence.oxm.annotations.XmlReadTransformer , org.eclipse.persistence.oxm.annotations.XmlWriteTransformer , org.eclipse.persistence.oxm.annotations.XmlWriteTransformers
| Modifier and Type | Method and Description |
|---|---|
| public boolean | optional()
(Optional) The optional element is a hint as to whether the value of the field or property may be null. |
| optional | back to summary |
|---|---|
| public boolean optional() (Optional) The optional element is a hint as to whether the value of the field or property may be null. It is disregarded for primitive types, which are considered non-optional. | |