Annotation Type GroupAs
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface GroupAs
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description JsonGroupAsBehavior
inJson
Describes how to handle collections in JSON/YAML.XmlGroupAsBehavior
inXml
Describes how to handle collections in XML.String
namespace
XML 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
-
-