[
https://issues.apache.org/jira/browse/CAUSEWAY-3437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735979#comment-17735979
]
Andi Huber commented on CAUSEWAY-3437:
--------------------------------------
from XmlElement annotation:
boolean nillable() default false; -> If nillable() is true, then the JavaBean
property is mapped to a XML Schema nillable element declaration.
boolean required() default false; -> If required() is true, then Javabean
property is mapped to an XML schema element declaration with minOccurs="1".
We need to specify which XmlElement annotation attribute combinations of the 2
above map to which desired OPTIONALITY.
> Extend facet handling to infer optionality from JAXB @XmlElement.
> -----------------------------------------------------------------
>
> Key: CAUSEWAY-3437
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3437
> Project: Causeway
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-RC1
> Reporter: Daniel Keir Haywood
> Assignee: Andi Huber
> Priority: Minor
> Fix For: 2.0.0-RC2
>
>
> Once implemented, please update the @Property > optionality page in the demo
> app to say that this feature is supported ... there's a commented out
> paragraph already, as the replacement for the preceding para.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)