Annotation Type GroupAs
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface GroupAs
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description JsonGroupAsBehaviorinJsonDescribes how to handle collections in JSON/YAML.XmlGroupAsBehaviorinXmlDescribes how to handle collections in XML.StringnamespaceXML target namespace of the XML grouping element.
-
-
-
-
inJson
@NonNull JsonGroupAsBehavior inJson
Describes how to handle collections in JSON/YAML.- Returns:
- the JSON collection strategy
- Default:
- gov.nist.secauto.metaschema.core.model.JsonGroupAsBehavior.SINGLETON_OR_LIST
-
-
-
inXml
@NonNull XmlGroupAsBehavior inXml
Describes how to handle collections in XML.- Returns:
- the XML collection strategy
- Default:
- gov.nist.secauto.metaschema.core.model.XmlGroupAsBehavior.UNGROUPED
-
-