_metaschemaBindings;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings} instance with no metadata.
*/
public MetaschemaBindings() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public MetaschemaBindings(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -96,8 +93,7 @@ public IMetaschemaData getMetaschemaData() {
* Get the model Binding.
*
*
- * Defines binding configurations that apply to a whole model described by a
- * namespace.
+ * Defines binding configurations that apply to a whole model described by a namespace.
*
* @return the model-binding value
*/
@@ -113,11 +109,10 @@ public List getModelBindings() {
* Set the model Binding.
*
*
- * Defines binding configurations that apply to a whole model described by a
- * namespace.
+ * Defines binding configurations that apply to a whole model described by a namespace.
*
* @param value
- * the model-binding value to set
+ * the model-binding value to set
*/
public void setModelBindings(@NonNull List value) {
_modelBindings = value;
@@ -125,13 +120,11 @@ public void setModelBindings(@NonNull List value) {
/**
* Add a new {@link ModelBinding} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addModelBinding(ModelBinding item) {
- ModelBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ModelBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_modelBindings == null) {
_modelBindings = new LinkedList<>();
}
@@ -139,15 +132,12 @@ public boolean addModelBinding(ModelBinding item) {
}
/**
- * Remove the first matching {@link ModelBinding} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link ModelBinding} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeModelBinding(ModelBinding item) {
- ModelBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ModelBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _modelBindings != null && _modelBindings.remove(value);
}
@@ -174,7 +164,7 @@ public List getMetaschemaBindings() {
* Defines a binding for a given metaschema identified by a relative URL.
*
* @param value
- * the metaschema-binding value to set
+ * the metaschema-binding value to set
*/
public void setMetaschemaBindings(@NonNull List value) {
_metaschemaBindings = value;
@@ -182,13 +172,11 @@ public void setMetaschemaBindings(@NonNull List value) {
/**
* Add a new {@link MetaschemaBinding} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addMetaschemaBinding(MetaschemaBinding item) {
- MetaschemaBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ MetaschemaBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_metaschemaBindings == null) {
_metaschemaBindings = new LinkedList<>();
}
@@ -196,15 +184,12 @@ public boolean addMetaschemaBinding(MetaschemaBinding item) {
}
/**
- * Remove the first matching {@link MetaschemaBinding} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link MetaschemaBinding} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeMetaschemaBinding(MetaschemaBinding item) {
- MetaschemaBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ MetaschemaBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _metaschemaBindings != null && _metaschemaBindings.remove(value);
}
@@ -214,27 +199,27 @@ public String toString() {
}
/**
- * Defines binding configurations that apply to a whole model described by a
- * namespace.
+ * Defines binding configurations that apply to a whole model described by a namespace.
*/
@MetaschemaAssembly(
formalName = "Model Binding",
description = "Defines binding configurations that apply to a whole model described by a namespace.",
name = "model-binding",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class ModelBinding implements IBoundObject {
private final IMetaschemaData __metaschemaData;
/**
- * A URI referencing the namespace of one or more related metaschema
- * definitions.
+ * A URI referencing the namespace of one or more related metaschema definitions.
*/
@BoundFlag(
formalName = "Namespace",
description = "A URI referencing the namespace of one or more related metaschema definitions.",
name = "namespace",
required = true,
- typeAdapter = UriAdapter.class)
+ typeAdapter = UriAdapter.class
+ )
private URI _namespace;
/**
@@ -243,25 +228,22 @@ public static class ModelBinding implements IBoundObject {
@BoundAssembly(
formalName = "Java Model Binding",
description = "Java-specific binding configuration for a model namespace.",
- useName = "java")
+ useName = "java"
+ )
private Java _java;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.ModelBinding}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.ModelBinding} instance with no metadata.
*/
public ModelBinding() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.ModelBinding}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.ModelBinding} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public ModelBinding(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -276,8 +258,7 @@ public IMetaschemaData getMetaschemaData() {
* Get the namespace.
*
*
- * A URI referencing the namespace of one or more related metaschema
- * definitions.
+ * A URI referencing the namespace of one or more related metaschema definitions.
*
* @return the namespace value
*/
@@ -290,11 +271,10 @@ public URI getNamespace() {
* Set the namespace.
*
*
- * A URI referencing the namespace of one or more related metaschema
- * definitions.
+ * A URI referencing the namespace of one or more related metaschema definitions.
*
* @param value
- * the namespace value to set
+ * the namespace value to set
*/
public void setNamespace(@NonNull URI value) {
_namespace = value;
@@ -320,7 +300,7 @@ public Java getJava() {
* Java-specific binding configuration for a model namespace.
*
* @param value
- * the java value to set
+ * the java value to set
*/
public void setJava(@Nullable Java value) {
_java = value;
@@ -338,7 +318,8 @@ public String toString() {
formalName = "Java Model Binding",
description = "Java-specific binding configuration for a model namespace.",
name = "java",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class Java implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -349,25 +330,22 @@ public static class Java implements IBoundObject {
formalName = "Use Package Name",
description = "The Java package name to use for classes generated from this namespace.",
useName = "use-package-name",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _usePackageName;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.ModelBinding.Java}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.ModelBinding.Java} instance with no metadata.
*/
public Java() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.ModelBinding.Java}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.ModelBinding.Java} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Java(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -398,7 +376,7 @@ public String getUsePackageName() {
* The Java package name to use for classes generated from this namespace.
*
* @param value
- * the use-package-name value to set
+ * the use-package-name value to set
*/
public void setUsePackageName(@Nullable String value) {
_usePackageName = value;
@@ -418,62 +396,59 @@ public String toString() {
formalName = "Metaschema Binding",
description = "Defines a binding for a given metaschema identified by a relative URL.",
name = "metaschema-binding",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class MetaschemaBinding implements IBoundObject {
private final IMetaschemaData __metaschemaData;
/**
- * A URL relative to this binding configuration file, pointing to a metaschema
- * definition.
+ * A URL relative to this binding configuration file, pointing to a metaschema definition.
*/
@BoundFlag(
formalName = "Href",
description = "A URL relative to this binding configuration file, pointing to a metaschema definition.",
name = "href",
required = true,
- typeAdapter = UriReferenceAdapter.class)
+ typeAdapter = UriReferenceAdapter.class
+ )
private URI _href;
/**
- * Provides binding configurations for a given defined assembly within the
- * parent metaschema.
+ * Provides binding configurations for a given defined assembly within the parent metaschema.
*/
@BoundAssembly(
formalName = "Define Assembly Binding",
description = "Provides binding configurations for a given defined assembly within the parent metaschema.",
useName = "define-assembly-binding",
maxOccurs = -1,
- groupAs = @GroupAs(name = "define-assembly-bindings", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "define-assembly-bindings", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _defineAssemblyBindings;
/**
- * Provides binding configurations for a given defined field within the parent
- * metaschema.
+ * Provides binding configurations for a given defined field within the parent metaschema.
*/
@BoundAssembly(
formalName = "Define Field Binding",
description = "Provides binding configurations for a given defined field within the parent metaschema.",
useName = "define-field-binding",
maxOccurs = -1,
- groupAs = @GroupAs(name = "define-field-bindings", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "define-field-bindings", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _defineFieldBindings;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding} instance with no metadata.
*/
public MetaschemaBinding() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public MetaschemaBinding(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -488,8 +463,7 @@ public IMetaschemaData getMetaschemaData() {
* Get the href.
*
*
- * A URL relative to this binding configuration file, pointing to a metaschema
- * definition.
+ * A URL relative to this binding configuration file, pointing to a metaschema definition.
*
* @return the href value
*/
@@ -502,11 +476,10 @@ public URI getHref() {
* Set the href.
*
*
- * A URL relative to this binding configuration file, pointing to a metaschema
- * definition.
+ * A URL relative to this binding configuration file, pointing to a metaschema definition.
*
* @param value
- * the href value to set
+ * the href value to set
*/
public void setHref(@NonNull URI value) {
_href = value;
@@ -516,8 +489,7 @@ public void setHref(@NonNull URI value) {
* Get the define Assembly Binding.
*
*
- * Provides binding configurations for a given defined assembly within the
- * parent metaschema.
+ * Provides binding configurations for a given defined assembly within the parent metaschema.
*
* @return the define-assembly-binding value
*/
@@ -533,11 +505,10 @@ public List getDefineAssemblyBindings() {
* Set the define Assembly Binding.
*
*
- * Provides binding configurations for a given defined assembly within the
- * parent metaschema.
+ * Provides binding configurations for a given defined assembly within the parent metaschema.
*
* @param value
- * the define-assembly-binding value to set
+ * the define-assembly-binding value to set
*/
public void setDefineAssemblyBindings(@NonNull List value) {
_defineAssemblyBindings = value;
@@ -545,13 +516,11 @@ public void setDefineAssemblyBindings(@NonNull List value
/**
* Add a new {@link DefineAssemblyBinding} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addDefineAssemblyBinding(DefineAssemblyBinding item) {
- DefineAssemblyBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ DefineAssemblyBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_defineAssemblyBindings == null) {
_defineAssemblyBindings = new LinkedList<>();
}
@@ -559,15 +528,12 @@ public boolean addDefineAssemblyBinding(DefineAssemblyBinding item) {
}
/**
- * Remove the first matching {@link DefineAssemblyBinding} item from the
- * underlying collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link DefineAssemblyBinding} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeDefineAssemblyBinding(DefineAssemblyBinding item) {
- DefineAssemblyBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ DefineAssemblyBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _defineAssemblyBindings != null && _defineAssemblyBindings.remove(value);
}
@@ -575,8 +541,7 @@ public boolean removeDefineAssemblyBinding(DefineAssemblyBinding item) {
* Get the define Field Binding.
*
*
- * Provides binding configurations for a given defined field within the parent
- * metaschema.
+ * Provides binding configurations for a given defined field within the parent metaschema.
*
* @return the define-field-binding value
*/
@@ -592,11 +557,10 @@ public List getDefineFieldBindings() {
* Set the define Field Binding.
*
*
- * Provides binding configurations for a given defined field within the parent
- * metaschema.
+ * Provides binding configurations for a given defined field within the parent metaschema.
*
* @param value
- * the define-field-binding value to set
+ * the define-field-binding value to set
*/
public void setDefineFieldBindings(@NonNull List value) {
_defineFieldBindings = value;
@@ -604,13 +568,11 @@ public void setDefineFieldBindings(@NonNull List value) {
/**
* Add a new {@link DefineFieldBinding} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addDefineFieldBinding(DefineFieldBinding item) {
- DefineFieldBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ DefineFieldBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_defineFieldBindings == null) {
_defineFieldBindings = new LinkedList<>();
}
@@ -618,15 +580,12 @@ public boolean addDefineFieldBinding(DefineFieldBinding item) {
}
/**
- * Remove the first matching {@link DefineFieldBinding} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link DefineFieldBinding} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeDefineFieldBinding(DefineFieldBinding item) {
- DefineFieldBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ DefineFieldBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _defineFieldBindings != null && _defineFieldBindings.remove(value);
}
@@ -636,14 +595,14 @@ public String toString() {
}
/**
- * Provides binding configurations for a given defined assembly within the
- * parent metaschema.
+ * Provides binding configurations for a given defined assembly within the parent metaschema.
*/
@MetaschemaAssembly(
formalName = "Define Assembly Binding",
description = "Provides binding configurations for a given defined assembly within the parent metaschema.",
name = "define-assembly-binding",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class DefineAssemblyBinding implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -654,18 +613,19 @@ public static class DefineAssemblyBinding implements IBoundObject {
formalName = "Name",
description = "The name of the metaschema assembly. Used for top-level definitions.",
name = "name",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
/**
- * A Metapath expression targeting the assembly definition(s) within the
- * metaschema. Used for inline definitions.
+ * A Metapath expression targeting the assembly definition(s) within the metaschema. Used for inline definitions.
*/
@BoundFlag(
formalName = "Target",
description = "A Metapath expression targeting the assembly definition(s) within the metaschema. Used for inline definitions.",
name = "target",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _target;
/**
@@ -674,7 +634,8 @@ public static class DefineAssemblyBinding implements IBoundObject {
@BoundAssembly(
formalName = "Java Object Definition Binding",
description = "Field and assembly binding configurations for Java bound classes.",
- useName = "java")
+ useName = "java"
+ )
private Java _java;
/**
@@ -685,7 +646,8 @@ public static class DefineAssemblyBinding implements IBoundObject {
description = "Provides binding configurations for a property within the parent definition.",
useName = "property-binding",
maxOccurs = -1,
- groupAs = @GroupAs(name = "property-bindings", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "property-bindings", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _propertyBindings;
/**
@@ -696,25 +658,22 @@ public static class DefineAssemblyBinding implements IBoundObject {
description = "Provides binding configuration for a choice group within the parent assembly.",
useName = "choice-group-binding",
maxOccurs = -1,
- groupAs = @GroupAs(name = "choice-group-bindings", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "choice-group-bindings", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _choiceGroupBindings;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding} instance with no metadata.
*/
public DefineAssemblyBinding() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public DefineAssemblyBinding(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -745,7 +704,7 @@ public String getName() {
* The name of the metaschema assembly. Used for top-level definitions.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@Nullable String value) {
_name = value;
@@ -755,8 +714,7 @@ public void setName(@Nullable String value) {
* Get the target.
*
*
- * A Metapath expression targeting the assembly definition(s) within the
- * metaschema. Used for inline definitions.
+ * A Metapath expression targeting the assembly definition(s) within the metaschema. Used for inline definitions.
*
* @return the target value, or {@code null} if not set
*/
@@ -769,11 +727,10 @@ public String getTarget() {
* Set the target.
*
*
- * A Metapath expression targeting the assembly definition(s) within the
- * metaschema. Used for inline definitions.
+ * A Metapath expression targeting the assembly definition(s) within the metaschema. Used for inline definitions.
*
* @param value
- * the target value to set
+ * the target value to set
*/
public void setTarget(@Nullable String value) {
_target = value;
@@ -799,7 +756,7 @@ public Java getJava() {
* Field and assembly binding configurations for Java bound classes.
*
* @param value
- * the java value to set
+ * the java value to set
*/
public void setJava(@Nullable Java value) {
_java = value;
@@ -828,7 +785,7 @@ public List getPropertyBindings() {
* Provides binding configurations for a property within the parent definition.
*
* @param value
- * the property-binding value to set
+ * the property-binding value to set
*/
public void setPropertyBindings(@NonNull List value) {
_propertyBindings = value;
@@ -836,13 +793,11 @@ public void setPropertyBindings(@NonNull List value) {
/**
* Add a new {@link PropertyBinding} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addPropertyBinding(PropertyBinding item) {
- PropertyBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ PropertyBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_propertyBindings == null) {
_propertyBindings = new LinkedList<>();
}
@@ -850,15 +805,12 @@ public boolean addPropertyBinding(PropertyBinding item) {
}
/**
- * Remove the first matching {@link PropertyBinding} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link PropertyBinding} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removePropertyBinding(PropertyBinding item) {
- PropertyBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ PropertyBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _propertyBindings != null && _propertyBindings.remove(value);
}
@@ -885,7 +837,7 @@ public List getChoiceGroupBindings() {
* Provides binding configuration for a choice group within the parent assembly.
*
* @param value
- * the choice-group-binding value to set
+ * the choice-group-binding value to set
*/
public void setChoiceGroupBindings(@NonNull List value) {
_choiceGroupBindings = value;
@@ -893,13 +845,11 @@ public void setChoiceGroupBindings(@NonNull List value) {
/**
* Add a new {@link ChoiceGroupBinding} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addChoiceGroupBinding(ChoiceGroupBinding item) {
- ChoiceGroupBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ChoiceGroupBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_choiceGroupBindings == null) {
_choiceGroupBindings = new LinkedList<>();
}
@@ -907,15 +857,12 @@ public boolean addChoiceGroupBinding(ChoiceGroupBinding item) {
}
/**
- * Remove the first matching {@link ChoiceGroupBinding} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link ChoiceGroupBinding} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeChoiceGroupBinding(ChoiceGroupBinding item) {
- ChoiceGroupBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ChoiceGroupBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _choiceGroupBindings != null && _choiceGroupBindings.remove(value);
}
@@ -931,7 +878,8 @@ public String toString() {
formalName = "Java Object Definition Binding",
description = "Field and assembly binding configurations for Java bound classes.",
name = "java",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class Java implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -942,12 +890,12 @@ public static class Java implements IBoundObject {
formalName = "Use Class Name",
description = "The Java class name to use for the generated class.",
useName = "use-class-name",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _useClassName;
/**
- * A fully qualified Java interface name that the generated class should
- * implement.
+ * A fully qualified Java interface name that the generated class should implement.
*/
@BoundField(
formalName = "Implement Interface",
@@ -955,7 +903,8 @@ public static class Java implements IBoundObject {
useName = "implement-interface",
maxOccurs = -1,
groupAs = @GroupAs(name = "implement-interfaces", inJson = JsonGroupAsBehavior.LIST),
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private List _implementInterfaces;
/**
@@ -965,7 +914,8 @@ public static class Java implements IBoundObject {
formalName = "Extend Base Class",
description = "A fully qualified Java class name that the generated class should extend.",
useName = "extend-base-class",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _extendBaseClass;
/**
@@ -975,25 +925,22 @@ public static class Java implements IBoundObject {
formalName = "Collection Class",
description = "A fully qualified Java collection class name to use instead of the default.",
useName = "collection-class",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _collectionClass;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.Java}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.Java} instance with no metadata.
*/
public Java() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.Java}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.Java} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Java(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1024,7 +971,7 @@ public String getUseClassName() {
* The Java class name to use for the generated class.
*
* @param value
- * the use-class-name value to set
+ * the use-class-name value to set
*/
public void setUseClassName(@Nullable String value) {
_useClassName = value;
@@ -1034,8 +981,7 @@ public void setUseClassName(@Nullable String value) {
* Get the implement Interface.
*
*
- * A fully qualified Java interface name that the generated class should
- * implement.
+ * A fully qualified Java interface name that the generated class should implement.
*
* @return the implement-interface value
*/
@@ -1051,11 +997,10 @@ public List getImplementInterfaces() {
* Set the implement Interface.
*
*
- * A fully qualified Java interface name that the generated class should
- * implement.
+ * A fully qualified Java interface name that the generated class should implement.
*
* @param value
- * the implement-interface value to set
+ * the implement-interface value to set
*/
public void setImplementInterfaces(@NonNull List value) {
_implementInterfaces = value;
@@ -1063,13 +1008,11 @@ public void setImplementInterfaces(@NonNull List value) {
/**
* Add a new {@link String} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addImplementInterface(String item) {
- String value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ String value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_implementInterfaces == null) {
_implementInterfaces = new LinkedList<>();
}
@@ -1078,13 +1021,11 @@ public boolean addImplementInterface(String item) {
/**
* Remove the first matching {@link String} item from the underlying collection.
- *
- * @param item
- * the item to remove
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeImplementInterface(String item) {
- String value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ String value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _implementInterfaces != null && _implementInterfaces.remove(value);
}
@@ -1108,7 +1049,7 @@ public String getExtendBaseClass() {
* A fully qualified Java class name that the generated class should extend.
*
* @param value
- * the extend-base-class value to set
+ * the extend-base-class value to set
*/
public void setExtendBaseClass(@Nullable String value) {
_extendBaseClass = value;
@@ -1134,7 +1075,7 @@ public String getCollectionClass() {
* A fully qualified Java collection class name to use instead of the default.
*
* @param value
- * the collection-class value to set
+ * the collection-class value to set
*/
public void setCollectionClass(@Nullable String value) {
_collectionClass = value;
@@ -1153,7 +1094,8 @@ public String toString() {
formalName = "Property Binding",
description = "Provides binding configurations for a property within the parent definition.",
name = "property-binding",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class PropertyBinding implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -1165,7 +1107,8 @@ public static class PropertyBinding implements IBoundObject {
description = "The name of the property within the parent definition.",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
/**
@@ -1174,25 +1117,22 @@ public static class PropertyBinding implements IBoundObject {
@BoundAssembly(
formalName = "Java Property Binding",
description = "Java-specific binding configuration for a property.",
- useName = "java")
+ useName = "java"
+ )
private Java _java;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding} instance with no metadata.
*/
public PropertyBinding() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public PropertyBinding(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1223,7 +1163,7 @@ public String getName() {
* The name of the property within the parent definition.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -1249,7 +1189,7 @@ public Java getJava() {
* Java-specific binding configuration for a property.
*
* @param value
- * the java value to set
+ * the java value to set
*/
public void setJava(@Nullable Java value) {
_java = value;
@@ -1267,7 +1207,8 @@ public String toString() {
formalName = "Java Property Binding",
description = "Java-specific binding configuration for a property.",
name = "java",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class Java implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -1278,25 +1219,22 @@ public static class Java implements IBoundObject {
formalName = "Collection Class",
description = "A fully qualified Java collection class name to use instead of the default.",
useName = "collection-class",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _collectionClass;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding.Java}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding.Java} instance with no metadata.
*/
public Java() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding.Java}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.PropertyBinding.Java} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Java(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1327,7 +1265,7 @@ public String getCollectionClass() {
* A fully qualified Java collection class name to use instead of the default.
*
* @param value
- * the collection-class value to set
+ * the collection-class value to set
*/
public void setCollectionClass(@Nullable String value) {
_collectionClass = value;
@@ -1347,7 +1285,8 @@ public String toString() {
formalName = "Choice Group Binding",
description = "Provides binding configuration for a choice group within the parent assembly.",
name = "choice-group-binding",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class ChoiceGroupBinding implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -1359,35 +1298,32 @@ public static class ChoiceGroupBinding implements IBoundObject {
description = "The name of the choice group (matches the group-as name in the metaschema).",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
/**
- * A fully qualified Java type for collection items. When specified, the
- * generated field and getter will use this type instead of Object.
+ * A fully qualified Java type for collection items. When specified, the generated field and getter will use this type instead of Object.
*/
@BoundField(
formalName = "Item Type",
description = "A fully qualified Java type for collection items. When specified, the generated field and getter will use this type instead of Object.",
- useName = "item-type")
+ useName = "item-type"
+ )
private ItemType _itemType;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding} instance with no metadata.
*/
public ChoiceGroupBinding() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public ChoiceGroupBinding(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1418,7 +1354,7 @@ public String getName() {
* The name of the choice group (matches the group-as name in the metaschema).
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -1428,8 +1364,7 @@ public void setName(@NonNull String value) {
* Get the item Type.
*
*
- * A fully qualified Java type for collection items. When specified, the
- * generated field and getter will use this type instead of Object.
+ * A fully qualified Java type for collection items. When specified, the generated field and getter will use this type instead of Object.
*
* @return the item-type value, or {@code null} if not set
*/
@@ -1442,11 +1377,10 @@ public ItemType getItemType() {
* Set the item Type.
*
*
- * A fully qualified Java type for collection items. When specified, the
- * generated field and getter will use this type instead of Object.
+ * A fully qualified Java type for collection items. When specified, the generated field and getter will use this type instead of Object.
*
* @param value
- * the item-type value to set
+ * the item-type value to set
*/
public void setItemType(@Nullable ItemType value) {
_itemType = value;
@@ -1458,50 +1392,47 @@ public String toString() {
}
/**
- * A fully qualified Java type for collection items. When specified, the
- * generated field and getter will use this type instead of Object.
+ * A fully qualified Java type for collection items. When specified, the generated field and getter will use this type instead of Object.
*/
@MetaschemaField(
formalName = "Item Type",
description = "A fully qualified Java type for collection items. When specified, the generated field and getter will use this type instead of Object.",
name = "item-type",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class ItemType implements IBoundObject {
private final IMetaschemaData __metaschemaData;
/**
- * Whether to use a wildcard bounded type (List<? extends Type>). Defaults
- * to true.
+ * Whether to use a wildcard bounded type (List<? extends Type>). Defaults to true.
*/
@BoundFlag(
formalName = "Use Wildcard",
description = "Whether to use a wildcard bounded type (List extends Type>). Defaults to true.",
name = "use-wildcard",
defaultValue = "true",
- typeAdapter = BooleanAdapter.class)
+ typeAdapter = BooleanAdapter.class
+ )
private Boolean _useWildcard;
@BoundFieldValue(
valueKeyName = "STRVALUE",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _value;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType} instance with no metadata.
*/
public ItemType() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public ItemType(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1516,8 +1447,7 @@ public IMetaschemaData getMetaschemaData() {
* Get the use Wildcard.
*
*
- * Whether to use a wildcard bounded type (List<? extends Type>). Defaults
- * to true.
+ * Whether to use a wildcard bounded type (List<? extends Type>). Defaults to true.
*
* @return the use-wildcard value, or {@code null} if not set
*/
@@ -1530,11 +1460,10 @@ public Boolean getUseWildcard() {
* Set the use Wildcard.
*
*
- * Whether to use a wildcard bounded type (List<? extends Type>). Defaults
- * to true.
+ * Whether to use a wildcard bounded type (List<? extends Type>). Defaults to true.
*
* @param value
- * the use-wildcard value to set
+ * the use-wildcard value to set
*/
public void setUseWildcard(@Nullable Boolean value) {
_useWildcard = value;
@@ -1558,14 +1487,14 @@ public String toString() {
}
/**
- * Provides binding configurations for a given defined field within the parent
- * metaschema.
+ * Provides binding configurations for a given defined field within the parent metaschema.
*/
@MetaschemaAssembly(
formalName = "Define Field Binding",
description = "Provides binding configurations for a given defined field within the parent metaschema.",
name = "define-field-binding",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class DefineFieldBinding implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -1576,18 +1505,19 @@ public static class DefineFieldBinding implements IBoundObject {
formalName = "Name",
description = "The name of the metaschema field. Used for top-level definitions.",
name = "name",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
/**
- * A Metapath expression targeting the field definition(s) within the
- * metaschema. Used for inline definitions.
+ * A Metapath expression targeting the field definition(s) within the metaschema. Used for inline definitions.
*/
@BoundFlag(
formalName = "Target",
description = "A Metapath expression targeting the field definition(s) within the metaschema. Used for inline definitions.",
name = "target",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _target;
/**
@@ -1596,7 +1526,8 @@ public static class DefineFieldBinding implements IBoundObject {
@BoundAssembly(
formalName = "Java Object Definition Binding",
description = "Field and assembly binding configurations for Java bound classes.",
- useName = "java")
+ useName = "java"
+ )
private Java _java;
/**
@@ -1607,25 +1538,22 @@ public static class DefineFieldBinding implements IBoundObject {
description = "Provides binding configurations for a property within the parent definition.",
useName = "property-binding",
maxOccurs = -1,
- groupAs = @GroupAs(name = "property-bindings", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "property-bindings", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _propertyBindings;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding} instance with no metadata.
*/
public DefineFieldBinding() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public DefineFieldBinding(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1656,7 +1584,7 @@ public String getName() {
* The name of the metaschema field. Used for top-level definitions.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@Nullable String value) {
_name = value;
@@ -1666,8 +1594,7 @@ public void setName(@Nullable String value) {
* Get the target.
*
*
- * A Metapath expression targeting the field definition(s) within the
- * metaschema. Used for inline definitions.
+ * A Metapath expression targeting the field definition(s) within the metaschema. Used for inline definitions.
*
* @return the target value, or {@code null} if not set
*/
@@ -1680,11 +1607,10 @@ public String getTarget() {
* Set the target.
*
*
- * A Metapath expression targeting the field definition(s) within the
- * metaschema. Used for inline definitions.
+ * A Metapath expression targeting the field definition(s) within the metaschema. Used for inline definitions.
*
* @param value
- * the target value to set
+ * the target value to set
*/
public void setTarget(@Nullable String value) {
_target = value;
@@ -1710,7 +1636,7 @@ public Java getJava() {
* Field and assembly binding configurations for Java bound classes.
*
* @param value
- * the java value to set
+ * the java value to set
*/
public void setJava(@Nullable Java value) {
_java = value;
@@ -1739,7 +1665,7 @@ public List getPropertyBindings() {
* Provides binding configurations for a property within the parent definition.
*
* @param value
- * the property-binding value to set
+ * the property-binding value to set
*/
public void setPropertyBindings(@NonNull List value) {
_propertyBindings = value;
@@ -1747,13 +1673,11 @@ public void setPropertyBindings(@NonNull List value) {
/**
* Add a new {@link PropertyBinding} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addPropertyBinding(PropertyBinding item) {
- PropertyBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ PropertyBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_propertyBindings == null) {
_propertyBindings = new LinkedList<>();
}
@@ -1761,15 +1685,12 @@ public boolean addPropertyBinding(PropertyBinding item) {
}
/**
- * Remove the first matching {@link PropertyBinding} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link PropertyBinding} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removePropertyBinding(PropertyBinding item) {
- PropertyBinding value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ PropertyBinding value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _propertyBindings != null && _propertyBindings.remove(value);
}
@@ -1785,7 +1706,8 @@ public String toString() {
formalName = "Java Object Definition Binding",
description = "Field and assembly binding configurations for Java bound classes.",
name = "java",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class Java implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -1796,12 +1718,12 @@ public static class Java implements IBoundObject {
formalName = "Use Class Name",
description = "The Java class name to use for the generated class.",
useName = "use-class-name",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _useClassName;
/**
- * A fully qualified Java interface name that the generated class should
- * implement.
+ * A fully qualified Java interface name that the generated class should implement.
*/
@BoundField(
formalName = "Implement Interface",
@@ -1809,7 +1731,8 @@ public static class Java implements IBoundObject {
useName = "implement-interface",
maxOccurs = -1,
groupAs = @GroupAs(name = "implement-interfaces", inJson = JsonGroupAsBehavior.LIST),
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private List _implementInterfaces;
/**
@@ -1819,7 +1742,8 @@ public static class Java implements IBoundObject {
formalName = "Extend Base Class",
description = "A fully qualified Java class name that the generated class should extend.",
useName = "extend-base-class",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _extendBaseClass;
/**
@@ -1829,25 +1753,22 @@ public static class Java implements IBoundObject {
formalName = "Collection Class",
description = "A fully qualified Java collection class name to use instead of the default.",
useName = "collection-class",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _collectionClass;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Java}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Java} instance with no metadata.
*/
public Java() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Java}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.Java} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Java(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1878,7 +1799,7 @@ public String getUseClassName() {
* The Java class name to use for the generated class.
*
* @param value
- * the use-class-name value to set
+ * the use-class-name value to set
*/
public void setUseClassName(@Nullable String value) {
_useClassName = value;
@@ -1888,8 +1809,7 @@ public void setUseClassName(@Nullable String value) {
* Get the implement Interface.
*
*
- * A fully qualified Java interface name that the generated class should
- * implement.
+ * A fully qualified Java interface name that the generated class should implement.
*
* @return the implement-interface value
*/
@@ -1905,11 +1825,10 @@ public List getImplementInterfaces() {
* Set the implement Interface.
*
*
- * A fully qualified Java interface name that the generated class should
- * implement.
+ * A fully qualified Java interface name that the generated class should implement.
*
* @param value
- * the implement-interface value to set
+ * the implement-interface value to set
*/
public void setImplementInterfaces(@NonNull List value) {
_implementInterfaces = value;
@@ -1917,13 +1836,11 @@ public void setImplementInterfaces(@NonNull List value) {
/**
* Add a new {@link String} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addImplementInterface(String item) {
- String value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ String value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_implementInterfaces == null) {
_implementInterfaces = new LinkedList<>();
}
@@ -1932,13 +1849,11 @@ public boolean addImplementInterface(String item) {
/**
* Remove the first matching {@link String} item from the underlying collection.
- *
- * @param item
- * the item to remove
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeImplementInterface(String item) {
- String value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ String value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _implementInterfaces != null && _implementInterfaces.remove(value);
}
@@ -1962,7 +1877,7 @@ public String getExtendBaseClass() {
* A fully qualified Java class name that the generated class should extend.
*
* @param value
- * the extend-base-class value to set
+ * the extend-base-class value to set
*/
public void setExtendBaseClass(@Nullable String value) {
_extendBaseClass = value;
@@ -1988,7 +1903,7 @@ public String getCollectionClass() {
* A fully qualified Java collection class name to use instead of the default.
*
* @param value
- * the collection-class value to set
+ * the collection-class value to set
*/
public void setCollectionClass(@Nullable String value) {
_collectionClass = value;
@@ -2007,7 +1922,8 @@ public String toString() {
formalName = "Property Binding",
description = "Provides binding configurations for a property within the parent definition.",
name = "property-binding",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class PropertyBinding implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -2019,7 +1935,8 @@ public static class PropertyBinding implements IBoundObject {
description = "The name of the property within the parent definition.",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
/**
@@ -2028,25 +1945,22 @@ public static class PropertyBinding implements IBoundObject {
@BoundAssembly(
formalName = "Java Property Binding",
description = "Java-specific binding configuration for a property.",
- useName = "java")
+ useName = "java"
+ )
private Java _java;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.PropertyBinding}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.PropertyBinding} instance with no metadata.
*/
public PropertyBinding() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.PropertyBinding}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.PropertyBinding} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public PropertyBinding(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -2077,7 +1991,7 @@ public String getName() {
* The name of the property within the parent definition.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -2103,7 +2017,7 @@ public Java getJava() {
* Java-specific binding configuration for a property.
*
* @param value
- * the java value to set
+ * the java value to set
*/
public void setJava(@Nullable Java value) {
_java = value;
@@ -2121,7 +2035,8 @@ public String toString() {
formalName = "Java Property Binding",
description = "Java-specific binding configuration for a property.",
name = "java",
- moduleClass = MetaschemaBindingsModule.class)
+ moduleClass = MetaschemaBindingsModule.class
+ )
public static class Java implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -2132,25 +2047,22 @@ public static class Java implements IBoundObject {
formalName = "Collection Class",
description = "A fully qualified Java collection class name to use instead of the default.",
useName = "collection-class",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _collectionClass;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.PropertyBinding.Java}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.PropertyBinding.Java} instance with no metadata.
*/
public Java() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.PropertyBinding.Java}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineFieldBinding.PropertyBinding.Java} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Java(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -2181,7 +2093,7 @@ public String getCollectionClass() {
* A fully qualified Java collection class name to use instead of the default.
*
* @param value
- * the collection-class value to set
+ * the collection-class value to set
*/
public void setCollectionClass(@Nullable String value) {
_collectionClass = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/config/binding/MetaschemaBindingsModule.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/config/binding/MetaschemaBindingsModule.java
index 701b02b2c..e82cd34bd 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/config/binding/MetaschemaBindingsModule.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/config/binding/MetaschemaBindingsModule.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../metaschema/metaschema-bindings.yaml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.config.binding;
import gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine;
@@ -18,21 +17,19 @@
/**
* Metaschema Binding Configuration
- *
- * This module defines the binding configuration format used to customize Java
- * code generation from Metaschema modules. It allows specifying package names,
- * class names, interface implementations, base classes, and collection types
- * for generated binding classes.
- *
+ * This module defines the binding configuration format used to customize
+ * Java code generation from Metaschema modules. It allows specifying
+ * package names, class names, interface implementations, base classes,
+ * and collection types for generated binding classes.
*/
@MetaschemaModule(
assemblies = MetaschemaBindings.class,
remarks = "This module defines the binding configuration format used to customize\n"
- + "Java code generation from Metaschema modules. It allows specifying\n"
- + "package names, class names, interface implementations, base classes,\n"
- + "and collection types for generated binding classes.")
-public final class MetaschemaBindingsModule
- extends AbstractBoundModule {
+ + "Java code generation from Metaschema modules. It allows specifying\n"
+ + "package names, class names, interface implementations, base classes,\n"
+ + "and collection types for generated binding classes."
+)
+public final class MetaschemaBindingsModule extends AbstractBoundModule {
private static final MarkupLine NAME = MarkupLine.fromMarkdown("Metaschema Binding Configuration");
private static final String SHORT_NAME = "metaschema-bindings";
@@ -43,19 +40,18 @@ public final class MetaschemaBindingsModule
private static final URI JSON_BASE_URI = URI.create("https://csrc.nist.gov/ns/metaschema-binding/1.0");
- private static final MarkupMultiline REMARKS
- = MarkupMultiline.fromMarkdown("This module defines the binding configuration format used to customize\n"
- + "Java code generation from Metaschema modules. It allows specifying\n"
- + "package names, class names, interface implementations, base classes,\n"
- + "and collection types for generated binding classes.");
+ private static final MarkupMultiline REMARKS = MarkupMultiline.fromMarkdown("This module defines the binding configuration format used to customize\n"
+ + "Java code generation from Metaschema modules. It allows specifying\n"
+ + "package names, class names, interface implementations, base classes,\n"
+ + "and collection types for generated binding classes.");
/**
* Construct a new module instance.
*
* @param importedModules
- * modules imported by this module
+ * modules imported by this module
* @param bindingContext
- * the binding context to associate with this module
+ * the binding context to associate with this module
*/
public MetaschemaBindingsModule(List extends IBoundModule> importedModules,
IBindingContext bindingContext) {
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/config/binding/package-info.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/config/binding/package-info.java
index 19e51a9a3..b4593a9da 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/config/binding/package-info.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/config/binding/package-info.java
@@ -5,24 +5,16 @@
// Generated from: ../../../../../../../../metaschema/metaschema-bindings.yaml
// Do not edit - changes will be lost when regenerated.
/**
- * Provides generated binding classes for the Metaschema Binding Configuration
- * Metaschema module(s).
+ * Provides generated Metaschema binding classes for module(s): Metaschema Binding Configuration.
*
- * Metaschema Binding Configuration (version 1.0.0)
+ * version 1.0.0
*
- *
- * This module defines the binding configuration format used to customize Java
- * code generation from Metaschema modules. It allows specifying package names,
- * class names, interface implementations, base classes, and collection types
- * for generated binding classes.
- *
+ * This module defines the binding configuration format used to customize
+Java code generation from Metaschema modules. It allows specifying
+package names, class names, interface implementations, base classes,
+and collection types for generated binding classes.
*/
-
@gov.nist.secauto.metaschema.databind.model.annotations.MetaschemaPackage(moduleClass = {
- gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindingsModule.class })
-@gov.nist.secauto.metaschema.databind.model.annotations.XmlSchema(
- namespace = "https://csrc.nist.gov/ns/metaschema-binding/1.0",
- xmlns = { @gov.nist.secauto.metaschema.databind.model.annotations.XmlNs(prefix = "",
- namespace = "https://csrc.nist.gov/ns/metaschema-binding/1.0") },
- xmlElementFormDefault = gov.nist.secauto.metaschema.databind.model.annotations.XmlNsForm.QUALIFIED)
+ gov.nist.secauto.metaschema.databind.config.binding.MetaschemaBindingsModule.class})
+@gov.nist.secauto.metaschema.databind.model.annotations.XmlSchema(namespace = "https://csrc.nist.gov/ns/metaschema-binding/1.0", xmlns = {@gov.nist.secauto.metaschema.databind.model.annotations.XmlNs(prefix = "", namespace = "https://csrc.nist.gov/ns/metaschema-binding/1.0")}, xmlElementFormDefault = gov.nist.secauto.metaschema.databind.model.annotations.XmlNsForm.QUALIFIED)
package gov.nist.secauto.metaschema.databind.config.binding;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/Any.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/Any.java
index 6624bf81e..04a201fe7 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/Any.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/Any.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import gov.nist.secauto.metaschema.core.model.IBoundObject;
@@ -17,26 +16,23 @@
@MetaschemaAssembly(
formalName = "Any Additional Content",
name = "any",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class Any implements IBoundObject {
private final IMetaschemaData __metaschemaData;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.Any}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.Any} instance with no metadata.
*/
public Any() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.Any}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.Any} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Any(IMetaschemaData data) {
this.__metaschemaData = data;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyConstraints.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyConstraints.java
index 3fe3e5567..93fc5ab2f 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyConstraints.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyConstraints.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -25,7 +24,8 @@
@MetaschemaAssembly(
name = "assembly-constraints",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class AssemblyConstraints implements IModelConstraintsBase {
private final IMetaschemaData __metaschemaData;
@@ -33,7 +33,8 @@ public class AssemblyConstraints implements IModelConstraintsBase {
formalName = "Constraint Let Expression",
useName = "let",
maxOccurs = -1,
- groupAs = @GroupAs(name = "lets", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "lets", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _lets;
@BoundChoiceGroup(
@@ -41,41 +42,30 @@ public class AssemblyConstraints implements IModelConstraintsBase {
maxOccurs = -1,
groupAs = @GroupAs(name = "rules", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Allowed Values Constraint", useName = "allowed-values",
- binding = TargetedAllowedValuesConstraint.class),
- @BoundGroupedAssembly(formalName = "Expect Condition Constraint", useName = "expect",
- binding = TargetedExpectConstraint.class),
- @BoundGroupedAssembly(formalName = "Targeted Index Has Key Constraint", useName = "index-has-key",
- binding = TargetedIndexHasKeyConstraint.class),
- @BoundGroupedAssembly(formalName = "Value Matches Constraint", useName = "matches",
- binding = TargetedMatchesConstraint.class),
- @BoundGroupedAssembly(formalName = "Targeted Unique Constraint", useName = "is-unique",
- binding = TargetedIsUniqueConstraint.class),
- @BoundGroupedAssembly(formalName = "Targeted Index Constraint", useName = "index",
- binding = TargetedIndexConstraint.class),
- @BoundGroupedAssembly(formalName = "Targeted Cardinality Constraint", useName = "has-cardinality",
- binding = TargetedHasCardinalityConstraint.class),
- @BoundGroupedAssembly(formalName = "Report Condition Constraint", useName = "report",
- binding = TargetedReportConstraint.class)
- })
+ @BoundGroupedAssembly(formalName = "Allowed Values Constraint", useName = "allowed-values", binding = TargetedAllowedValuesConstraint.class),
+ @BoundGroupedAssembly(formalName = "Expect Condition Constraint", useName = "expect", binding = TargetedExpectConstraint.class),
+ @BoundGroupedAssembly(formalName = "Targeted Index Has Key Constraint", useName = "index-has-key", binding = TargetedIndexHasKeyConstraint.class),
+ @BoundGroupedAssembly(formalName = "Value Matches Constraint", useName = "matches", binding = TargetedMatchesConstraint.class),
+ @BoundGroupedAssembly(formalName = "Targeted Unique Constraint", useName = "is-unique", binding = TargetedIsUniqueConstraint.class),
+ @BoundGroupedAssembly(formalName = "Targeted Index Constraint", useName = "index", binding = TargetedIndexConstraint.class),
+ @BoundGroupedAssembly(formalName = "Targeted Cardinality Constraint", useName = "has-cardinality", binding = TargetedHasCardinalityConstraint.class),
+ @BoundGroupedAssembly(formalName = "Report Condition Constraint", useName = "report", binding = TargetedReportConstraint.class)
+ }
+ )
private List extends ITargetedConstraintBase> _rules;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyConstraints}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyConstraints} instance with no metadata.
*/
public AssemblyConstraints() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyConstraints}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyConstraints} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public AssemblyConstraints(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -104,7 +94,7 @@ public List getLets() {
* Set the constraint Let Expression.
*
* @param value
- * the let value to set
+ * the let value to set
*/
public void setLets(@NonNull List value) {
_lets = value;
@@ -112,13 +102,11 @@ public void setLets(@NonNull List value) {
/**
* Add a new {@link ConstraintLetExpression} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addLet(ConstraintLetExpression item) {
- ConstraintLetExpression value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ConstraintLetExpression value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_lets == null) {
_lets = new LinkedList<>();
}
@@ -126,15 +114,12 @@ public boolean addLet(ConstraintLetExpression item) {
}
/**
- * Remove the first matching {@link ConstraintLetExpression} item from the
- * underlying collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link ConstraintLetExpression} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeLet(ConstraintLetExpression item) {
- ConstraintLetExpression value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ConstraintLetExpression value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _lets != null && _lets.remove(value);
}
@@ -162,7 +147,7 @@ public List extends ITargetedConstraintBase> getRules() {
* Items in this collection must implement {@link ITargetedConstraintBase}.
*
* @param value
- * the rules items to set
+ * the rules items to set
*/
public void setRules(@NonNull List extends ITargetedConstraintBase> value) {
_rules = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyModel.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyModel.java
index 6e0776a7d..6d28b2309 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyModel.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyModel.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -40,7 +39,8 @@
@MetaschemaAssembly(
name = "assembly-model",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class AssemblyModel implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -48,40 +48,34 @@ public class AssemblyModel implements IBoundObject {
maxOccurs = -1,
groupAs = @GroupAs(name = "instances", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Assembly Reference", useName = "assembly",
- discriminatorValue = "assembly-ref", binding = AssemblyReference.class),
- @BoundGroupedAssembly(formalName = "Inline Assembly Definition", useName = "define-assembly",
- discriminatorValue = "assembly", binding = InlineDefineAssembly.class),
- @BoundGroupedAssembly(formalName = "Field Reference", useName = "field", discriminatorValue = "field-ref",
- binding = FieldReference.class),
- @BoundGroupedAssembly(formalName = "Inline Field Definition", useName = "define-field",
- discriminatorValue = "field", binding = InlineDefineField.class),
+ @BoundGroupedAssembly(formalName = "Assembly Reference", useName = "assembly", discriminatorValue = "assembly-ref", binding = AssemblyReference.class),
+ @BoundGroupedAssembly(formalName = "Inline Assembly Definition", useName = "define-assembly", discriminatorValue = "assembly", binding = InlineDefineAssembly.class),
+ @BoundGroupedAssembly(formalName = "Field Reference", useName = "field", discriminatorValue = "field-ref", binding = FieldReference.class),
+ @BoundGroupedAssembly(formalName = "Inline Field Definition", useName = "define-field", discriminatorValue = "field", binding = InlineDefineField.class),
@BoundGroupedAssembly(formalName = "Choice", useName = "choice", binding = Choice.class),
@BoundGroupedAssembly(formalName = "Choice Grouping", useName = "choice-group", binding = ChoiceGroup.class)
- })
+ }
+ )
private List _instances;
@BoundAssembly(
formalName = "Any Additional Content",
- useName = "any")
+ useName = "any"
+ )
private Any _any;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel} instance with no metadata.
*/
public AssemblyModel() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public AssemblyModel(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -109,7 +103,7 @@ public List getInstances() {
* Set the {@code instances} choice group items.
*
* @param value
- * the instances items to set
+ * the instances items to set
*/
public void setInstances(@NonNull List value) {
_instances = value;
@@ -129,7 +123,7 @@ public Any getAny() {
* Set the any Additional Content.
*
* @param value
- * the any value to set
+ * the any value to set
*/
public void setAny(@Nullable Any value) {
_any = value;
@@ -143,7 +137,8 @@ public String toString() {
@MetaschemaAssembly(
formalName = "Choice",
name = "choice",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class Choice implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -152,38 +147,32 @@ public static class Choice implements IBoundObject {
maxOccurs = -1,
groupAs = @GroupAs(name = "choices", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Assembly Reference", useName = "assembly",
- discriminatorValue = "assembly-ref", binding = AssemblyReference.class),
- @BoundGroupedAssembly(formalName = "Inline Assembly Definition", useName = "define-assembly",
- discriminatorValue = "assembly", binding = InlineDefineAssembly.class),
- @BoundGroupedAssembly(formalName = "Field Reference", useName = "field", discriminatorValue = "field-ref",
- binding = FieldReference.class),
- @BoundGroupedAssembly(formalName = "Inline Field Definition", useName = "define-field",
- discriminatorValue = "field", binding = InlineDefineField.class)
- })
+ @BoundGroupedAssembly(formalName = "Assembly Reference", useName = "assembly", discriminatorValue = "assembly-ref", binding = AssemblyReference.class),
+ @BoundGroupedAssembly(formalName = "Inline Assembly Definition", useName = "define-assembly", discriminatorValue = "assembly", binding = InlineDefineAssembly.class),
+ @BoundGroupedAssembly(formalName = "Field Reference", useName = "field", discriminatorValue = "field-ref", binding = FieldReference.class),
+ @BoundGroupedAssembly(formalName = "Inline Field Definition", useName = "define-field", discriminatorValue = "field", binding = InlineDefineField.class)
+ }
+ )
private List _choices;
@BoundAssembly(
formalName = "Any Additional Content",
- useName = "any")
+ useName = "any"
+ )
private Any _any;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.Choice}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.Choice} instance with no metadata.
*/
public Choice() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.Choice}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.Choice} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Choice(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -211,7 +200,7 @@ public List getChoices() {
* Set the {@code choices} choice group items.
*
* @param value
- * the choices items to set
+ * the choices items to set
*/
public void setChoices(@NonNull List value) {
_choices = value;
@@ -231,7 +220,7 @@ public Any getAny() {
* Set the any Additional Content.
*
* @param value
- * the any value to set
+ * the any value to set
*/
public void setAny(@Nullable Any value) {
_any = value;
@@ -246,7 +235,8 @@ public String toString() {
@MetaschemaAssembly(
formalName = "Choice Grouping",
name = "choice-group",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class ChoiceGroup implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -254,7 +244,8 @@ public static class ChoiceGroup implements IBoundObject {
formalName = "Minimum Occurrence",
name = "min-occurs",
defaultValue = "0",
- typeAdapter = NonNegativeIntegerAdapter.class)
+ typeAdapter = NonNegativeIntegerAdapter.class
+ )
private BigInteger _minOccurs;
@BoundFlag(
@@ -262,32 +253,33 @@ public static class ChoiceGroup implements IBoundObject {
name = "max-occurs",
defaultValue = "unbounded",
typeAdapter = StringAdapter.class,
- valueConstraints = @ValueConstraints(
- matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$")))
+ valueConstraints = @ValueConstraints(matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$"))
+ )
private String _maxOccurs;
/**
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*/
@BoundAssembly(
formalName = "JSON Key",
description = "Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share `json-key` values.",
- useName = "json-key")
+ useName = "json-key"
+ )
private JsonKey _jsonKey;
@BoundAssembly(
formalName = "Group As",
useName = "group-as",
- minOccurs = 1)
+ minOccurs = 1
+ )
private GroupingAs _groupAs;
@BoundField(
formalName = "Discriminator JSON Property",
useName = "discriminator",
defaultValue = "object-type",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _discriminator;
@BoundChoiceGroup(
@@ -295,43 +287,36 @@ public static class ChoiceGroup implements IBoundObject {
maxOccurs = -1,
groupAs = @GroupAs(name = "choices", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Grouping Assembly Reference", useName = "assembly",
- discriminatorValue = "assembly-ref", binding = Assembly.class),
- @BoundGroupedAssembly(formalName = "Inline Assembly Definition", useName = "define-assembly",
- discriminatorValue = "assembly", binding = DefineAssembly.class),
- @BoundGroupedAssembly(formalName = "Grouping Field Reference", useName = "field",
- discriminatorValue = "field-ref", binding = Field.class),
- @BoundGroupedAssembly(formalName = "Inline Field Definition", useName = "define-field",
- discriminatorValue = "field", binding = DefineField.class)
- })
+ @BoundGroupedAssembly(formalName = "Grouping Assembly Reference", useName = "assembly", discriminatorValue = "assembly-ref", binding = Assembly.class),
+ @BoundGroupedAssembly(formalName = "Inline Assembly Definition", useName = "define-assembly", discriminatorValue = "assembly", binding = DefineAssembly.class),
+ @BoundGroupedAssembly(formalName = "Grouping Field Reference", useName = "field", discriminatorValue = "field-ref", binding = Field.class),
+ @BoundGroupedAssembly(formalName = "Inline Field Definition", useName = "define-field", discriminatorValue = "field", binding = DefineField.class)
+ }
+ )
private List _choices;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup} instance with no metadata.
*/
public ChoiceGroup() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public ChoiceGroup(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -356,7 +341,7 @@ public BigInteger getMinOccurs() {
* Set the minimum Occurrence.
*
* @param value
- * the min-occurs value to set
+ * the min-occurs value to set
*/
public void setMinOccurs(@Nullable BigInteger value) {
_minOccurs = value;
@@ -376,7 +361,7 @@ public String getMaxOccurs() {
* Set the maximum Occurrence.
*
* @param value
- * the max-occurs value to set
+ * the max-occurs value to set
*/
public void setMaxOccurs(@Nullable String value) {
_maxOccurs = value;
@@ -386,9 +371,7 @@ public void setMaxOccurs(@Nullable String value) {
* Get the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @return the json-key value, or {@code null} if not set
*/
@@ -401,12 +384,10 @@ public JsonKey getJsonKey() {
* Set the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @param value
- * the json-key value to set
+ * the json-key value to set
*/
public void setJsonKey(@Nullable JsonKey value) {
_jsonKey = value;
@@ -426,7 +407,7 @@ public GroupingAs getGroupAs() {
* Set the group As.
*
* @param value
- * the group-as value to set
+ * the group-as value to set
*/
public void setGroupAs(@NonNull GroupingAs value) {
_groupAs = value;
@@ -446,7 +427,7 @@ public String getDiscriminator() {
* Set the discriminator JSON Property.
*
* @param value
- * the discriminator value to set
+ * the discriminator value to set
*/
public void setDiscriminator(@Nullable String value) {
_discriminator = value;
@@ -469,7 +450,7 @@ public List getChoices() {
* Set the {@code choices} choice group items.
*
* @param value
- * the choices items to set
+ * the choices items to set
*/
public void setChoices(@NonNull List value) {
_choices = value;
@@ -479,8 +460,7 @@ public void setChoices(@NonNull List value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -493,11 +473,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -511,7 +490,8 @@ public String toString() {
@MetaschemaAssembly(
formalName = "Grouping Assembly Reference",
name = "assembly",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class Assembly implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -519,19 +499,22 @@ public static class Assembly implements IBoundObject {
formalName = "Global Assembly Reference",
name = "ref",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _ref;
@BoundFlag(
formalName = "Assembly Reference Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
/**
@@ -541,25 +524,27 @@ public static class Assembly implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
@@ -568,41 +553,39 @@ public static class Assembly implements IBoundObject {
@BoundField(
formalName = "Use Name",
description = "Allows the name of the definition to be overridden.",
- useName = "use-name")
+ useName = "use-name"
+ )
private UseName _useName;
@BoundField(
formalName = "Grouping Discriminator Value",
useName = "discriminator-value",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _discriminatorValue;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Assembly}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Assembly} instance with no metadata.
*/
public Assembly() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Assembly}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Assembly} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Assembly(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -627,7 +610,7 @@ public String getRef() {
* Set the global Assembly Reference.
*
* @param value
- * the ref value to set
+ * the ref value to set
*/
public void setRef(@NonNull String value) {
_ref = value;
@@ -647,7 +630,7 @@ public BigInteger getIndex() {
* Set the assembly Reference Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -667,7 +650,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -693,7 +676,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -703,8 +686,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -717,11 +699,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -744,7 +725,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -752,13 +733,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -766,15 +745,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -798,7 +774,7 @@ public UseName getUseName() {
* Allows the name of the definition to be overridden.
*
* @param value
- * the use-name value to set
+ * the use-name value to set
*/
public void setUseName(@Nullable UseName value) {
_useName = value;
@@ -818,7 +794,7 @@ public String getDiscriminatorValue() {
* Set the grouping Discriminator Value.
*
* @param value
- * the discriminator-value value to set
+ * the discriminator-value value to set
*/
public void setDiscriminatorValue(@Nullable String value) {
_discriminatorValue = value;
@@ -828,8 +804,7 @@ public void setDiscriminatorValue(@Nullable String value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -842,11 +817,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -861,7 +835,8 @@ public String toString() {
@MetaschemaAssembly(
formalName = "Inline Assembly Definition",
name = "define-assembly",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class DefineAssembly implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -869,19 +844,22 @@ public static class DefineAssembly implements IBoundObject {
formalName = "Inline Assembly Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
@BoundFlag(
formalName = "Inline Assembly Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
/**
@@ -891,85 +869,86 @@ public static class DefineAssembly implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
@BoundField(
formalName = "Grouping Discriminator Value",
useName = "discriminator-value",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _discriminatorValue;
@BoundChoiceGroup(
maxOccurs = -1,
groupAs = @GroupAs(name = "flags", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag",
- discriminatorValue = "flag", binding = InlineDefineFlag.class),
- @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref",
- binding = FlagReference.class)
- })
+ @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag", discriminatorValue = "flag", binding = InlineDefineFlag.class),
+ @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref", binding = FlagReference.class)
+ }
+ )
private List _flags;
@BoundAssembly(
- useName = "model")
+ useName = "model"
+ )
private AssemblyModel _model;
@BoundAssembly(
- useName = "constraint")
+ useName = "constraint"
+ )
private AssemblyConstraints _constraint;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
@BoundAssembly(
formalName = "Example",
useName = "example",
maxOccurs = -1,
- groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _examples;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.DefineAssembly}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.DefineAssembly} instance with no metadata.
*/
public DefineAssembly() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.DefineAssembly}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.DefineAssembly} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public DefineAssembly(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -994,7 +973,7 @@ public String getName() {
* Set the inline Assembly Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -1014,7 +993,7 @@ public BigInteger getIndex() {
* Set the inline Assembly Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -1034,7 +1013,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -1060,7 +1039,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -1070,8 +1049,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -1084,11 +1062,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -1111,7 +1088,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -1119,13 +1096,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -1133,15 +1108,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -1159,7 +1131,7 @@ public String getDiscriminatorValue() {
* Set the grouping Discriminator Value.
*
* @param value
- * the discriminator-value value to set
+ * the discriminator-value value to set
*/
public void setDiscriminatorValue(@Nullable String value) {
_discriminatorValue = value;
@@ -1182,7 +1154,7 @@ public List getFlags() {
* Set the {@code flags} choice group items.
*
* @param value
- * the flags items to set
+ * the flags items to set
*/
public void setFlags(@NonNull List value) {
_flags = value;
@@ -1202,7 +1174,7 @@ public AssemblyModel getModel() {
* Set the {@code model} property.
*
* @param value
- * the model value to set
+ * the model value to set
*/
public void setModel(@Nullable AssemblyModel value) {
_model = value;
@@ -1222,7 +1194,7 @@ public AssemblyConstraints getConstraint() {
* Set the {@code constraint} property.
*
* @param value
- * the constraint value to set
+ * the constraint value to set
*/
public void setConstraint(@Nullable AssemblyConstraints value) {
_constraint = value;
@@ -1232,8 +1204,7 @@ public void setConstraint(@Nullable AssemblyConstraints value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -1246,11 +1217,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -1273,7 +1243,7 @@ public List getExamples() {
* Set the example.
*
* @param value
- * the example value to set
+ * the example value to set
*/
public void setExamples(@NonNull List value) {
_examples = value;
@@ -1281,13 +1251,11 @@ public void setExamples(@NonNull List value) {
/**
* Add a new {@link Example} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_examples == null) {
_examples = new LinkedList<>();
}
@@ -1295,15 +1263,12 @@ public boolean addExample(Example item) {
}
/**
- * Remove the first matching {@link Example} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Example} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _examples != null && _examples.remove(value);
}
@@ -1316,7 +1281,8 @@ public String toString() {
@MetaschemaAssembly(
formalName = "Grouping Field Reference",
name = "field",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class Field implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -1324,25 +1290,29 @@ public static class Field implements IBoundObject {
formalName = "Global Field Reference",
name = "ref",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _ref;
@BoundFlag(
formalName = "Field Reference Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
formalName = "Default Field Value",
name = "default",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _default;
@BoundFlag(
@@ -1350,13 +1320,8 @@ public static class Field implements IBoundObject {
name = "in-xml",
defaultValue = "WRAPPED",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- values = { @AllowedValue(value = "WRAPPED",
- description = "Block contents of a markup-multiline field will be represented with a containing (wrapper) element in the XML."),
- @AllowedValue(value = "UNWRAPPED",
- description = "Block contents of a markup-multiline will be represented in the XML with no wrapper, making the field implicit. Among sibling fields in a given model, only one of them may be designated as UNWRAPPED."),
- @AllowedValue(value = "WITH_WRAPPER", description = "Alias for WRAPPED.",
- deprecatedVersion = "0.9.0") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "WRAPPED", description = "Block contents of a markup-multiline field will be represented with a containing (wrapper) element in the XML."), @AllowedValue(value = "UNWRAPPED", description = "Block contents of a markup-multiline will be represented in the XML with no wrapper, making the field implicit. Among sibling fields in a given model, only one of them may be designated as UNWRAPPED."), @AllowedValue(value = "WITH_WRAPPER", description = "Alias for WRAPPED.", deprecatedVersion = "0.9.0")}))
+ )
private String _inXml;
/**
@@ -1366,25 +1331,27 @@ public static class Field implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
@@ -1393,41 +1360,39 @@ public static class Field implements IBoundObject {
@BoundField(
formalName = "Use Name",
description = "Allows the name of the definition to be overridden.",
- useName = "use-name")
+ useName = "use-name"
+ )
private UseName _useName;
@BoundField(
formalName = "Grouping Discriminator Value",
useName = "discriminator-value",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _discriminatorValue;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Field}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Field} instance with no metadata.
*/
public Field() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Field}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Field} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Field(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1452,7 +1417,7 @@ public String getRef() {
* Set the global Field Reference.
*
* @param value
- * the ref value to set
+ * the ref value to set
*/
public void setRef(@NonNull String value) {
_ref = value;
@@ -1472,7 +1437,7 @@ public BigInteger getIndex() {
* Set the field Reference Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -1492,7 +1457,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -1512,7 +1477,7 @@ public String getDefault() {
* Set the default Field Value.
*
* @param value
- * the default value to set
+ * the default value to set
*/
public void setDefault(@Nullable String value) {
_default = value;
@@ -1532,7 +1497,7 @@ public String getInXml() {
* Set the field In XML.
*
* @param value
- * the in-xml value to set
+ * the in-xml value to set
*/
public void setInXml(@Nullable String value) {
_inXml = value;
@@ -1558,7 +1523,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -1568,8 +1533,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -1582,11 +1546,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -1609,7 +1572,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -1617,13 +1580,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -1631,15 +1592,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -1663,7 +1621,7 @@ public UseName getUseName() {
* Allows the name of the definition to be overridden.
*
* @param value
- * the use-name value to set
+ * the use-name value to set
*/
public void setUseName(@Nullable UseName value) {
_useName = value;
@@ -1683,7 +1641,7 @@ public String getDiscriminatorValue() {
* Set the grouping Discriminator Value.
*
* @param value
- * the discriminator-value value to set
+ * the discriminator-value value to set
*/
public void setDiscriminatorValue(@Nullable String value) {
_discriminatorValue = value;
@@ -1693,8 +1651,7 @@ public void setDiscriminatorValue(@Nullable String value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -1707,11 +1664,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -1726,7 +1682,8 @@ public String toString() {
@MetaschemaAssembly(
formalName = "Inline Field Definition",
name = "define-field",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class DefineField implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -1734,19 +1691,22 @@ public static class DefineField implements IBoundObject {
formalName = "Inline Field Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
@BoundFlag(
formalName = "Inline Field Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
@@ -1754,76 +1714,15 @@ public static class DefineField implements IBoundObject {
name = "as-type",
defaultValue = "string",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- allowOthers = true,
- values = { @AllowedValue(value = "markup-line",
- description = "The [markup-line](https://framework.metaschema.dev/specification/datatypes/#markup-line) data type."),
- @AllowedValue(value = "markup-multiline",
- description = "The [markup-multiline](https://framework.metaschema.dev/specification/datatypes/#markup-multiline) data type."),
- @AllowedValue(value = "base64",
- description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."),
- @AllowedValue(value = "boolean",
- description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."),
- @AllowedValue(value = "date",
- description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."),
- @AllowedValue(value = "date-time",
- description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."),
- @AllowedValue(value = "date-time-with-timezone",
- description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."),
- @AllowedValue(value = "date-with-timezone",
- description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."),
- @AllowedValue(value = "day-time-duration",
- description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."),
- @AllowedValue(value = "decimal",
- description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."),
- @AllowedValue(value = "email-address",
- description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."),
- @AllowedValue(value = "hostname",
- description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."),
- @AllowedValue(value = "integer",
- description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."),
- @AllowedValue(value = "ip-v4-address",
- description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."),
- @AllowedValue(value = "ip-v6-address",
- description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."),
- @AllowedValue(value = "non-negative-integer",
- description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."),
- @AllowedValue(value = "positive-integer",
- description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."),
- @AllowedValue(value = "string",
- description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."),
- @AllowedValue(value = "token",
- description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."),
- @AllowedValue(value = "uri",
- description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."),
- @AllowedValue(value = "uri-reference",
- description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."),
- @AllowedValue(value = "uuid",
- description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."),
- @AllowedValue(value = "base64Binary",
- description = "An old name which is deprecated for use in favor of the 'base64' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime",
- description = "An old name which is deprecated for use in favor of the 'date-time' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime-with-timezone",
- description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "email",
- description = "An old name which is deprecated for use in favor of the 'email-address' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "nonNegativeInteger",
- description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "positiveInteger",
- description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.",
- deprecatedVersion = "1.0.0") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, allowOthers = true, values = {@AllowedValue(value = "markup-line", description = "The [markup-line](https://framework.metaschema.dev/specification/datatypes/#markup-line) data type."), @AllowedValue(value = "markup-multiline", description = "The [markup-multiline](https://framework.metaschema.dev/specification/datatypes/#markup-multiline) data type."), @AllowedValue(value = "base64", description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."), @AllowedValue(value = "boolean", description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."), @AllowedValue(value = "date", description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."), @AllowedValue(value = "date-time", description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."), @AllowedValue(value = "date-time-with-timezone", description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."), @AllowedValue(value = "date-with-timezone", description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."), @AllowedValue(value = "day-time-duration", description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."), @AllowedValue(value = "decimal", description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."), @AllowedValue(value = "email-address", description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."), @AllowedValue(value = "hostname", description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."), @AllowedValue(value = "integer", description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."), @AllowedValue(value = "ip-v4-address", description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."), @AllowedValue(value = "ip-v6-address", description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."), @AllowedValue(value = "non-negative-integer", description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."), @AllowedValue(value = "positive-integer", description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."), @AllowedValue(value = "string", description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."), @AllowedValue(value = "token", description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."), @AllowedValue(value = "uri", description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."), @AllowedValue(value = "uri-reference", description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."), @AllowedValue(value = "uuid", description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."), @AllowedValue(value = "base64Binary", description = "An old name which is deprecated for use in favor of the 'base64' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime", description = "An old name which is deprecated for use in favor of the 'date-time' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime-with-timezone", description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "email", description = "An old name which is deprecated for use in favor of the 'email-address' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "nonNegativeInteger", description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "positiveInteger", description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.", deprecatedVersion = "1.0.0")}))
+ )
private String _asType;
@BoundFlag(
formalName = "Default Field Value",
name = "default",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _default;
/**
@@ -1833,96 +1732,100 @@ public static class DefineField implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
@BoundField(
formalName = "Grouping Discriminator Value",
useName = "discriminator-value",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _discriminatorValue;
@BoundField(
formalName = "Field Value JSON Property Name",
useName = "json-value-key",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
@BoundChoice(
- choiceId = "choice-1")
+ choiceId = "choice-1"
+ )
private String _jsonValueKey;
@BoundAssembly(
formalName = "Flag Used as the Field Value's JSON Property Name",
- useName = "json-value-key-flag")
+ useName = "json-value-key-flag"
+ )
@BoundChoice(
- choiceId = "choice-1")
+ choiceId = "choice-1"
+ )
private JsonValueKeyFlag _jsonValueKeyFlag;
@BoundChoiceGroup(
maxOccurs = -1,
groupAs = @GroupAs(name = "flags", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag",
- discriminatorValue = "flag", binding = InlineDefineFlag.class),
- @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref",
- binding = FlagReference.class)
- })
+ @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag", discriminatorValue = "flag", binding = InlineDefineFlag.class),
+ @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref", binding = FlagReference.class)
+ }
+ )
private List _flags;
@BoundAssembly(
- useName = "constraint")
+ useName = "constraint"
+ )
private FieldConstraints _constraint;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
@BoundAssembly(
formalName = "Example",
useName = "example",
maxOccurs = -1,
- groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _examples;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.DefineField}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.DefineField} instance with no metadata.
*/
public DefineField() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.DefineField}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.DefineField} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public DefineField(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1947,7 +1850,7 @@ public String getName() {
* Set the inline Field Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -1967,7 +1870,7 @@ public BigInteger getIndex() {
* Set the inline Field Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -1987,7 +1890,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -2007,7 +1910,7 @@ public String getAsType() {
* Set the field Value Data Type.
*
* @param value
- * the as-type value to set
+ * the as-type value to set
*/
public void setAsType(@Nullable String value) {
_asType = value;
@@ -2027,7 +1930,7 @@ public String getDefault() {
* Set the default Field Value.
*
* @param value
- * the default value to set
+ * the default value to set
*/
public void setDefault(@Nullable String value) {
_default = value;
@@ -2053,7 +1956,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -2063,8 +1966,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -2077,11 +1979,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -2104,7 +2005,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -2112,13 +2013,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -2126,15 +2025,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -2152,7 +2048,7 @@ public String getDiscriminatorValue() {
* Set the grouping Discriminator Value.
*
* @param value
- * the discriminator-value value to set
+ * the discriminator-value value to set
*/
public void setDiscriminatorValue(@Nullable String value) {
_discriminatorValue = value;
@@ -2172,7 +2068,7 @@ public String getJsonValueKey() {
* Set the field Value JSON Property Name.
*
* @param value
- * the json-value-key value to set
+ * the json-value-key value to set
*/
public void setJsonValueKey(@Nullable String value) {
_jsonValueKey = value;
@@ -2192,7 +2088,7 @@ public JsonValueKeyFlag getJsonValueKeyFlag() {
* Set the flag Used as the Field Value's JSON Property Name.
*
* @param value
- * the json-value-key-flag value to set
+ * the json-value-key-flag value to set
*/
public void setJsonValueKeyFlag(@Nullable JsonValueKeyFlag value) {
_jsonValueKeyFlag = value;
@@ -2215,7 +2111,7 @@ public List getFlags() {
* Set the {@code flags} choice group items.
*
* @param value
- * the flags items to set
+ * the flags items to set
*/
public void setFlags(@NonNull List value) {
_flags = value;
@@ -2235,7 +2131,7 @@ public FieldConstraints getConstraint() {
* Set the {@code constraint} property.
*
* @param value
- * the constraint value to set
+ * the constraint value to set
*/
public void setConstraint(@Nullable FieldConstraints value) {
_constraint = value;
@@ -2245,8 +2141,7 @@ public void setConstraint(@Nullable FieldConstraints value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -2259,11 +2154,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -2286,7 +2180,7 @@ public List getExamples() {
* Set the example.
*
* @param value
- * the example value to set
+ * the example value to set
*/
public void setExamples(@NonNull List value) {
_examples = value;
@@ -2294,13 +2188,11 @@ public void setExamples(@NonNull List value) {
/**
* Add a new {@link Example} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_examples == null) {
_examples = new LinkedList<>();
}
@@ -2308,15 +2200,12 @@ public boolean addExample(Example item) {
}
/**
- * Remove the first matching {@link Example} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Example} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _examples != null && _examples.remove(value);
}
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyReference.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyReference.java
index 0fc28a9e0..a3118da98 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyReference.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/AssemblyReference.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -36,7 +35,8 @@
@MetaschemaAssembly(
formalName = "Assembly Reference",
name = "assembly-reference",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class AssemblyReference implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -44,26 +44,30 @@ public class AssemblyReference implements IBoundObject {
formalName = "Global Assembly Reference",
name = "ref",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _ref;
@BoundFlag(
formalName = "Assembly Reference Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
formalName = "Minimum Occurrence",
name = "min-occurs",
defaultValue = "0",
- typeAdapter = NonNegativeIntegerAdapter.class)
+ typeAdapter = NonNegativeIntegerAdapter.class
+ )
private BigInteger _minOccurs;
@BoundFlag(
@@ -71,8 +75,8 @@ public class AssemblyReference implements IBoundObject {
name = "max-occurs",
defaultValue = "1",
typeAdapter = StringAdapter.class,
- valueConstraints = @ValueConstraints(
- matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$")))
+ valueConstraints = @ValueConstraints(matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$"))
+ )
private String _maxOccurs;
/**
@@ -82,25 +86,27 @@ public class AssemblyReference implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
@@ -109,40 +115,38 @@ public class AssemblyReference implements IBoundObject {
@BoundField(
formalName = "Use Name",
description = "Allows the name of the definition to be overridden.",
- useName = "use-name")
+ useName = "use-name"
+ )
private UseName _useName;
@BoundAssembly(
formalName = "Group As",
- useName = "group-as")
+ useName = "group-as"
+ )
private GroupingAs _groupAs;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyReference}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyReference} instance with no metadata.
*/
public AssemblyReference() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyReference}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.AssemblyReference} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public AssemblyReference(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -167,7 +171,7 @@ public String getRef() {
* Set the global Assembly Reference.
*
* @param value
- * the ref value to set
+ * the ref value to set
*/
public void setRef(@NonNull String value) {
_ref = value;
@@ -187,7 +191,7 @@ public BigInteger getIndex() {
* Set the assembly Reference Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -207,7 +211,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -227,7 +231,7 @@ public BigInteger getMinOccurs() {
* Set the minimum Occurrence.
*
* @param value
- * the min-occurs value to set
+ * the min-occurs value to set
*/
public void setMinOccurs(@Nullable BigInteger value) {
_minOccurs = value;
@@ -247,7 +251,7 @@ public String getMaxOccurs() {
* Set the maximum Occurrence.
*
* @param value
- * the max-occurs value to set
+ * the max-occurs value to set
*/
public void setMaxOccurs(@Nullable String value) {
_maxOccurs = value;
@@ -273,7 +277,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -283,8 +287,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -297,11 +300,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -324,7 +326,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -332,13 +334,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -346,15 +346,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -378,7 +375,7 @@ public UseName getUseName() {
* Allows the name of the definition to be overridden.
*
* @param value
- * the use-name value to set
+ * the use-name value to set
*/
public void setUseName(@Nullable UseName value) {
_useName = value;
@@ -398,7 +395,7 @@ public GroupingAs getGroupAs() {
* Set the group As.
*
* @param value
- * the group-as value to set
+ * the group-as value to set
*/
public void setGroupAs(@Nullable GroupingAs value) {
_groupAs = value;
@@ -408,8 +405,7 @@ public void setGroupAs(@Nullable GroupingAs value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -422,11 +418,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/ConstraintLetExpression.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/ConstraintLetExpression.java
index b9a119e3e..cf6c4db92 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/ConstraintLetExpression.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/ConstraintLetExpression.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -23,7 +22,8 @@
@MetaschemaAssembly(
formalName = "Constraint Let Expression",
name = "constraint-let-expression",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class ConstraintLetExpression implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -31,42 +31,40 @@ public class ConstraintLetExpression implements IBoundObject {
formalName = "Let Variable Name",
name = "var",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _var;
@BoundFlag(
formalName = "Let Value Metapath Expression",
name = "expression",
required = true,
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _expression;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.ConstraintLetExpression}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.ConstraintLetExpression} instance with no metadata.
*/
public ConstraintLetExpression() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.ConstraintLetExpression}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.ConstraintLetExpression} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public ConstraintLetExpression(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -91,7 +89,7 @@ public String getVar() {
* Set the let Variable Name.
*
* @param value
- * the var value to set
+ * the var value to set
*/
public void setVar(@NonNull String value) {
_var = value;
@@ -111,7 +109,7 @@ public String getExpression() {
* Set the let Value Metapath Expression.
*
* @param value
- * the expression value to set
+ * the expression value to set
*/
public void setExpression(@NonNull String value) {
_expression = value;
@@ -121,8 +119,7 @@ public void setExpression(@NonNull String value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -135,11 +132,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/ConstraintValueEnum.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/ConstraintValueEnum.java
index d5a5aeb28..be042a295 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/ConstraintValueEnum.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/ConstraintValueEnum.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -25,46 +24,44 @@
@MetaschemaField(
formalName = "Allowed Value Enumeration",
name = "constraint-value-enum",
- moduleClass = MetaschemaModelModule.class)
-public class ConstraintValueEnum
- extends AbstractAllowedValue
- implements IBoundObject {
+ moduleClass = MetaschemaModelModule.class
+)
+public class ConstraintValueEnum extends AbstractAllowedValue implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@BoundFlag(
formalName = "Allowed Value Enumeration Value",
name = "value",
required = true,
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _value;
@BoundFlag(
formalName = "Allowed Value Deprecation Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFieldValue(
valueKeyName = "remark",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _remark;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.ConstraintValueEnum}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.ConstraintValueEnum} instance with no metadata.
*/
public ConstraintValueEnum() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.ConstraintValueEnum}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.ConstraintValueEnum} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public ConstraintValueEnum(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -90,7 +87,7 @@ public String getValue() {
* Set the allowed Value Enumeration Value.
*
* @param value
- * the value value to set
+ * the value value to set
*/
public void setValue(@NonNull String value) {
_value = value;
@@ -111,7 +108,7 @@ public String getDeprecated() {
* Set the allowed Value Deprecation Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/Example.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/Example.java
index 80fb10e74..3c47279d9 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/Example.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/Example.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.Nullable;
@@ -25,53 +24,53 @@
@MetaschemaAssembly(
formalName = "Example",
name = "example",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class Example implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@BoundFlag(
formalName = "Example Reference",
name = "ref",
- typeAdapter = UriReferenceAdapter.class)
+ typeAdapter = UriReferenceAdapter.class
+ )
private URI _ref;
@BoundFlag(
name = "path",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _path;
@BoundField(
formalName = "Example Description",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.Example}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.Example} instance with no metadata.
*/
public Example() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.Example}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.Example} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Example(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -96,7 +95,7 @@ public URI getRef() {
* Set the example Reference.
*
* @param value
- * the ref value to set
+ * the ref value to set
*/
public void setRef(@Nullable URI value) {
_ref = value;
@@ -116,7 +115,7 @@ public String getPath() {
* Set the {@code path} property.
*
* @param value
- * the path value to set
+ * the path value to set
*/
public void setPath(@Nullable String value) {
_path = value;
@@ -136,7 +135,7 @@ public MarkupLine getDescription() {
* Set the example Description.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -146,8 +145,7 @@ public void setDescription(@Nullable MarkupLine value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -160,11 +158,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FieldConstraints.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FieldConstraints.java
index cb754e2c1..a3a41f7df 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FieldConstraints.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FieldConstraints.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -25,7 +24,8 @@
@MetaschemaAssembly(
name = "field-constraints",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class FieldConstraints implements IValueTargetedConstraintsBase {
private final IMetaschemaData __metaschemaData;
@@ -33,7 +33,8 @@ public class FieldConstraints implements IValueTargetedConstraintsBase {
formalName = "Constraint Let Expression",
useName = "let",
maxOccurs = -1,
- groupAs = @GroupAs(name = "lets", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "lets", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _lets;
@BoundChoiceGroup(
@@ -41,35 +42,27 @@ public class FieldConstraints implements IValueTargetedConstraintsBase {
maxOccurs = -1,
groupAs = @GroupAs(name = "rules", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Allowed Values Constraint", useName = "allowed-values",
- binding = TargetedAllowedValuesConstraint.class),
- @BoundGroupedAssembly(formalName = "Expect Condition Constraint", useName = "expect",
- binding = TargetedExpectConstraint.class),
- @BoundGroupedAssembly(formalName = "Targeted Index Has Key Constraint", useName = "index-has-key",
- binding = TargetedIndexHasKeyConstraint.class),
- @BoundGroupedAssembly(formalName = "Value Matches Constraint", useName = "matches",
- binding = TargetedMatchesConstraint.class),
- @BoundGroupedAssembly(formalName = "Report Condition Constraint", useName = "report",
- binding = TargetedReportConstraint.class)
- })
+ @BoundGroupedAssembly(formalName = "Allowed Values Constraint", useName = "allowed-values", binding = TargetedAllowedValuesConstraint.class),
+ @BoundGroupedAssembly(formalName = "Expect Condition Constraint", useName = "expect", binding = TargetedExpectConstraint.class),
+ @BoundGroupedAssembly(formalName = "Targeted Index Has Key Constraint", useName = "index-has-key", binding = TargetedIndexHasKeyConstraint.class),
+ @BoundGroupedAssembly(formalName = "Value Matches Constraint", useName = "matches", binding = TargetedMatchesConstraint.class),
+ @BoundGroupedAssembly(formalName = "Report Condition Constraint", useName = "report", binding = TargetedReportConstraint.class)
+ }
+ )
private List extends ITargetedConstraintBase> _rules;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FieldConstraints}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FieldConstraints} instance with no metadata.
*/
public FieldConstraints() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FieldConstraints}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FieldConstraints} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public FieldConstraints(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -98,7 +91,7 @@ public List getLets() {
* Set the constraint Let Expression.
*
* @param value
- * the let value to set
+ * the let value to set
*/
public void setLets(@NonNull List value) {
_lets = value;
@@ -106,13 +99,11 @@ public void setLets(@NonNull List value) {
/**
* Add a new {@link ConstraintLetExpression} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addLet(ConstraintLetExpression item) {
- ConstraintLetExpression value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ConstraintLetExpression value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_lets == null) {
_lets = new LinkedList<>();
}
@@ -120,15 +111,12 @@ public boolean addLet(ConstraintLetExpression item) {
}
/**
- * Remove the first matching {@link ConstraintLetExpression} item from the
- * underlying collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link ConstraintLetExpression} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeLet(ConstraintLetExpression item) {
- ConstraintLetExpression value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ConstraintLetExpression value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _lets != null && _lets.remove(value);
}
@@ -156,7 +144,7 @@ public List extends ITargetedConstraintBase> getRules() {
* Items in this collection must implement {@link ITargetedConstraintBase}.
*
* @param value
- * the rules items to set
+ * the rules items to set
*/
public void setRules(@NonNull List extends ITargetedConstraintBase> value) {
_rules = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FieldReference.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FieldReference.java
index e76c44666..27026c100 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FieldReference.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FieldReference.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -38,7 +37,8 @@
@MetaschemaAssembly(
formalName = "Field Reference",
name = "field-reference",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class FieldReference implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -46,32 +46,37 @@ public class FieldReference implements IBoundObject {
formalName = "Global Field Reference",
name = "ref",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _ref;
@BoundFlag(
formalName = "Field Reference Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
formalName = "Default Field Value",
name = "default",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _default;
@BoundFlag(
formalName = "Minimum Occurrence",
name = "min-occurs",
defaultValue = "0",
- typeAdapter = NonNegativeIntegerAdapter.class)
+ typeAdapter = NonNegativeIntegerAdapter.class
+ )
private BigInteger _minOccurs;
@BoundFlag(
@@ -79,8 +84,8 @@ public class FieldReference implements IBoundObject {
name = "max-occurs",
defaultValue = "1",
typeAdapter = StringAdapter.class,
- valueConstraints = @ValueConstraints(
- matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$")))
+ valueConstraints = @ValueConstraints(matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$"))
+ )
private String _maxOccurs;
@BoundFlag(
@@ -88,12 +93,8 @@ public class FieldReference implements IBoundObject {
name = "in-xml",
defaultValue = "WRAPPED",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "WRAPPED",
- description = "Block contents of a markup-multiline field will be represented with a containing (wrapper) element in the XML."),
- @AllowedValue(value = "UNWRAPPED",
- description = "Block contents of a markup-multiline will be represented in the XML with no wrapper, making the field implicit. Among sibling fields in a given model, only one of them may be designated as UNWRAPPED."),
- @AllowedValue(value = "WITH_WRAPPER", description = "Alias for WRAPPED.", deprecatedVersion = "0.9.0") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "WRAPPED", description = "Block contents of a markup-multiline field will be represented with a containing (wrapper) element in the XML."), @AllowedValue(value = "UNWRAPPED", description = "Block contents of a markup-multiline will be represented in the XML with no wrapper, making the field implicit. Among sibling fields in a given model, only one of them may be designated as UNWRAPPED."), @AllowedValue(value = "WITH_WRAPPER", description = "Alias for WRAPPED.", deprecatedVersion = "0.9.0")}))
+ )
private String _inXml;
/**
@@ -103,25 +104,27 @@ public class FieldReference implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
@@ -130,40 +133,38 @@ public class FieldReference implements IBoundObject {
@BoundField(
formalName = "Use Name",
description = "Allows the name of the definition to be overridden.",
- useName = "use-name")
+ useName = "use-name"
+ )
private UseName _useName;
@BoundAssembly(
formalName = "Group As",
- useName = "group-as")
+ useName = "group-as"
+ )
private GroupingAs _groupAs;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FieldReference}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FieldReference} instance with no metadata.
*/
public FieldReference() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FieldReference}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FieldReference} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public FieldReference(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -188,7 +189,7 @@ public String getRef() {
* Set the global Field Reference.
*
* @param value
- * the ref value to set
+ * the ref value to set
*/
public void setRef(@NonNull String value) {
_ref = value;
@@ -208,7 +209,7 @@ public BigInteger getIndex() {
* Set the field Reference Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -228,7 +229,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -248,7 +249,7 @@ public String getDefault() {
* Set the default Field Value.
*
* @param value
- * the default value to set
+ * the default value to set
*/
public void setDefault(@Nullable String value) {
_default = value;
@@ -268,7 +269,7 @@ public BigInteger getMinOccurs() {
* Set the minimum Occurrence.
*
* @param value
- * the min-occurs value to set
+ * the min-occurs value to set
*/
public void setMinOccurs(@Nullable BigInteger value) {
_minOccurs = value;
@@ -288,7 +289,7 @@ public String getMaxOccurs() {
* Set the maximum Occurrence.
*
* @param value
- * the max-occurs value to set
+ * the max-occurs value to set
*/
public void setMaxOccurs(@Nullable String value) {
_maxOccurs = value;
@@ -308,7 +309,7 @@ public String getInXml() {
* Set the field In XML.
*
* @param value
- * the in-xml value to set
+ * the in-xml value to set
*/
public void setInXml(@Nullable String value) {
_inXml = value;
@@ -334,7 +335,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -344,8 +345,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -358,11 +358,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -385,7 +384,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -393,13 +392,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -407,15 +404,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -439,7 +433,7 @@ public UseName getUseName() {
* Allows the name of the definition to be overridden.
*
* @param value
- * the use-name value to set
+ * the use-name value to set
*/
public void setUseName(@Nullable UseName value) {
_useName = value;
@@ -459,7 +453,7 @@ public GroupingAs getGroupAs() {
* Set the group As.
*
* @param value
- * the group-as value to set
+ * the group-as value to set
*/
public void setGroupAs(@Nullable GroupingAs value) {
_groupAs = value;
@@ -469,8 +463,7 @@ public void setGroupAs(@Nullable GroupingAs value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -483,11 +476,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagAllowedValues.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagAllowedValues.java
index 5fa995cc9..f264a3b4f 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagAllowedValues.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagAllowedValues.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -35,14 +34,16 @@
@MetaschemaAssembly(
formalName = "Allowed Values Constraint",
name = "flag-allowed-values",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class FlagAllowedValues implements IBoundObject, IConstraintBase {
private final IMetaschemaData __metaschemaData;
@BoundFlag(
formalName = "Constraint Identifier",
name = "id",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _id;
@BoundFlag(
@@ -50,17 +51,8 @@ public class FlagAllowedValues implements IBoundObject, IConstraintBase {
name = "level",
defaultValue = "ERROR",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "CRITICAL",
- description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."),
- @AllowedValue(value = "ERROR",
- description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."),
- @AllowedValue(value = "WARNING",
- description = "A violation of the constraint represents a potential issue with the content."),
- @AllowedValue(value = "INFORMATIONAL",
- description = "A violation of the constraint represents a point of interest."),
- @AllowedValue(value = "DEBUG",
- description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "CRITICAL", description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."), @AllowedValue(value = "ERROR", description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."), @AllowedValue(value = "WARNING", description = "A violation of the constraint represents a potential issue with the content."), @AllowedValue(value = "INFORMATIONAL", description = "A violation of the constraint represents a point of interest."), @AllowedValue(value = "DEBUG", description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.")}))
+ )
private String _level;
@BoundFlag(
@@ -68,14 +60,12 @@ public class FlagAllowedValues implements IBoundObject, IConstraintBase {
name = "allow-other",
defaultValue = "no",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- values = { @AllowedValue(value = "no", description = "Other value are not allowed."),
- @AllowedValue(value = "yes", description = "Other values are allowed.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "no", description = "Other value are not allowed."), @AllowedValue(value = "yes", description = "Other values are allowed.")}))
+ )
private String _allowOther;
/**
- * Determines if the given enumerated values may be extended by other allowed
- * value constraints.
+ * Determines if the given enumerated values may be extended by other allowed value constraints.
*/
@BoundFlag(
formalName = "Allow Extension?",
@@ -83,11 +73,8 @@ public class FlagAllowedValues implements IBoundObject, IConstraintBase {
name = "extensible",
defaultValue = "external",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- values = {
- @AllowedValue(value = "model", description = "Can be extended by constraints within the same module."),
- @AllowedValue(value = "external", description = "Can be extended by external constraints."),
- @AllowedValue(value = "none", description = "Cannot be extended.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "model", description = "Can be extended by constraints within the same module."), @AllowedValue(value = "external", description = "Can be extended by external constraints."), @AllowedValue(value = "none", description = "Cannot be extended.")}))
+ )
private String _extensible;
/**
@@ -97,25 +84,27 @@ public class FlagAllowedValues implements IBoundObject, IConstraintBase {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
@BoundField(
@@ -123,35 +112,32 @@ public class FlagAllowedValues implements IBoundObject, IConstraintBase {
useName = "enum",
minOccurs = 1,
maxOccurs = -1,
- groupAs = @GroupAs(name = "enums", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "enums", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _enums;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagAllowedValues}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagAllowedValues} instance with no metadata.
*/
public FlagAllowedValues() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagAllowedValues}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagAllowedValues} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public FlagAllowedValues(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -177,7 +163,7 @@ public String getId() {
* Set the constraint Identifier.
*
* @param value
- * the id value to set
+ * the id value to set
*/
public void setId(@Nullable String value) {
_id = value;
@@ -198,7 +184,7 @@ public String getLevel() {
* Set the constraint Severity Level.
*
* @param value
- * the level value to set
+ * the level value to set
*/
public void setLevel(@Nullable String value) {
_level = value;
@@ -218,7 +204,7 @@ public String getAllowOther() {
* Set the allow Non-Enumerated Values?.
*
* @param value
- * the allow-other value to set
+ * the allow-other value to set
*/
public void setAllowOther(@Nullable String value) {
_allowOther = value;
@@ -228,8 +214,7 @@ public void setAllowOther(@Nullable String value) {
* Get the allow Extension?.
*
*
- * Determines if the given enumerated values may be extended by other allowed
- * value constraints.
+ * Determines if the given enumerated values may be extended by other allowed value constraints.
*
* @return the extensible value, or {@code null} if not set
*/
@@ -242,11 +227,10 @@ public String getExtensible() {
* Set the allow Extension?.
*
*
- * Determines if the given enumerated values may be extended by other allowed
- * value constraints.
+ * Determines if the given enumerated values may be extended by other allowed value constraints.
*
* @param value
- * the extensible value to set
+ * the extensible value to set
*/
public void setExtensible(@Nullable String value) {
_extensible = value;
@@ -273,7 +257,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -283,8 +267,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -298,11 +281,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -326,7 +308,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -334,13 +316,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -348,15 +328,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -377,7 +354,7 @@ public List getEnums() {
* Set the allowed Value Enumeration.
*
* @param value
- * the enum value to set
+ * the enum value to set
*/
public void setEnums(@NonNull List value) {
_enums = value;
@@ -385,13 +362,11 @@ public void setEnums(@NonNull List value) {
/**
* Add a new {@link ConstraintValueEnum} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addEnum(ConstraintValueEnum item) {
- ConstraintValueEnum value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ConstraintValueEnum value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_enums == null) {
_enums = new LinkedList<>();
}
@@ -399,15 +374,12 @@ public boolean addEnum(ConstraintValueEnum item) {
}
/**
- * Remove the first matching {@link ConstraintValueEnum} item from the
- * underlying collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link ConstraintValueEnum} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeEnum(ConstraintValueEnum item) {
- ConstraintValueEnum value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ConstraintValueEnum value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _enums != null && _enums.remove(value);
}
@@ -415,8 +387,7 @@ public boolean removeEnum(ConstraintValueEnum item) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -430,11 +401,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagConstraints.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagConstraints.java
index 2b093f54e..a1e3d4bc2 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagConstraints.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagConstraints.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -25,7 +24,8 @@
@MetaschemaAssembly(
name = "flag-constraints",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class FlagConstraints implements IValueConstraintsBase {
private final IMetaschemaData __metaschemaData;
@@ -33,7 +33,8 @@ public class FlagConstraints implements IValueConstraintsBase {
formalName = "Constraint Let Expression",
useName = "let",
maxOccurs = -1,
- groupAs = @GroupAs(name = "lets", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "lets", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _lets;
@BoundChoiceGroup(
@@ -41,35 +42,27 @@ public class FlagConstraints implements IValueConstraintsBase {
maxOccurs = -1,
groupAs = @GroupAs(name = "rules", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Allowed Values Constraint", useName = "allowed-values",
- binding = FlagAllowedValues.class),
- @BoundGroupedAssembly(formalName = "Expect Condition Constraint", useName = "expect",
- binding = FlagExpect.class),
- @BoundGroupedAssembly(formalName = "Index Has Key Constraint", useName = "index-has-key",
- binding = FlagIndexHasKey.class),
- @BoundGroupedAssembly(formalName = "Value Matches Constraint", useName = "matches",
- binding = FlagMatches.class),
- @BoundGroupedAssembly(formalName = "Report Condition Constraint", useName = "report",
- binding = FlagReport.class)
- })
+ @BoundGroupedAssembly(formalName = "Allowed Values Constraint", useName = "allowed-values", binding = FlagAllowedValues.class),
+ @BoundGroupedAssembly(formalName = "Expect Condition Constraint", useName = "expect", binding = FlagExpect.class),
+ @BoundGroupedAssembly(formalName = "Index Has Key Constraint", useName = "index-has-key", binding = FlagIndexHasKey.class),
+ @BoundGroupedAssembly(formalName = "Value Matches Constraint", useName = "matches", binding = FlagMatches.class),
+ @BoundGroupedAssembly(formalName = "Report Condition Constraint", useName = "report", binding = FlagReport.class)
+ }
+ )
private List extends IConstraintBase> _rules;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagConstraints}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagConstraints} instance with no metadata.
*/
public FlagConstraints() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagConstraints}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagConstraints} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public FlagConstraints(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -98,7 +91,7 @@ public List getLets() {
* Set the constraint Let Expression.
*
* @param value
- * the let value to set
+ * the let value to set
*/
public void setLets(@NonNull List value) {
_lets = value;
@@ -106,13 +99,11 @@ public void setLets(@NonNull List value) {
/**
* Add a new {@link ConstraintLetExpression} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addLet(ConstraintLetExpression item) {
- ConstraintLetExpression value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ConstraintLetExpression value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_lets == null) {
_lets = new LinkedList<>();
}
@@ -120,15 +111,12 @@ public boolean addLet(ConstraintLetExpression item) {
}
/**
- * Remove the first matching {@link ConstraintLetExpression} item from the
- * underlying collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link ConstraintLetExpression} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeLet(ConstraintLetExpression item) {
- ConstraintLetExpression value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ ConstraintLetExpression value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _lets != null && _lets.remove(value);
}
@@ -156,7 +144,7 @@ public List extends IConstraintBase> getRules() {
* Items in this collection must implement {@link IConstraintBase}.
*
* @param value
- * the rules items to set
+ * the rules items to set
*/
public void setRules(@NonNull List extends IConstraintBase> value) {
_rules = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagExpect.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagExpect.java
index cd0097634..7a316ee96 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagExpect.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagExpect.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -35,14 +34,16 @@
@MetaschemaAssembly(
formalName = "Expect Condition Constraint",
name = "flag-expect",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class FlagExpect implements IBoundObject, IConfigurableMessageConstraintBase {
private final IMetaschemaData __metaschemaData;
@BoundFlag(
formalName = "Constraint Identifier",
name = "id",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _id;
@BoundFlag(
@@ -50,24 +51,16 @@ public class FlagExpect implements IBoundObject, IConfigurableMessageConstraintB
name = "level",
defaultValue = "ERROR",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "CRITICAL",
- description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."),
- @AllowedValue(value = "ERROR",
- description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."),
- @AllowedValue(value = "WARNING",
- description = "A violation of the constraint represents a potential issue with the content."),
- @AllowedValue(value = "INFORMATIONAL",
- description = "A violation of the constraint represents a point of interest."),
- @AllowedValue(value = "DEBUG",
- description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "CRITICAL", description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."), @AllowedValue(value = "ERROR", description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."), @AllowedValue(value = "WARNING", description = "A violation of the constraint represents a potential issue with the content."), @AllowedValue(value = "INFORMATIONAL", description = "A violation of the constraint represents a point of interest."), @AllowedValue(value = "DEBUG", description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.")}))
+ )
private String _level;
@BoundFlag(
formalName = "Expect Test Condition",
name = "test",
required = true,
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _test;
/**
@@ -77,59 +70,58 @@ public class FlagExpect implements IBoundObject, IConfigurableMessageConstraintB
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
@BoundField(
formalName = "Constraint Condition Violation Message",
useName = "message",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _message;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagExpect}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagExpect} instance with no metadata.
*/
public FlagExpect() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagExpect}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagExpect} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public FlagExpect(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -155,7 +147,7 @@ public String getId() {
* Set the constraint Identifier.
*
* @param value
- * the id value to set
+ * the id value to set
*/
public void setId(@Nullable String value) {
_id = value;
@@ -176,7 +168,7 @@ public String getLevel() {
* Set the constraint Severity Level.
*
* @param value
- * the level value to set
+ * the level value to set
*/
public void setLevel(@Nullable String value) {
_level = value;
@@ -196,7 +188,7 @@ public String getTest() {
* Set the expect Test Condition.
*
* @param value
- * the test value to set
+ * the test value to set
*/
public void setTest(@NonNull String value) {
_test = value;
@@ -223,7 +215,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -233,8 +225,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -248,11 +239,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -276,7 +266,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -284,13 +274,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -298,15 +286,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -325,7 +310,7 @@ public String getMessage() {
* Set the constraint Condition Violation Message.
*
* @param value
- * the message value to set
+ * the message value to set
*/
public void setMessage(@Nullable String value) {
_message = value;
@@ -335,8 +320,7 @@ public void setMessage(@Nullable String value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -350,11 +334,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagIndexHasKey.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagIndexHasKey.java
index c94fa04cc..09187f494 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagIndexHasKey.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagIndexHasKey.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -35,14 +34,16 @@
@MetaschemaAssembly(
formalName = "Index Has Key Constraint",
name = "flag-index-has-key",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class FlagIndexHasKey implements IBoundObject, IConfigurableMessageConstraintBase {
private final IMetaschemaData __metaschemaData;
@BoundFlag(
formalName = "Constraint Identifier",
name = "id",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _id;
@BoundFlag(
@@ -50,24 +51,16 @@ public class FlagIndexHasKey implements IBoundObject, IConfigurableMessageConstr
name = "level",
defaultValue = "ERROR",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "CRITICAL",
- description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."),
- @AllowedValue(value = "ERROR",
- description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."),
- @AllowedValue(value = "WARNING",
- description = "A violation of the constraint represents a potential issue with the content."),
- @AllowedValue(value = "INFORMATIONAL",
- description = "A violation of the constraint represents a point of interest."),
- @AllowedValue(value = "DEBUG",
- description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "CRITICAL", description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."), @AllowedValue(value = "ERROR", description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."), @AllowedValue(value = "WARNING", description = "A violation of the constraint represents a potential issue with the content."), @AllowedValue(value = "INFORMATIONAL", description = "A violation of the constraint represents a point of interest."), @AllowedValue(value = "DEBUG", description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.")}))
+ )
private String _level;
@BoundFlag(
formalName = "Index Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
/**
@@ -77,25 +70,27 @@ public class FlagIndexHasKey implements IBoundObject, IConfigurableMessageConstr
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
@BoundAssembly(
@@ -103,41 +98,39 @@ public class FlagIndexHasKey implements IBoundObject, IConfigurableMessageConstr
useName = "key-field",
minOccurs = 1,
maxOccurs = -1,
- groupAs = @GroupAs(name = "key-fields", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "key-fields", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _keyFields;
@BoundField(
formalName = "Constraint Condition Violation Message",
useName = "message",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _message;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagIndexHasKey}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagIndexHasKey} instance with no metadata.
*/
public FlagIndexHasKey() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagIndexHasKey}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagIndexHasKey} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public FlagIndexHasKey(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -163,7 +156,7 @@ public String getId() {
* Set the constraint Identifier.
*
* @param value
- * the id value to set
+ * the id value to set
*/
public void setId(@Nullable String value) {
_id = value;
@@ -184,7 +177,7 @@ public String getLevel() {
* Set the constraint Severity Level.
*
* @param value
- * the level value to set
+ * the level value to set
*/
public void setLevel(@Nullable String value) {
_level = value;
@@ -204,7 +197,7 @@ public String getName() {
* Set the index Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -231,7 +224,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -241,8 +234,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -256,11 +248,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -284,7 +275,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -292,13 +283,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -306,15 +295,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -335,7 +321,7 @@ public List getKeyFields() {
* Set the key Constraint Field.
*
* @param value
- * the key-field value to set
+ * the key-field value to set
*/
public void setKeyFields(@NonNull List value) {
_keyFields = value;
@@ -343,13 +329,11 @@ public void setKeyFields(@NonNull List value) {
/**
* Add a new {@link KeyConstraintField} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addKeyField(KeyConstraintField item) {
- KeyConstraintField value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ KeyConstraintField value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_keyFields == null) {
_keyFields = new LinkedList<>();
}
@@ -357,15 +341,12 @@ public boolean addKeyField(KeyConstraintField item) {
}
/**
- * Remove the first matching {@link KeyConstraintField} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link KeyConstraintField} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeKeyField(KeyConstraintField item) {
- KeyConstraintField value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ KeyConstraintField value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _keyFields != null && _keyFields.remove(value);
}
@@ -384,7 +365,7 @@ public String getMessage() {
* Set the constraint Condition Violation Message.
*
* @param value
- * the message value to set
+ * the message value to set
*/
public void setMessage(@Nullable String value) {
_message = value;
@@ -394,8 +375,7 @@ public void setMessage(@Nullable String value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -409,11 +389,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagMatches.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagMatches.java
index 0118f7bef..7cb3b9963 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagMatches.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagMatches.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -35,14 +34,16 @@
@MetaschemaAssembly(
formalName = "Value Matches Constraint",
name = "flag-matches",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class FlagMatches implements IBoundObject, IConfigurableMessageConstraintBase {
private final IMetaschemaData __metaschemaData;
@BoundFlag(
formalName = "Constraint Identifier",
name = "id",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _id;
@BoundFlag(
@@ -50,89 +51,23 @@ public class FlagMatches implements IBoundObject, IConfigurableMessageConstraint
name = "level",
defaultValue = "ERROR",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "CRITICAL",
- description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."),
- @AllowedValue(value = "ERROR",
- description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."),
- @AllowedValue(value = "WARNING",
- description = "A violation of the constraint represents a potential issue with the content."),
- @AllowedValue(value = "INFORMATIONAL",
- description = "A violation of the constraint represents a point of interest."),
- @AllowedValue(value = "DEBUG",
- description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "CRITICAL", description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."), @AllowedValue(value = "ERROR", description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."), @AllowedValue(value = "WARNING", description = "A violation of the constraint represents a potential issue with the content."), @AllowedValue(value = "INFORMATIONAL", description = "A violation of the constraint represents a point of interest."), @AllowedValue(value = "DEBUG", description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.")}))
+ )
private String _level;
@BoundFlag(
formalName = "Matches Regular Expression",
name = "regex",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _regex;
@BoundFlag(
formalName = "Matches Data Type",
name = "datatype",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- allowOthers = true,
- values = { @AllowedValue(value = "base64",
- description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."),
- @AllowedValue(value = "boolean",
- description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."),
- @AllowedValue(value = "date",
- description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."),
- @AllowedValue(value = "date-time",
- description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."),
- @AllowedValue(value = "date-time-with-timezone",
- description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."),
- @AllowedValue(value = "date-with-timezone",
- description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."),
- @AllowedValue(value = "day-time-duration",
- description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."),
- @AllowedValue(value = "decimal",
- description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."),
- @AllowedValue(value = "email-address",
- description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."),
- @AllowedValue(value = "hostname",
- description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."),
- @AllowedValue(value = "integer",
- description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."),
- @AllowedValue(value = "ip-v4-address",
- description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."),
- @AllowedValue(value = "ip-v6-address",
- description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."),
- @AllowedValue(value = "non-negative-integer",
- description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."),
- @AllowedValue(value = "positive-integer",
- description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."),
- @AllowedValue(value = "string",
- description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."),
- @AllowedValue(value = "token",
- description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."),
- @AllowedValue(value = "uri",
- description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."),
- @AllowedValue(value = "uri-reference",
- description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."),
- @AllowedValue(value = "uuid",
- description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."),
- @AllowedValue(value = "base64Binary",
- description = "An old name which is deprecated for use in favor of the 'base64' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime",
- description = "An old name which is deprecated for use in favor of the 'date-time' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime-with-timezone",
- description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "email",
- description = "An old name which is deprecated for use in favor of the 'email-address' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "nonNegativeInteger",
- description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "positiveInteger",
- description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.",
- deprecatedVersion = "1.0.0") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, allowOthers = true, values = {@AllowedValue(value = "base64", description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."), @AllowedValue(value = "boolean", description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."), @AllowedValue(value = "date", description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."), @AllowedValue(value = "date-time", description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."), @AllowedValue(value = "date-time-with-timezone", description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."), @AllowedValue(value = "date-with-timezone", description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."), @AllowedValue(value = "day-time-duration", description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."), @AllowedValue(value = "decimal", description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."), @AllowedValue(value = "email-address", description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."), @AllowedValue(value = "hostname", description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."), @AllowedValue(value = "integer", description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."), @AllowedValue(value = "ip-v4-address", description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."), @AllowedValue(value = "ip-v6-address", description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."), @AllowedValue(value = "non-negative-integer", description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."), @AllowedValue(value = "positive-integer", description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."), @AllowedValue(value = "string", description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."), @AllowedValue(value = "token", description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."), @AllowedValue(value = "uri", description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."), @AllowedValue(value = "uri-reference", description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."), @AllowedValue(value = "uuid", description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."), @AllowedValue(value = "base64Binary", description = "An old name which is deprecated for use in favor of the 'base64' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime", description = "An old name which is deprecated for use in favor of the 'date-time' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime-with-timezone", description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "email", description = "An old name which is deprecated for use in favor of the 'email-address' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "nonNegativeInteger", description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "positiveInteger", description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.", deprecatedVersion = "1.0.0")}))
+ )
private String _datatype;
/**
@@ -142,59 +77,58 @@ public class FlagMatches implements IBoundObject, IConfigurableMessageConstraint
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
@BoundField(
formalName = "Constraint Condition Violation Message",
useName = "message",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _message;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagMatches}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagMatches} instance with no metadata.
*/
public FlagMatches() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagMatches}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagMatches} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public FlagMatches(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -220,7 +154,7 @@ public String getId() {
* Set the constraint Identifier.
*
* @param value
- * the id value to set
+ * the id value to set
*/
public void setId(@Nullable String value) {
_id = value;
@@ -241,7 +175,7 @@ public String getLevel() {
* Set the constraint Severity Level.
*
* @param value
- * the level value to set
+ * the level value to set
*/
public void setLevel(@Nullable String value) {
_level = value;
@@ -261,7 +195,7 @@ public String getRegex() {
* Set the matches Regular Expression.
*
* @param value
- * the regex value to set
+ * the regex value to set
*/
public void setRegex(@Nullable String value) {
_regex = value;
@@ -281,7 +215,7 @@ public String getDatatype() {
* Set the matches Data Type.
*
* @param value
- * the datatype value to set
+ * the datatype value to set
*/
public void setDatatype(@Nullable String value) {
_datatype = value;
@@ -308,7 +242,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -318,8 +252,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -333,11 +266,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -361,7 +293,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -369,13 +301,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -383,15 +313,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -410,7 +337,7 @@ public String getMessage() {
* Set the constraint Condition Violation Message.
*
* @param value
- * the message value to set
+ * the message value to set
*/
public void setMessage(@Nullable String value) {
_message = value;
@@ -420,8 +347,7 @@ public void setMessage(@Nullable String value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -435,11 +361,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagReference.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagReference.java
index d35948749..5a4ccc3d2 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagReference.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagReference.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -36,7 +35,8 @@
@MetaschemaAssembly(
formalName = "Flag Reference",
name = "flag-reference",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class FlagReference implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -44,25 +44,29 @@ public class FlagReference implements IBoundObject {
formalName = "Global Flag Reference",
name = "ref",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _ref;
@BoundFlag(
formalName = "Flag Reference Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
formalName = "Default Flag Value",
name = "default",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _default;
@BoundFlag(
@@ -70,9 +74,8 @@ public class FlagReference implements IBoundObject {
name = "required",
defaultValue = "no",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- values = { @AllowedValue(value = "yes", description = "The flag is required."),
- @AllowedValue(value = "no", description = "The flag is optional.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "yes", description = "The flag is required."), @AllowedValue(value = "no", description = "The flag is optional.")}))
+ )
private String _required;
/**
@@ -82,25 +85,27 @@ public class FlagReference implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
@@ -109,35 +114,32 @@ public class FlagReference implements IBoundObject {
@BoundField(
formalName = "Use Name",
description = "Allows the name of the definition to be overridden.",
- useName = "use-name")
+ useName = "use-name"
+ )
private UseName _useName;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagReference}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagReference} instance with no metadata.
*/
public FlagReference() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagReference}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagReference} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public FlagReference(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -162,7 +164,7 @@ public String getRef() {
* Set the global Flag Reference.
*
* @param value
- * the ref value to set
+ * the ref value to set
*/
public void setRef(@NonNull String value) {
_ref = value;
@@ -182,7 +184,7 @@ public BigInteger getIndex() {
* Set the flag Reference Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -202,7 +204,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -222,7 +224,7 @@ public String getDefault() {
* Set the default Flag Value.
*
* @param value
- * the default value to set
+ * the default value to set
*/
public void setDefault(@Nullable String value) {
_default = value;
@@ -242,7 +244,7 @@ public String getRequired() {
* Set the is Flag Required?.
*
* @param value
- * the required value to set
+ * the required value to set
*/
public void setRequired(@Nullable String value) {
_required = value;
@@ -268,7 +270,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -278,8 +280,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -292,11 +293,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -319,7 +319,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -327,13 +327,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -341,15 +339,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -373,7 +368,7 @@ public UseName getUseName() {
* Allows the name of the definition to be overridden.
*
* @param value
- * the use-name value to set
+ * the use-name value to set
*/
public void setUseName(@Nullable UseName value) {
_useName = value;
@@ -383,8 +378,7 @@ public void setUseName(@Nullable UseName value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -397,11 +391,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagReport.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagReport.java
index f0461b8b0..05435f12f 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagReport.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/FlagReport.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -35,14 +34,16 @@
@MetaschemaAssembly(
formalName = "Report Condition Constraint",
name = "flag-report",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class FlagReport implements IBoundObject, IConfigurableMessageConstraintBase {
private final IMetaschemaData __metaschemaData;
@BoundFlag(
formalName = "Constraint Identifier",
name = "id",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _id;
@BoundFlag(
@@ -50,24 +51,16 @@ public class FlagReport implements IBoundObject, IConfigurableMessageConstraintB
name = "level",
defaultValue = "ERROR",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "CRITICAL",
- description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."),
- @AllowedValue(value = "ERROR",
- description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."),
- @AllowedValue(value = "WARNING",
- description = "A violation of the constraint represents a potential issue with the content."),
- @AllowedValue(value = "INFORMATIONAL",
- description = "A violation of the constraint represents a point of interest."),
- @AllowedValue(value = "DEBUG",
- description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "CRITICAL", description = "A violation of the constraint represents a serious fault in the content that will prevent typical use of the content."), @AllowedValue(value = "ERROR", description = "A violation of the constraint represents a fault in the content. This may include issues around compatibility, integrity, consistency, etc."), @AllowedValue(value = "WARNING", description = "A violation of the constraint represents a potential issue with the content."), @AllowedValue(value = "INFORMATIONAL", description = "A violation of the constraint represents a point of interest."), @AllowedValue(value = "DEBUG", description = "A violation of the constraint represents a fault in the content that may warrant review by a developer when performing model or tool development.")}))
+ )
private String _level;
@BoundFlag(
formalName = "Report Test Condition",
name = "test",
required = true,
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _test;
/**
@@ -77,59 +70,58 @@ public class FlagReport implements IBoundObject, IConfigurableMessageConstraintB
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
@BoundField(
formalName = "Constraint Condition Violation Message",
useName = "message",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _message;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagReport}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagReport} instance with no metadata.
*/
public FlagReport() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagReport}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.FlagReport} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public FlagReport(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -155,7 +147,7 @@ public String getId() {
* Set the constraint Identifier.
*
* @param value
- * the id value to set
+ * the id value to set
*/
public void setId(@Nullable String value) {
_id = value;
@@ -176,7 +168,7 @@ public String getLevel() {
* Set the constraint Severity Level.
*
* @param value
- * the level value to set
+ * the level value to set
*/
public void setLevel(@Nullable String value) {
_level = value;
@@ -196,7 +188,7 @@ public String getTest() {
* Set the report Test Condition.
*
* @param value
- * the test value to set
+ * the test value to set
*/
public void setTest(@NonNull String value) {
_test = value;
@@ -223,7 +215,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -233,8 +225,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -248,11 +239,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -276,7 +266,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -284,13 +274,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -298,15 +286,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -325,7 +310,7 @@ public String getMessage() {
* Set the constraint Condition Violation Message.
*
* @param value
- * the message value to set
+ * the message value to set
*/
public void setMessage(@Nullable String value) {
_message = value;
@@ -335,8 +320,7 @@ public void setMessage(@Nullable String value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -350,11 +334,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/GroupingAs.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/GroupingAs.java
index 54f9ca61e..1c7d444e8 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/GroupingAs.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/GroupingAs.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -25,7 +24,8 @@
@MetaschemaAssembly(
formalName = "Group As",
name = "group-as",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class GroupingAs implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -33,7 +33,8 @@ public class GroupingAs implements IBoundObject {
formalName = "Grouping Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
@BoundFlag(
@@ -41,12 +42,8 @@ public class GroupingAs implements IBoundObject {
name = "in-json",
defaultValue = "SINGLETON_OR_ARRAY",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "ARRAY", description = "Always use an array."),
- @AllowedValue(value = "SINGLETON_OR_ARRAY",
- description = "Produce a singleton for a single member or an array for multiple members."),
- @AllowedValue(value = "BY_KEY",
- description = "For any group of one or more members, produce an object with properties for each member, using a designated flag for their property name values, which must be distinct.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "ARRAY", description = "Always use an array."), @AllowedValue(value = "SINGLETON_OR_ARRAY", description = "Produce a singleton for a single member or an array for multiple members."), @AllowedValue(value = "BY_KEY", description = "For any group of one or more members, produce an object with properties for each member, using a designated flag for their property name values, which must be distinct.")}))
+ )
private String _inJson;
@BoundFlag(
@@ -54,27 +51,22 @@ public class GroupingAs implements IBoundObject {
name = "in-xml",
defaultValue = "UNGROUPED",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- values = { @AllowedValue(value = "GROUPED", description = "Use a wrapper element."),
- @AllowedValue(value = "UNGROUPED", description = "Do not use a wrapper element.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "GROUPED", description = "Use a wrapper element."), @AllowedValue(value = "UNGROUPED", description = "Do not use a wrapper element.")}))
+ )
private String _inXml;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.GroupingAs}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.GroupingAs} instance with no metadata.
*/
public GroupingAs() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.GroupingAs}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.GroupingAs} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public GroupingAs(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -99,7 +91,7 @@ public String getName() {
* Set the grouping Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -119,7 +111,7 @@ public String getInJson() {
* Set the in JSON Grouping Syntax.
*
* @param value
- * the in-json value to set
+ * the in-json value to set
*/
public void setInJson(@Nullable String value) {
_inJson = value;
@@ -139,7 +131,7 @@ public String getInXml() {
* Set the in XML Grouping Syntax.
*
* @param value
- * the in-xml value to set
+ * the in-xml value to set
*/
public void setInXml(@Nullable String value) {
_inXml = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineAssembly.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineAssembly.java
index c25027fb5..33d8fda17 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineAssembly.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineAssembly.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -38,7 +37,8 @@
@MetaschemaAssembly(
formalName = "Inline Assembly Definition",
name = "inline-define-assembly",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class InlineDefineAssembly implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -46,26 +46,30 @@ public class InlineDefineAssembly implements IBoundObject {
formalName = "Inline Assembly Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
@BoundFlag(
formalName = "Inline Assembly Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
formalName = "Minimum Occurrence",
name = "min-occurs",
defaultValue = "0",
- typeAdapter = NonNegativeIntegerAdapter.class)
+ typeAdapter = NonNegativeIntegerAdapter.class
+ )
private BigInteger _minOccurs;
@BoundFlag(
@@ -73,8 +77,8 @@ public class InlineDefineAssembly implements IBoundObject {
name = "max-occurs",
defaultValue = "1",
typeAdapter = StringAdapter.class,
- valueConstraints = @ValueConstraints(
- matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$")))
+ valueConstraints = @ValueConstraints(matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$"))
+ )
private String _maxOccurs;
/**
@@ -84,95 +88,95 @@ public class InlineDefineAssembly implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*/
@BoundAssembly(
formalName = "JSON Key",
description = "Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share `json-key` values.",
- useName = "json-key")
+ useName = "json-key"
+ )
private JsonKey _jsonKey;
@BoundAssembly(
formalName = "Group As",
- useName = "group-as")
+ useName = "group-as"
+ )
private GroupingAs _groupAs;
@BoundChoiceGroup(
maxOccurs = -1,
groupAs = @GroupAs(name = "flags", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag",
- discriminatorValue = "flag", binding = InlineDefineFlag.class),
- @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref",
- binding = FlagReference.class)
- })
+ @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag", discriminatorValue = "flag", binding = InlineDefineFlag.class),
+ @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref", binding = FlagReference.class)
+ }
+ )
private List _flags;
@BoundAssembly(
- useName = "model")
+ useName = "model"
+ )
private AssemblyModel _model;
@BoundAssembly(
- useName = "constraint")
+ useName = "constraint"
+ )
private AssemblyConstraints _constraint;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
@BoundAssembly(
formalName = "Example",
useName = "example",
maxOccurs = -1,
- groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _examples;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineAssembly}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineAssembly} instance with no metadata.
*/
public InlineDefineAssembly() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineAssembly}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineAssembly} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public InlineDefineAssembly(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -197,7 +201,7 @@ public String getName() {
* Set the inline Assembly Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -217,7 +221,7 @@ public BigInteger getIndex() {
* Set the inline Assembly Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -237,7 +241,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -257,7 +261,7 @@ public BigInteger getMinOccurs() {
* Set the minimum Occurrence.
*
* @param value
- * the min-occurs value to set
+ * the min-occurs value to set
*/
public void setMinOccurs(@Nullable BigInteger value) {
_minOccurs = value;
@@ -277,7 +281,7 @@ public String getMaxOccurs() {
* Set the maximum Occurrence.
*
* @param value
- * the max-occurs value to set
+ * the max-occurs value to set
*/
public void setMaxOccurs(@Nullable String value) {
_maxOccurs = value;
@@ -303,7 +307,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -313,8 +317,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -327,11 +330,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -354,7 +356,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -362,13 +364,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -376,15 +376,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -392,9 +389,7 @@ public boolean removeProp(Property item) {
* Get the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @return the json-key value, or {@code null} if not set
*/
@@ -407,12 +402,10 @@ public JsonKey getJsonKey() {
* Set the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @param value
- * the json-key value to set
+ * the json-key value to set
*/
public void setJsonKey(@Nullable JsonKey value) {
_jsonKey = value;
@@ -432,7 +425,7 @@ public GroupingAs getGroupAs() {
* Set the group As.
*
* @param value
- * the group-as value to set
+ * the group-as value to set
*/
public void setGroupAs(@Nullable GroupingAs value) {
_groupAs = value;
@@ -455,7 +448,7 @@ public List getFlags() {
* Set the {@code flags} choice group items.
*
* @param value
- * the flags items to set
+ * the flags items to set
*/
public void setFlags(@NonNull List value) {
_flags = value;
@@ -475,7 +468,7 @@ public AssemblyModel getModel() {
* Set the {@code model} property.
*
* @param value
- * the model value to set
+ * the model value to set
*/
public void setModel(@Nullable AssemblyModel value) {
_model = value;
@@ -495,7 +488,7 @@ public AssemblyConstraints getConstraint() {
* Set the {@code constraint} property.
*
* @param value
- * the constraint value to set
+ * the constraint value to set
*/
public void setConstraint(@Nullable AssemblyConstraints value) {
_constraint = value;
@@ -505,8 +498,7 @@ public void setConstraint(@Nullable AssemblyConstraints value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -519,11 +511,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -546,7 +537,7 @@ public List getExamples() {
* Set the example.
*
* @param value
- * the example value to set
+ * the example value to set
*/
public void setExamples(@NonNull List value) {
_examples = value;
@@ -554,13 +545,11 @@ public void setExamples(@NonNull List value) {
/**
* Add a new {@link Example} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_examples == null) {
_examples = new LinkedList<>();
}
@@ -568,15 +557,12 @@ public boolean addExample(Example item) {
}
/**
- * Remove the first matching {@link Example} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Example} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _examples != null && _examples.remove(value);
}
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineField.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineField.java
index 3f5ca9375..5e0c85e35 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineField.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineField.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -41,7 +40,8 @@
@MetaschemaAssembly(
formalName = "Inline Field Definition",
name = "inline-define-field",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class InlineDefineField implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -49,19 +49,22 @@ public class InlineDefineField implements IBoundObject {
formalName = "Inline Field Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
@BoundFlag(
formalName = "Inline Field Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
@@ -69,83 +72,23 @@ public class InlineDefineField implements IBoundObject {
name = "as-type",
defaultValue = "string",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- allowOthers = true,
- values = { @AllowedValue(value = "markup-line",
- description = "The [markup-line](https://framework.metaschema.dev/specification/datatypes/#markup-line) data type."),
- @AllowedValue(value = "markup-multiline",
- description = "The [markup-multiline](https://framework.metaschema.dev/specification/datatypes/#markup-multiline) data type."),
- @AllowedValue(value = "base64",
- description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."),
- @AllowedValue(value = "boolean",
- description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."),
- @AllowedValue(value = "date",
- description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."),
- @AllowedValue(value = "date-time",
- description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."),
- @AllowedValue(value = "date-time-with-timezone",
- description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."),
- @AllowedValue(value = "date-with-timezone",
- description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."),
- @AllowedValue(value = "day-time-duration",
- description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."),
- @AllowedValue(value = "decimal",
- description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."),
- @AllowedValue(value = "email-address",
- description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."),
- @AllowedValue(value = "hostname",
- description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."),
- @AllowedValue(value = "integer",
- description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."),
- @AllowedValue(value = "ip-v4-address",
- description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."),
- @AllowedValue(value = "ip-v6-address",
- description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."),
- @AllowedValue(value = "non-negative-integer",
- description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."),
- @AllowedValue(value = "positive-integer",
- description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."),
- @AllowedValue(value = "string",
- description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."),
- @AllowedValue(value = "token",
- description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."),
- @AllowedValue(value = "uri",
- description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."),
- @AllowedValue(value = "uri-reference",
- description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."),
- @AllowedValue(value = "uuid",
- description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."),
- @AllowedValue(value = "base64Binary",
- description = "An old name which is deprecated for use in favor of the 'base64' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime",
- description = "An old name which is deprecated for use in favor of the 'date-time' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime-with-timezone",
- description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "email",
- description = "An old name which is deprecated for use in favor of the 'email-address' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "nonNegativeInteger",
- description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "positiveInteger",
- description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.",
- deprecatedVersion = "1.0.0") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, allowOthers = true, values = {@AllowedValue(value = "markup-line", description = "The [markup-line](https://framework.metaschema.dev/specification/datatypes/#markup-line) data type."), @AllowedValue(value = "markup-multiline", description = "The [markup-multiline](https://framework.metaschema.dev/specification/datatypes/#markup-multiline) data type."), @AllowedValue(value = "base64", description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."), @AllowedValue(value = "boolean", description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."), @AllowedValue(value = "date", description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."), @AllowedValue(value = "date-time", description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."), @AllowedValue(value = "date-time-with-timezone", description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."), @AllowedValue(value = "date-with-timezone", description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."), @AllowedValue(value = "day-time-duration", description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."), @AllowedValue(value = "decimal", description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."), @AllowedValue(value = "email-address", description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."), @AllowedValue(value = "hostname", description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."), @AllowedValue(value = "integer", description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."), @AllowedValue(value = "ip-v4-address", description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."), @AllowedValue(value = "ip-v6-address", description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."), @AllowedValue(value = "non-negative-integer", description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."), @AllowedValue(value = "positive-integer", description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."), @AllowedValue(value = "string", description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."), @AllowedValue(value = "token", description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."), @AllowedValue(value = "uri", description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."), @AllowedValue(value = "uri-reference", description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."), @AllowedValue(value = "uuid", description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."), @AllowedValue(value = "base64Binary", description = "An old name which is deprecated for use in favor of the 'base64' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime", description = "An old name which is deprecated for use in favor of the 'date-time' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime-with-timezone", description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "email", description = "An old name which is deprecated for use in favor of the 'email-address' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "nonNegativeInteger", description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "positiveInteger", description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.", deprecatedVersion = "1.0.0")}))
+ )
private String _asType;
@BoundFlag(
formalName = "Default Field Value",
name = "default",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _default;
@BoundFlag(
formalName = "Minimum Occurrence",
name = "min-occurs",
defaultValue = "0",
- typeAdapter = NonNegativeIntegerAdapter.class)
+ typeAdapter = NonNegativeIntegerAdapter.class
+ )
private BigInteger _minOccurs;
@BoundFlag(
@@ -153,8 +96,8 @@ public class InlineDefineField implements IBoundObject {
name = "max-occurs",
defaultValue = "1",
typeAdapter = StringAdapter.class,
- valueConstraints = @ValueConstraints(
- matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$")))
+ valueConstraints = @ValueConstraints(matches = @Matches(level = IConstraint.Level.ERROR, pattern = "^[1-9][0-9]*|unbounded$"))
+ )
private String _maxOccurs;
@BoundFlag(
@@ -162,12 +105,8 @@ public class InlineDefineField implements IBoundObject {
name = "in-xml",
defaultValue = "WRAPPED",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "WRAPPED",
- description = "Block contents of a markup-multiline field will be represented with a containing (wrapper) element in the XML."),
- @AllowedValue(value = "UNWRAPPED",
- description = "Block contents of a markup-multiline will be represented in the XML with no wrapper, making the field implicit. Among sibling fields in a given model, only one of them may be designated as UNWRAPPED."),
- @AllowedValue(value = "WITH_WRAPPER", description = "Alias for WRAPPED.", deprecatedVersion = "0.9.0") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "WRAPPED", description = "Block contents of a markup-multiline field will be represented with a containing (wrapper) element in the XML."), @AllowedValue(value = "UNWRAPPED", description = "Block contents of a markup-multiline will be represented in the XML with no wrapper, making the field implicit. Among sibling fields in a given model, only one of them may be designated as UNWRAPPED."), @AllowedValue(value = "WITH_WRAPPER", description = "Alias for WRAPPED.", deprecatedVersion = "0.9.0")}))
+ )
private String _inXml;
/**
@@ -177,106 +116,109 @@ public class InlineDefineField implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*/
@BoundAssembly(
formalName = "JSON Key",
description = "Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share `json-key` values.",
- useName = "json-key")
+ useName = "json-key"
+ )
private JsonKey _jsonKey;
@BoundField(
formalName = "Field Value JSON Property Name",
useName = "json-value-key",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
@BoundChoice(
- choiceId = "choice-1")
+ choiceId = "choice-1"
+ )
private String _jsonValueKey;
@BoundAssembly(
formalName = "Flag Used as the Field Value's JSON Property Name",
- useName = "json-value-key-flag")
+ useName = "json-value-key-flag"
+ )
@BoundChoice(
- choiceId = "choice-1")
+ choiceId = "choice-1"
+ )
private JsonValueKeyFlag _jsonValueKeyFlag;
@BoundAssembly(
formalName = "Group As",
- useName = "group-as")
+ useName = "group-as"
+ )
private GroupingAs _groupAs;
@BoundChoiceGroup(
maxOccurs = -1,
groupAs = @GroupAs(name = "flags", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag",
- discriminatorValue = "flag", binding = InlineDefineFlag.class),
- @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref",
- binding = FlagReference.class)
- })
+ @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag", discriminatorValue = "flag", binding = InlineDefineFlag.class),
+ @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref", binding = FlagReference.class)
+ }
+ )
private List _flags;
@BoundAssembly(
- useName = "constraint")
+ useName = "constraint"
+ )
private FieldConstraints _constraint;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
@BoundAssembly(
formalName = "Example",
useName = "example",
maxOccurs = -1,
- groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _examples;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineField}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineField} instance with no metadata.
*/
public InlineDefineField() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineField}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineField} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public InlineDefineField(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -301,7 +243,7 @@ public String getName() {
* Set the inline Field Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -321,7 +263,7 @@ public BigInteger getIndex() {
* Set the inline Field Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -341,7 +283,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -361,7 +303,7 @@ public String getAsType() {
* Set the field Value Data Type.
*
* @param value
- * the as-type value to set
+ * the as-type value to set
*/
public void setAsType(@Nullable String value) {
_asType = value;
@@ -381,7 +323,7 @@ public String getDefault() {
* Set the default Field Value.
*
* @param value
- * the default value to set
+ * the default value to set
*/
public void setDefault(@Nullable String value) {
_default = value;
@@ -401,7 +343,7 @@ public BigInteger getMinOccurs() {
* Set the minimum Occurrence.
*
* @param value
- * the min-occurs value to set
+ * the min-occurs value to set
*/
public void setMinOccurs(@Nullable BigInteger value) {
_minOccurs = value;
@@ -421,7 +363,7 @@ public String getMaxOccurs() {
* Set the maximum Occurrence.
*
* @param value
- * the max-occurs value to set
+ * the max-occurs value to set
*/
public void setMaxOccurs(@Nullable String value) {
_maxOccurs = value;
@@ -441,7 +383,7 @@ public String getInXml() {
* Set the field In XML.
*
* @param value
- * the in-xml value to set
+ * the in-xml value to set
*/
public void setInXml(@Nullable String value) {
_inXml = value;
@@ -467,7 +409,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -477,8 +419,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -491,11 +432,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -518,7 +458,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -526,13 +466,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -540,15 +478,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -556,9 +491,7 @@ public boolean removeProp(Property item) {
* Get the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @return the json-key value, or {@code null} if not set
*/
@@ -571,12 +504,10 @@ public JsonKey getJsonKey() {
* Set the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @param value
- * the json-key value to set
+ * the json-key value to set
*/
public void setJsonKey(@Nullable JsonKey value) {
_jsonKey = value;
@@ -596,7 +527,7 @@ public String getJsonValueKey() {
* Set the field Value JSON Property Name.
*
* @param value
- * the json-value-key value to set
+ * the json-value-key value to set
*/
public void setJsonValueKey(@Nullable String value) {
_jsonValueKey = value;
@@ -616,7 +547,7 @@ public JsonValueKeyFlag getJsonValueKeyFlag() {
* Set the flag Used as the Field Value's JSON Property Name.
*
* @param value
- * the json-value-key-flag value to set
+ * the json-value-key-flag value to set
*/
public void setJsonValueKeyFlag(@Nullable JsonValueKeyFlag value) {
_jsonValueKeyFlag = value;
@@ -636,7 +567,7 @@ public GroupingAs getGroupAs() {
* Set the group As.
*
* @param value
- * the group-as value to set
+ * the group-as value to set
*/
public void setGroupAs(@Nullable GroupingAs value) {
_groupAs = value;
@@ -659,7 +590,7 @@ public List getFlags() {
* Set the {@code flags} choice group items.
*
* @param value
- * the flags items to set
+ * the flags items to set
*/
public void setFlags(@NonNull List value) {
_flags = value;
@@ -679,7 +610,7 @@ public FieldConstraints getConstraint() {
* Set the {@code constraint} property.
*
* @param value
- * the constraint value to set
+ * the constraint value to set
*/
public void setConstraint(@Nullable FieldConstraints value) {
_constraint = value;
@@ -689,8 +620,7 @@ public void setConstraint(@Nullable FieldConstraints value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -703,11 +633,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -730,7 +659,7 @@ public List getExamples() {
* Set the example.
*
* @param value
- * the example value to set
+ * the example value to set
*/
public void setExamples(@NonNull List value) {
_examples = value;
@@ -738,13 +667,11 @@ public void setExamples(@NonNull List value) {
/**
* Add a new {@link Example} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_examples == null) {
_examples = new LinkedList<>();
}
@@ -752,15 +679,12 @@ public boolean addExample(Example item) {
}
/**
- * Remove the first matching {@link Example} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Example} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _examples != null && _examples.remove(value);
}
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineFlag.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineFlag.java
index 38cfba427..dd8c13fe2 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineFlag.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/InlineDefineFlag.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -36,7 +35,8 @@
@MetaschemaAssembly(
formalName = "Inline Flag Definition",
name = "inline-define-flag",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class InlineDefineFlag implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -44,19 +44,22 @@ public class InlineDefineFlag implements IBoundObject {
formalName = "Inline Flag Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
@BoundFlag(
formalName = "Inline Flag Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
@@ -64,72 +67,15 @@ public class InlineDefineFlag implements IBoundObject {
name = "as-type",
defaultValue = "string",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- allowOthers = true,
- values = { @AllowedValue(value = "base64",
- description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."),
- @AllowedValue(value = "boolean",
- description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."),
- @AllowedValue(value = "date",
- description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."),
- @AllowedValue(value = "date-time",
- description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."),
- @AllowedValue(value = "date-time-with-timezone",
- description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."),
- @AllowedValue(value = "date-with-timezone",
- description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."),
- @AllowedValue(value = "day-time-duration",
- description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."),
- @AllowedValue(value = "decimal",
- description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."),
- @AllowedValue(value = "email-address",
- description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."),
- @AllowedValue(value = "hostname",
- description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."),
- @AllowedValue(value = "integer",
- description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."),
- @AllowedValue(value = "ip-v4-address",
- description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."),
- @AllowedValue(value = "ip-v6-address",
- description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."),
- @AllowedValue(value = "non-negative-integer",
- description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."),
- @AllowedValue(value = "positive-integer",
- description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."),
- @AllowedValue(value = "string",
- description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."),
- @AllowedValue(value = "token",
- description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."),
- @AllowedValue(value = "uri",
- description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."),
- @AllowedValue(value = "uri-reference",
- description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."),
- @AllowedValue(value = "uuid",
- description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."),
- @AllowedValue(value = "base64Binary",
- description = "An old name which is deprecated for use in favor of the 'base64' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime",
- description = "An old name which is deprecated for use in favor of the 'date-time' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime-with-timezone",
- description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "email",
- description = "An old name which is deprecated for use in favor of the 'email-address' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "nonNegativeInteger",
- description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "positiveInteger",
- description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.",
- deprecatedVersion = "1.0.0") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, allowOthers = true, values = {@AllowedValue(value = "base64", description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."), @AllowedValue(value = "boolean", description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."), @AllowedValue(value = "date", description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."), @AllowedValue(value = "date-time", description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."), @AllowedValue(value = "date-time-with-timezone", description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."), @AllowedValue(value = "date-with-timezone", description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."), @AllowedValue(value = "day-time-duration", description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."), @AllowedValue(value = "decimal", description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."), @AllowedValue(value = "email-address", description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."), @AllowedValue(value = "hostname", description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."), @AllowedValue(value = "integer", description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."), @AllowedValue(value = "ip-v4-address", description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."), @AllowedValue(value = "ip-v6-address", description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."), @AllowedValue(value = "non-negative-integer", description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."), @AllowedValue(value = "positive-integer", description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."), @AllowedValue(value = "string", description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."), @AllowedValue(value = "token", description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."), @AllowedValue(value = "uri", description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."), @AllowedValue(value = "uri-reference", description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."), @AllowedValue(value = "uuid", description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."), @AllowedValue(value = "base64Binary", description = "An old name which is deprecated for use in favor of the 'base64' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime", description = "An old name which is deprecated for use in favor of the 'date-time' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime-with-timezone", description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "email", description = "An old name which is deprecated for use in favor of the 'email-address' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "nonNegativeInteger", description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "positiveInteger", description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.", deprecatedVersion = "1.0.0")}))
+ )
private String _asType;
@BoundFlag(
formalName = "Default Flag Value",
name = "default",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _default;
@BoundFlag(
@@ -137,9 +83,8 @@ public class InlineDefineFlag implements IBoundObject {
name = "required",
defaultValue = "no",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- values = { @AllowedValue(value = "yes", description = "The flag is required."),
- @AllowedValue(value = "no", description = "The flag is optional.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "yes", description = "The flag is required."), @AllowedValue(value = "no", description = "The flag is optional.")}))
+ )
private String _required;
/**
@@ -149,64 +94,64 @@ public class InlineDefineFlag implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
@BoundAssembly(
- useName = "constraint")
+ useName = "constraint"
+ )
private FlagConstraints _constraint;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
@BoundAssembly(
formalName = "Example",
useName = "example",
maxOccurs = -1,
- groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _examples;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineFlag}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineFlag} instance with no metadata.
*/
public InlineDefineFlag() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineFlag}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.InlineDefineFlag} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public InlineDefineFlag(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -231,7 +176,7 @@ public String getName() {
* Set the inline Flag Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -251,7 +196,7 @@ public BigInteger getIndex() {
* Set the inline Flag Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -271,7 +216,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -291,7 +236,7 @@ public String getAsType() {
* Set the flag Value Data Type.
*
* @param value
- * the as-type value to set
+ * the as-type value to set
*/
public void setAsType(@Nullable String value) {
_asType = value;
@@ -311,7 +256,7 @@ public String getDefault() {
* Set the default Flag Value.
*
* @param value
- * the default value to set
+ * the default value to set
*/
public void setDefault(@Nullable String value) {
_default = value;
@@ -331,7 +276,7 @@ public String getRequired() {
* Set the is Flag Required?.
*
* @param value
- * the required value to set
+ * the required value to set
*/
public void setRequired(@Nullable String value) {
_required = value;
@@ -357,7 +302,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -367,8 +312,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -381,11 +325,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -408,7 +351,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -416,13 +359,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -430,15 +371,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -456,7 +394,7 @@ public FlagConstraints getConstraint() {
* Set the {@code constraint} property.
*
* @param value
- * the constraint value to set
+ * the constraint value to set
*/
public void setConstraint(@Nullable FlagConstraints value) {
_constraint = value;
@@ -466,8 +404,7 @@ public void setConstraint(@Nullable FlagConstraints value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -480,11 +417,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -507,7 +443,7 @@ public List getExamples() {
* Set the example.
*
* @param value
- * the example value to set
+ * the example value to set
*/
public void setExamples(@NonNull List value) {
_examples = value;
@@ -515,13 +451,11 @@ public void setExamples(@NonNull List value) {
/**
* Add a new {@link Example} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_examples == null) {
_examples = new LinkedList<>();
}
@@ -529,15 +463,12 @@ public boolean addExample(Example item) {
}
/**
- * Remove the first matching {@link Example} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Example} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _examples != null && _examples.remove(value);
}
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/JsonKey.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/JsonKey.java
index 1e2ffc972..a8063e4ce 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/JsonKey.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/JsonKey.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -18,15 +17,14 @@
import org.apache.commons.lang3.builder.ToStringStyle;
/**
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*/
@MetaschemaAssembly(
formalName = "JSON Key",
description = "Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share `json-key` values.",
name = "json-key",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class JsonKey implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -38,25 +36,22 @@ public class JsonKey implements IBoundObject {
description = "References the flag that will serve as the JSON key.",
name = "flag-ref",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _flagRef;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.JsonKey}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.JsonKey} instance with no metadata.
*/
public JsonKey() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.JsonKey}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.JsonKey} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public JsonKey(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -87,7 +82,7 @@ public String getFlagRef() {
* References the flag that will serve as the JSON key.
*
* @param value
- * the flag-ref value to set
+ * the flag-ref value to set
*/
public void setFlagRef(@NonNull String value) {
_flagRef = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/JsonValueKeyFlag.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/JsonValueKeyFlag.java
index 01ed9312b..27ebc7f7c 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/JsonValueKeyFlag.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/JsonValueKeyFlag.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -20,7 +19,8 @@
@MetaschemaAssembly(
formalName = "Flag Used as the Field Value's JSON Property Name",
name = "json-value-key-flag",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class JsonValueKeyFlag implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -28,25 +28,22 @@ public class JsonValueKeyFlag implements IBoundObject {
formalName = "Flag Reference",
name = "flag-ref",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _flagRef;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.JsonValueKeyFlag}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.JsonValueKeyFlag} instance with no metadata.
*/
public JsonValueKeyFlag() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.JsonValueKeyFlag}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.JsonValueKeyFlag} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public JsonValueKeyFlag(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -71,7 +68,7 @@ public String getFlagRef() {
* Set the flag Reference.
*
* @param value
- * the flag-ref value to set
+ * the flag-ref value to set
*/
public void setFlagRef(@NonNull String value) {
_flagRef = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/KeyConstraintField.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/KeyConstraintField.java
index e49f25814..ca32e7744 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/KeyConstraintField.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/KeyConstraintField.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -22,7 +21,8 @@
@MetaschemaAssembly(
formalName = "Key Constraint",
name = "key-constraint-field",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+)
public class KeyConstraintField implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -30,41 +30,39 @@ public class KeyConstraintField implements IBoundObject {
formalName = "Key Field Value Target",
name = "target",
required = true,
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _target;
@BoundFlag(
formalName = "Key Field Value Pattern",
name = "pattern",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _pattern;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.KeyConstraintField}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.KeyConstraintField} instance with no metadata.
*/
public KeyConstraintField() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.KeyConstraintField}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.KeyConstraintField} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public KeyConstraintField(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -89,7 +87,7 @@ public String getTarget() {
* Set the key Field Value Target.
*
* @param value
- * the target value to set
+ * the target value to set
*/
public void setTarget(@NonNull String value) {
_target = value;
@@ -109,7 +107,7 @@ public String getPattern() {
* Set the key Field Value Pattern.
*
* @param value
- * the pattern value to set
+ * the pattern value to set
*/
public void setPattern(@Nullable String value) {
_pattern = value;
@@ -119,8 +117,7 @@ public void setPattern(@Nullable String value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -133,11 +130,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
diff --git a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/METASCHEMA.java b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/METASCHEMA.java
index 8ff8edc60..e1a7cbd5b 100644
--- a/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/METASCHEMA.java
+++ b/databind/src/main/java/gov/nist/secauto/metaschema/databind/model/metaschema/binding/METASCHEMA.java
@@ -4,7 +4,6 @@
*/
// Generated from: ../../../../../../../../../../../../core/metaschema/schema/metaschema/metaschema-module-metaschema.xml
// Do not edit - changes will be lost when regenerated.
-
package gov.nist.secauto.metaschema.databind.model.metaschema.binding;
import edu.umd.cs.findbugs.annotations.NonNull;
@@ -56,58 +55,14 @@
name = "METASCHEMA",
moduleClass = MetaschemaModelModule.class,
rootName = "METASCHEMA",
- valueConstraints = @ValueConstraints(lets = {
- @Let(name = "all-imports",
- target = "recurse-depth('for $import in ./import return doc(resolve-uri($import/@href))/METASCHEMA')"),
- @Let(name = "deprecated-type-map",
- target = "map { 'base64Binary':'base64','dateTime':'date-time','dateTime-with-timezone':'date-time-with-timezone','email':'email-address','nonNegativeInteger':'non-negative-integer','positiveInteger':'positive-integer' }") },
- expect = { @Expect(id = "module-top-level-version-required",
- formalName = "Require Schema Version for Top-Level Modules",
- description = "A top-level module, a module that is not marked as @abstract='yes', must have a schema version specified.",
- level = IConstraint.Level.WARNING, target = ".[not(@abstract) or @abstract='no']", test = "schema-version",
- message = "Unless marked as @abstract='yes', a Metaschema module (or an imported module) should have a schema version."),
- @Expect(id = "module-top-level-root-required", formalName = "Require Root Assembly for Top-Level Modules",
- description = "A top-level module, a module that is not marked as @abstract='yes', must have at least one assembly with a root-name.",
- level = IConstraint.Level.WARNING, target = ".[not(@abstract) or @abstract='no']",
- test = "exists($all-imports/define-assembly/root-name)",
- message = "Unless marked as @abstract='yes', a Metaschema module (or an imported module) should have at least one assembly with a root-name."),
- @Expect(id = "module-import-href-available", formalName = "Import is Resolvable",
- description = "Ensure each import has a resolvable @href.", level = IConstraint.Level.ERROR,
- target = "import", test = "doc-available(resolve-uri(@href))",
- message = "Unable to access a Metaschema module at '{ resolve-uri(@href) }'."),
- @Expect(id = "module-import-href-is-module", formalName = "Import is a Metaschema module",
- description = "Ensure each import is a Metaschema module.", level = IConstraint.Level.ERROR,
- target = "import", test = "doc(resolve-uri(@href))/METASCHEMA ! exists(.)",
- message = "The resource at '{ resolve-uri(@href) }' is not a Metaschema module."),
- @Expect(id = "module-model-group-a-invalid", formalName = "Group-As unneeded with max-occurs='1'",
- description = "A field or assembly instance with a max occurrence of \\`1\\` must not have a \\`group-as\\` child.",
- level = IConstraint.Level.ERROR,
- target = ".//(define-assembly|define-field|assembly|field)[@max-occurs=1]", test = ".[not(group-as)]",
- message = "Use of `group-as` in the location '{ path() }' requires a parent with a max-occurs that is greater than 1; otherwise the `group-as` needs to be removed."),
- @Expect(id = "metaschema-deprecated-types", formalName = "Avoid Deprecated Data Type Use",
- description = "Ensure that the data type specified is not one of the legacy Metaschema data types which have been deprecated (i.e. base64Binary, dateTime, dateTime-with-timezone, email, nonNegativeInteger, positiveInteger).",
- level = IConstraint.Level.WARNING,
- target = ".//matches/@datatype|.//(define-field|define-flag)/@as-type",
- test = "not(data(.)=('base64Binary','dateTime','dateTime-with-timezone','email','nonNegativeInteger','positiveInteger'))",
- message = "Use of the type '{ data(.) }' is deprecated. Use '{ $deprecated-type-map(data(.))}' instead.") }),
- modelConstraints = @gov.nist.secauto.metaschema.databind.model.annotations.AssemblyConstraints(
- index = @Index(id = "module-short-name-unique", formalName = "Index Module Short Names",
- description = "Ensures that the current and all imported modules have a unique short name.",
- level = IConstraint.Level.ERROR, target = "(.|$all-imports)", name = "metaschema-metadata-short-name-index",
- keyFields = @KeyField(target = "@short-name")),
- unique = { @IsUnique(id = "module-namespace-unique-entry", formalName = "Require Unique Namespace Entries",
- description = "Ensures that all declared namespace entries are unique.", level = IConstraint.Level.ERROR,
- target = "namespace-binding", keyFields = { @KeyField(target = "@prefix"), @KeyField(target = "@uri") }),
- @IsUnique(id = "module-namespace-unique-prefix", formalName = "Require Unique Namespace Entry Prefixes",
- description = "Ensures that all declared namespace entries have a unique prefix.",
- level = IConstraint.Level.ERROR, target = "namespace-binding",
- keyFields = @KeyField(target = "@prefix")) }))
+ valueConstraints = @ValueConstraints(lets = {@Let(name = "all-imports", target = "recurse-depth('for $import in ./import return doc(resolve-uri($import/@href))/METASCHEMA')"), @Let(name = "deprecated-type-map", target = "map { 'base64Binary':'base64','dateTime':'date-time','dateTime-with-timezone':'date-time-with-timezone','email':'email-address','nonNegativeInteger':'non-negative-integer','positiveInteger':'positive-integer' }")}, expect = {@Expect(id = "module-top-level-version-required", formalName = "Require Schema Version for Top-Level Modules", description = "A top-level module, a module that is not marked as @abstract='yes', must have a schema version specified.", level = IConstraint.Level.WARNING, target = ".[not(@abstract) or @abstract='no']", test = "schema-version", message = "Unless marked as @abstract='yes', a Metaschema module (or an imported module) should have a schema version."), @Expect(id = "module-top-level-root-required", formalName = "Require Root Assembly for Top-Level Modules", description = "A top-level module, a module that is not marked as @abstract='yes', must have at least one assembly with a root-name.", level = IConstraint.Level.WARNING, target = ".[not(@abstract) or @abstract='no']", test = "exists($all-imports/define-assembly/root-name)", message = "Unless marked as @abstract='yes', a Metaschema module (or an imported module) should have at least one assembly with a root-name."), @Expect(id = "module-import-href-available", formalName = "Import is Resolvable", description = "Ensure each import has a resolvable @href.", level = IConstraint.Level.ERROR, target = "import", test = "doc-available(resolve-uri(@href))", message = "Unable to access a Metaschema module at '{ resolve-uri(@href) }'."), @Expect(id = "module-import-href-is-module", formalName = "Import is a Metaschema module", description = "Ensure each import is a Metaschema module.", level = IConstraint.Level.ERROR, target = "import", test = "doc(resolve-uri(@href))/METASCHEMA ! exists(.)", message = "The resource at '{ resolve-uri(@href) }' is not a Metaschema module."), @Expect(id = "module-model-group-a-invalid", formalName = "Group-As unneeded with max-occurs='1'", description = "A field or assembly instance with a max occurrence of \\`1\\` must not have a \\`group-as\\` child.", level = IConstraint.Level.ERROR, target = ".//(define-assembly|define-field|assembly|field)[@max-occurs=1]", test = ".[not(group-as)]", message = "Use of `group-as` in the location '{ path() }' requires a parent with a max-occurs that is greater than 1; otherwise the `group-as` needs to be removed."), @Expect(id = "metaschema-deprecated-types", formalName = "Avoid Deprecated Data Type Use", description = "Ensure that the data type specified is not one of the legacy Metaschema data types which have been deprecated (i.e. base64Binary, dateTime, dateTime-with-timezone, email, nonNegativeInteger, positiveInteger).", level = IConstraint.Level.WARNING, target = ".//matches/@datatype|.//(define-field|define-flag)/@as-type", test = "not(data(.)=('base64Binary','dateTime','dateTime-with-timezone','email','nonNegativeInteger','positiveInteger'))", message = "Use of the type '{ data(.) }' is deprecated. Use '{ $deprecated-type-map(data(.))}' instead.")}),
+ modelConstraints = @gov.nist.secauto.metaschema.databind.model.annotations.AssemblyConstraints(index = @Index(id = "module-short-name-unique", formalName = "Index Module Short Names", description = "Ensures that the current and all imported modules have a unique short name.", level = IConstraint.Level.ERROR, target = "(.|$all-imports)", name = "metaschema-metadata-short-name-index", keyFields = @KeyField(target = "@short-name")), unique = {@IsUnique(id = "module-namespace-unique-entry", formalName = "Require Unique Namespace Entries", description = "Ensures that all declared namespace entries are unique.", level = IConstraint.Level.ERROR, target = "namespace-binding", keyFields = {@KeyField(target = "@prefix"), @KeyField(target = "@uri")}), @IsUnique(id = "module-namespace-unique-prefix", formalName = "Require Unique Namespace Entry Prefixes", description = "Ensures that all declared namespace entries have a unique prefix.", level = IConstraint.Level.ERROR, target = "namespace-binding", keyFields = @KeyField(target = "@prefix"))})
+)
public class METASCHEMA implements IBoundObject {
private final IMetaschemaData __metaschemaData;
/**
- * Determines if the Metaschema module is abstract (‘yes’) or not
- * (‘no’).
+ * Determines if the Metaschema module is abstract (‘yes’) or not (‘no’).
*/
@BoundFlag(
formalName = "Is Abstract?",
@@ -115,9 +70,8 @@ public class METASCHEMA implements IBoundObject {
name = "abstract",
defaultValue = "no",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- values = { @AllowedValue(value = "yes", description = "The module is abstract."),
- @AllowedValue(value = "no", description = "The module is not abstract.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "yes", description = "The module is abstract."), @AllowedValue(value = "no", description = "The module is not abstract.")}))
+ )
private String _abstract;
/**
@@ -128,125 +82,114 @@ public class METASCHEMA implements IBoundObject {
description = "The name of the information model represented by this Metaschema definition.",
useName = "schema-name",
minOccurs = 1,
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _schemaName;
/**
- * A version string used to distinguish between multiple revisions of the same
- * Metaschema module.
+ * A version string used to distinguish between multiple revisions of the same Metaschema module.
*/
@BoundField(
description = "A version string used to distinguish between multiple revisions of the same Metaschema module.",
useName = "schema-version",
minOccurs = 1,
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _schemaVersion;
/**
- * A short (code) name to be used for the Metaschema module. This name may be
- * used as a constituent of names assigned to derived artifacts, such as schemas
- * and conversion utilities.
+ * A short (code) name to be used for the Metaschema module. This name may be used as a constituent of names assigned to derived artifacts, such as schemas and conversion utilities.
*/
@BoundField(
formalName = "Module Short Name",
description = "A short (code) name to be used for the Metaschema module. This name may be used as a constituent of names assigned to derived artifacts, such as schemas and conversion utilities.",
useName = "short-name",
minOccurs = 1,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _shortName;
/**
- * The namespace for the collection of Metaschema module this Metaschema module
- * belongs to. This value is also used as the XML namespace governing the names
- * of elements in XML documents. By using this namespace, documents and document
- * fragments used in mixed-format environments may be distinguished from
- * neighbor XML formats using another namespaces. This value is not reflected in
- * Metaschema JSON.
+ * The namespace for the collection of Metaschema module this Metaschema module belongs to. This value is also used as the XML namespace governing the names of elements in XML documents. By using this namespace, documents and document fragments used in mixed-format environments may be distinguished from neighbor XML formats using another namespaces. This value is not reflected in Metaschema JSON.
*/
@BoundField(
formalName = "Module Collection Namespace",
description = "The namespace for the collection of Metaschema module this Metaschema module belongs to. This value is also used as the XML namespace governing the names of elements in XML documents. By using this namespace, documents and document fragments used in mixed-format environments may be distinguished from neighbor XML formats using another namespaces. This value is not reflected in Metaschema JSON.",
useName = "namespace",
minOccurs = 1,
- typeAdapter = UriAdapter.class)
+ typeAdapter = UriAdapter.class
+ )
private URI _namespace;
/**
- * The JSON Base URI is the nominal base URI assigned to a JSON Schema instance
- * expressing the model defined by this Metaschema module.
+ * The JSON Base URI is the nominal base URI assigned to a JSON Schema instance expressing the model defined by this Metaschema module.
*/
@BoundField(
formalName = "JSON Base URI",
description = "The JSON Base URI is the nominal base URI assigned to a JSON Schema instance expressing the model defined by this Metaschema module.",
useName = "json-base-uri",
minOccurs = 1,
- typeAdapter = UriAdapter.class)
+ typeAdapter = UriAdapter.class
+ )
private URI _jsonBaseUri;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
/**
- * Imports a set of Metaschema modules contained in another resource. Imports
- * support the reuse of common information structures.
+ * Imports a set of Metaschema modules contained in another resource. Imports support the reuse of common information structures.
*/
@BoundAssembly(
formalName = "Module Import",
description = "Imports a set of Metaschema modules contained in another resource. Imports support the reuse of common information structures.",
useName = "import",
maxOccurs = -1,
- groupAs = @GroupAs(name = "imports", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "imports", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _imports;
/**
- * Assigns a Metapath namespace to a prefix for use in a Metapath expression in
- * a lexical qualified name.
+ * Assigns a Metapath namespace to a prefix for use in a Metapath expression in a lexical qualified name.
*/
@BoundAssembly(
formalName = "Metapath Namespace Declaration",
description = "Assigns a Metapath namespace to a prefix for use in a Metapath expression in a lexical qualified name.",
useName = "namespace-binding",
maxOccurs = -1,
- groupAs = @GroupAs(name = "namespace-bindings", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "namespace-bindings", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _namespaceBindings;
@BoundChoiceGroup(
maxOccurs = -1,
groupAs = @GroupAs(name = "definitions", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Global Assembly Definition",
- description = "In XML, an element with structured element content. In JSON, an object with properties. Defined globally, an assembly can be assigned to appear in the `model` of any assembly (another assembly type, or itself), by `assembly` reference.",
- useName = "define-assembly", discriminatorValue = "assembly", binding = DefineAssembly.class),
- @BoundGroupedAssembly(formalName = "Global Field Definition", useName = "define-field",
- discriminatorValue = "field", binding = DefineField.class),
- @BoundGroupedAssembly(formalName = "Global Flag Definition", useName = "define-flag",
- discriminatorValue = "flag", binding = DefineFlag.class)
- })
+ @BoundGroupedAssembly(formalName = "Global Assembly Definition", description = "In XML, an element with structured element content. In JSON, an object with properties. Defined globally, an assembly can be assigned to appear in the `model` of any assembly (another assembly type, or itself), by `assembly` reference.", useName = "define-assembly", discriminatorValue = "assembly", binding = DefineAssembly.class),
+ @BoundGroupedAssembly(formalName = "Global Field Definition", useName = "define-field", discriminatorValue = "field", binding = DefineField.class),
+ @BoundGroupedAssembly(formalName = "Global Flag Definition", useName = "define-flag", discriminatorValue = "flag", binding = DefineFlag.class)
+ }
+ )
private List _definitions;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA} instance with no metadata.
*/
public METASCHEMA() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public METASCHEMA(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -261,8 +204,7 @@ public IMetaschemaData getMetaschemaData() {
* Get the is Abstract?.
*
*
- * Determines if the Metaschema module is abstract (‘yes’) or not
- * (‘no’).
+ * Determines if the Metaschema module is abstract (‘yes’) or not (‘no’).
*
* @return the abstract value, or {@code null} if not set
*/
@@ -275,11 +217,10 @@ public String getAbstract() {
* Set the is Abstract?.
*
*
- * Determines if the Metaschema module is abstract (‘yes’) or not
- * (‘no’).
+ * Determines if the Metaschema module is abstract (‘yes’) or not (‘no’).
*
* @param value
- * the abstract value to set
+ * the abstract value to set
*/
public void setAbstract(@Nullable String value) {
_abstract = value;
@@ -305,7 +246,7 @@ public MarkupLine getSchemaName() {
* The name of the information model represented by this Metaschema definition.
*
* @param value
- * the schema-name value to set
+ * the schema-name value to set
*/
public void setSchemaName(@NonNull MarkupLine value) {
_schemaName = value;
@@ -315,8 +256,7 @@ public void setSchemaName(@NonNull MarkupLine value) {
* Get the {@code schema-version} property.
*
*
- * A version string used to distinguish between multiple revisions of the same
- * Metaschema module.
+ * A version string used to distinguish between multiple revisions of the same Metaschema module.
*
* @return the schema-version value
*/
@@ -329,11 +269,10 @@ public String getSchemaVersion() {
* Set the {@code schema-version} property.
*
*
- * A version string used to distinguish between multiple revisions of the same
- * Metaschema module.
+ * A version string used to distinguish between multiple revisions of the same Metaschema module.
*
* @param value
- * the schema-version value to set
+ * the schema-version value to set
*/
public void setSchemaVersion(@NonNull String value) {
_schemaVersion = value;
@@ -343,9 +282,7 @@ public void setSchemaVersion(@NonNull String value) {
* Get the module Short Name.
*
*
- * A short (code) name to be used for the Metaschema module. This name may be
- * used as a constituent of names assigned to derived artifacts, such as schemas
- * and conversion utilities.
+ * A short (code) name to be used for the Metaschema module. This name may be used as a constituent of names assigned to derived artifacts, such as schemas and conversion utilities.
*
* @return the short-name value
*/
@@ -358,12 +295,10 @@ public String getShortName() {
* Set the module Short Name.
*
*
- * A short (code) name to be used for the Metaschema module. This name may be
- * used as a constituent of names assigned to derived artifacts, such as schemas
- * and conversion utilities.
+ * A short (code) name to be used for the Metaschema module. This name may be used as a constituent of names assigned to derived artifacts, such as schemas and conversion utilities.
*
* @param value
- * the short-name value to set
+ * the short-name value to set
*/
public void setShortName(@NonNull String value) {
_shortName = value;
@@ -373,12 +308,7 @@ public void setShortName(@NonNull String value) {
* Get the module Collection Namespace.
*
*
- * The namespace for the collection of Metaschema module this Metaschema module
- * belongs to. This value is also used as the XML namespace governing the names
- * of elements in XML documents. By using this namespace, documents and document
- * fragments used in mixed-format environments may be distinguished from
- * neighbor XML formats using another namespaces. This value is not reflected in
- * Metaschema JSON.
+ * The namespace for the collection of Metaschema module this Metaschema module belongs to. This value is also used as the XML namespace governing the names of elements in XML documents. By using this namespace, documents and document fragments used in mixed-format environments may be distinguished from neighbor XML formats using another namespaces. This value is not reflected in Metaschema JSON.
*
* @return the namespace value
*/
@@ -391,15 +321,10 @@ public URI getNamespace() {
* Set the module Collection Namespace.
*
*
- * The namespace for the collection of Metaschema module this Metaschema module
- * belongs to. This value is also used as the XML namespace governing the names
- * of elements in XML documents. By using this namespace, documents and document
- * fragments used in mixed-format environments may be distinguished from
- * neighbor XML formats using another namespaces. This value is not reflected in
- * Metaschema JSON.
+ * The namespace for the collection of Metaschema module this Metaschema module belongs to. This value is also used as the XML namespace governing the names of elements in XML documents. By using this namespace, documents and document fragments used in mixed-format environments may be distinguished from neighbor XML formats using another namespaces. This value is not reflected in Metaschema JSON.
*
* @param value
- * the namespace value to set
+ * the namespace value to set
*/
public void setNamespace(@NonNull URI value) {
_namespace = value;
@@ -409,8 +334,7 @@ public void setNamespace(@NonNull URI value) {
* Get the jSON Base URI.
*
*
- * The JSON Base URI is the nominal base URI assigned to a JSON Schema instance
- * expressing the model defined by this Metaschema module.
+ * The JSON Base URI is the nominal base URI assigned to a JSON Schema instance expressing the model defined by this Metaschema module.
*
* @return the json-base-uri value
*/
@@ -423,11 +347,10 @@ public URI getJsonBaseUri() {
* Set the jSON Base URI.
*
*
- * The JSON Base URI is the nominal base URI assigned to a JSON Schema instance
- * expressing the model defined by this Metaschema module.
+ * The JSON Base URI is the nominal base URI assigned to a JSON Schema instance expressing the model defined by this Metaschema module.
*
* @param value
- * the json-base-uri value to set
+ * the json-base-uri value to set
*/
public void setJsonBaseUri(@NonNull URI value) {
_jsonBaseUri = value;
@@ -437,8 +360,7 @@ public void setJsonBaseUri(@NonNull URI value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -451,11 +373,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -465,8 +386,7 @@ public void setRemarks(@Nullable Remarks value) {
* Get the module Import.
*
*
- * Imports a set of Metaschema modules contained in another resource. Imports
- * support the reuse of common information structures.
+ * Imports a set of Metaschema modules contained in another resource. Imports support the reuse of common information structures.
*
* @return the import value
*/
@@ -482,11 +402,10 @@ public List getImports() {
* Set the module Import.
*
*
- * Imports a set of Metaschema modules contained in another resource. Imports
- * support the reuse of common information structures.
+ * Imports a set of Metaschema modules contained in another resource. Imports support the reuse of common information structures.
*
* @param value
- * the import value to set
+ * the import value to set
*/
public void setImports(@NonNull List value) {
_imports = value;
@@ -494,13 +413,11 @@ public void setImports(@NonNull List value) {
/**
* Add a new {@link Import} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addImport(Import item) {
- Import value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Import value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_imports == null) {
_imports = new LinkedList<>();
}
@@ -509,13 +426,11 @@ public boolean addImport(Import item) {
/**
* Remove the first matching {@link Import} item from the underlying collection.
- *
- * @param item
- * the item to remove
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeImport(Import item) {
- Import value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Import value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _imports != null && _imports.remove(value);
}
@@ -523,8 +438,7 @@ public boolean removeImport(Import item) {
* Get the metapath Namespace Declaration.
*
*
- * Assigns a Metapath namespace to a prefix for use in a Metapath expression in
- * a lexical qualified name.
+ * Assigns a Metapath namespace to a prefix for use in a Metapath expression in a lexical qualified name.
*
* @return the namespace-binding value
*/
@@ -540,11 +454,10 @@ public List getNamespaceBindings() {
* Set the metapath Namespace Declaration.
*
*
- * Assigns a Metapath namespace to a prefix for use in a Metapath expression in
- * a lexical qualified name.
+ * Assigns a Metapath namespace to a prefix for use in a Metapath expression in a lexical qualified name.
*
* @param value
- * the namespace-binding value to set
+ * the namespace-binding value to set
*/
public void setNamespaceBindings(@NonNull List value) {
_namespaceBindings = value;
@@ -552,13 +465,11 @@ public void setNamespaceBindings(@NonNull List value) {
/**
* Add a new {@link MetapathNamespace} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addNamespaceBinding(MetapathNamespace item) {
- MetapathNamespace value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ MetapathNamespace value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_namespaceBindings == null) {
_namespaceBindings = new LinkedList<>();
}
@@ -566,15 +477,12 @@ public boolean addNamespaceBinding(MetapathNamespace item) {
}
/**
- * Remove the first matching {@link MetapathNamespace} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link MetapathNamespace} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeNamespaceBinding(MetapathNamespace item) {
- MetapathNamespace value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ MetapathNamespace value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _namespaceBindings != null && _namespaceBindings.remove(value);
}
@@ -595,7 +503,7 @@ public List getDefinitions() {
* Set the {@code definitions} choice group items.
*
* @param value
- * the definitions items to set
+ * the definitions items to set
*/
public void setDefinitions(@NonNull List value) {
_definitions = value;
@@ -607,45 +515,41 @@ public String toString() {
}
/**
- * Imports a set of Metaschema modules contained in another resource. Imports
- * support the reuse of common information structures.
+ * Imports a set of Metaschema modules contained in another resource. Imports support the reuse of common information structures.
*/
@MetaschemaAssembly(
formalName = "Module Import",
description = "Imports a set of Metaschema modules contained in another resource. Imports support the reuse of common information structures.",
name = "import",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class Import implements IBoundObject {
private final IMetaschemaData __metaschemaData;
/**
- * A relative or absolute URI for retrieving an out-of-line Metaschema
- * definition.
+ * A relative or absolute URI for retrieving an out-of-line Metaschema definition.
*/
@BoundFlag(
formalName = "Import URI Reference",
description = "A relative or absolute URI for retrieving an out-of-line Metaschema definition.",
name = "href",
required = true,
- typeAdapter = UriReferenceAdapter.class)
+ typeAdapter = UriReferenceAdapter.class
+ )
private URI _href;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.Import}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.Import} instance with no metadata.
*/
public Import() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.Import}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.Import} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public Import(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -660,8 +564,7 @@ public IMetaschemaData getMetaschemaData() {
* Get the import URI Reference.
*
*
- * A relative or absolute URI for retrieving an out-of-line Metaschema
- * definition.
+ * A relative or absolute URI for retrieving an out-of-line Metaschema definition.
*
* @return the href value
*/
@@ -674,11 +577,10 @@ public URI getHref() {
* Set the import URI Reference.
*
*
- * A relative or absolute URI for retrieving an out-of-line Metaschema
- * definition.
+ * A relative or absolute URI for retrieving an out-of-line Metaschema definition.
*
* @param value
- * the href value to set
+ * the href value to set
*/
public void setHref(@NonNull URI value) {
_href = value;
@@ -691,16 +593,14 @@ public String toString() {
}
/**
- * In XML, an element with structured element content. In JSON, an object with
- * properties. Defined globally, an assembly can be assigned to appear in the
- * model of any assembly (another assembly type, or itself), by
- * assembly reference.
+ * In XML, an element with structured element content. In JSON, an object with properties. Defined globally, an assembly can be assigned to appear in the model of any assembly (another assembly type, or itself), by assembly reference.
*/
@MetaschemaAssembly(
formalName = "Global Assembly Definition",
description = "In XML, an element with structured element content. In JSON, an object with properties. Defined globally, an assembly can be assigned to appear in the `model` of any assembly (another assembly type, or itself), by `assembly` reference.",
name = "define-assembly",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class DefineAssembly implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -708,13 +608,15 @@ public static class DefineAssembly implements IBoundObject {
formalName = "Global Assembly Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
@BoundFlag(
formalName = "Global Assembly Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
@@ -722,17 +624,15 @@ public static class DefineAssembly implements IBoundObject {
name = "scope",
defaultValue = "global",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "local",
- description = "This definition is only available in the context of the current Metaschema module."),
- @AllowedValue(value = "global",
- description = "This definition will be made available to any Metaschema module that includes this one either directly or indirectly through a chain of imported Metaschemas.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "local", description = "This definition is only available in the context of the current Metaschema module."), @AllowedValue(value = "global", description = "This definition will be made available to any Metaschema module that includes this one either directly or indirectly through a chain of imported Metaschemas.")}))
+ )
private String _scope;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
/**
@@ -742,25 +642,27 @@ public static class DefineAssembly implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
@@ -769,87 +671,87 @@ public static class DefineAssembly implements IBoundObject {
@BoundField(
formalName = "Use Name",
description = "Allows the name of the definition to be overridden.",
- useName = "use-name")
+ useName = "use-name"
+ )
@BoundChoice(
- choiceId = "choice-1")
+ choiceId = "choice-1"
+ )
private UseName _useName;
/**
- * Provides a root name, for when the definition is used as the root of a node
- * hierarchy.
+ * Provides a root name, for when the definition is used as the root of a node hierarchy.
*/
@BoundField(
formalName = "Root Name",
description = "Provides a root name, for when the definition is used as the root of a node hierarchy.",
useName = "root-name",
- minOccurs = 1)
+ minOccurs = 1
+ )
@BoundChoice(
- choiceId = "choice-1")
+ choiceId = "choice-1"
+ )
private RootName _rootName;
/**
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*/
@BoundAssembly(
formalName = "JSON Key",
description = "Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share `json-key` values.",
- useName = "json-key")
+ useName = "json-key"
+ )
private JsonKey _jsonKey;
@BoundChoiceGroup(
maxOccurs = -1,
groupAs = @GroupAs(name = "flags", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag",
- discriminatorValue = "flag", binding = InlineDefineFlag.class),
- @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref",
- binding = FlagReference.class)
- })
+ @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag", discriminatorValue = "flag", binding = InlineDefineFlag.class),
+ @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref", binding = FlagReference.class)
+ }
+ )
private List _flags;
@BoundAssembly(
- useName = "model")
+ useName = "model"
+ )
private AssemblyModel _model;
@BoundAssembly(
- useName = "constraint")
+ useName = "constraint"
+ )
private AssemblyConstraints _constraint;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
@BoundAssembly(
formalName = "Example",
useName = "example",
maxOccurs = -1,
- groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _examples;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineAssembly}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineAssembly} instance with no metadata.
*/
public DefineAssembly() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineAssembly}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineAssembly} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public DefineAssembly(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -874,7 +776,7 @@ public String getName() {
* Set the global Assembly Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -894,7 +796,7 @@ public BigInteger getIndex() {
* Set the global Assembly Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -914,7 +816,7 @@ public String getScope() {
* Set the definition Scope.
*
* @param value
- * the scope value to set
+ * the scope value to set
*/
public void setScope(@Nullable String value) {
_scope = value;
@@ -934,7 +836,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -960,7 +862,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -970,8 +872,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -984,11 +885,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -1011,7 +911,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -1019,13 +919,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -1033,15 +931,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -1065,7 +960,7 @@ public UseName getUseName() {
* Allows the name of the definition to be overridden.
*
* @param value
- * the use-name value to set
+ * the use-name value to set
*/
public void setUseName(@Nullable UseName value) {
_useName = value;
@@ -1075,8 +970,7 @@ public void setUseName(@Nullable UseName value) {
* Get the root Name.
*
*
- * Provides a root name, for when the definition is used as the root of a node
- * hierarchy.
+ * Provides a root name, for when the definition is used as the root of a node hierarchy.
*
* @return the root-name value
*/
@@ -1089,11 +983,10 @@ public RootName getRootName() {
* Set the root Name.
*
*
- * Provides a root name, for when the definition is used as the root of a node
- * hierarchy.
+ * Provides a root name, for when the definition is used as the root of a node hierarchy.
*
* @param value
- * the root-name value to set
+ * the root-name value to set
*/
public void setRootName(@NonNull RootName value) {
_rootName = value;
@@ -1103,9 +996,7 @@ public void setRootName(@NonNull RootName value) {
* Get the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @return the json-key value, or {@code null} if not set
*/
@@ -1118,12 +1009,10 @@ public JsonKey getJsonKey() {
* Set the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @param value
- * the json-key value to set
+ * the json-key value to set
*/
public void setJsonKey(@Nullable JsonKey value) {
_jsonKey = value;
@@ -1146,7 +1035,7 @@ public List getFlags() {
* Set the {@code flags} choice group items.
*
* @param value
- * the flags items to set
+ * the flags items to set
*/
public void setFlags(@NonNull List value) {
_flags = value;
@@ -1166,7 +1055,7 @@ public AssemblyModel getModel() {
* Set the {@code model} property.
*
* @param value
- * the model value to set
+ * the model value to set
*/
public void setModel(@Nullable AssemblyModel value) {
_model = value;
@@ -1186,7 +1075,7 @@ public AssemblyConstraints getConstraint() {
* Set the {@code constraint} property.
*
* @param value
- * the constraint value to set
+ * the constraint value to set
*/
public void setConstraint(@Nullable AssemblyConstraints value) {
_constraint = value;
@@ -1196,8 +1085,7 @@ public void setConstraint(@Nullable AssemblyConstraints value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -1210,11 +1098,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -1237,7 +1124,7 @@ public List getExamples() {
* Set the example.
*
* @param value
- * the example value to set
+ * the example value to set
*/
public void setExamples(@NonNull List value) {
_examples = value;
@@ -1245,13 +1132,11 @@ public void setExamples(@NonNull List value) {
/**
* Add a new {@link Example} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_examples == null) {
_examples = new LinkedList<>();
}
@@ -1259,15 +1144,12 @@ public boolean addExample(Example item) {
}
/**
- * Remove the first matching {@link Example} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Example} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _examples != null && _examples.remove(value);
}
@@ -1277,14 +1159,14 @@ public String toString() {
}
/**
- * Provides a root name, for when the definition is used as the root of a node
- * hierarchy.
+ * Provides a root name, for when the definition is used as the root of a node hierarchy.
*/
@MetaschemaField(
formalName = "Root Name",
description = "Provides a root name, for when the definition is used as the root of a node hierarchy.",
name = "root-name",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class RootName implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -1295,30 +1177,28 @@ public static class RootName implements IBoundObject {
formalName = "Numeric Index",
description = "Used for binary formats instead of the textual name.",
name = "index",
- typeAdapter = NonNegativeIntegerAdapter.class)
+ typeAdapter = NonNegativeIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFieldValue(
valueKeyName = "name",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineAssembly.RootName}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineAssembly.RootName} instance with no metadata.
*/
public RootName() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineAssembly.RootName}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineAssembly.RootName} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public RootName(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1349,7 +1229,7 @@ public BigInteger getIndex() {
* Used for binary formats instead of the textual name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -1374,7 +1254,8 @@ public String toString() {
@MetaschemaAssembly(
formalName = "Global Field Definition",
name = "define-field",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class DefineField implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -1382,13 +1263,15 @@ public static class DefineField implements IBoundObject {
formalName = "Global Field Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
@BoundFlag(
formalName = "Global Field Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
@@ -1396,17 +1279,15 @@ public static class DefineField implements IBoundObject {
name = "scope",
defaultValue = "global",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "local",
- description = "This definition is only available in the context of the current Metaschema module."),
- @AllowedValue(value = "global",
- description = "This definition will be made available to any Metaschema module that includes this one either directly or indirectly through a chain of imported Metaschemas.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "local", description = "This definition is only available in the context of the current Metaschema module."), @AllowedValue(value = "global", description = "This definition will be made available to any Metaschema module that includes this one either directly or indirectly through a chain of imported Metaschemas.")}))
+ )
private String _scope;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
@@ -1414,76 +1295,15 @@ public static class DefineField implements IBoundObject {
name = "as-type",
defaultValue = "string",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- allowOthers = true,
- values = { @AllowedValue(value = "markup-line",
- description = "The [markup-line](https://framework.metaschema.dev/specification/datatypes/#markup-line) data type."),
- @AllowedValue(value = "markup-multiline",
- description = "The [markup-multiline](https://framework.metaschema.dev/specification/datatypes/#markup-multiline) data type."),
- @AllowedValue(value = "base64",
- description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."),
- @AllowedValue(value = "boolean",
- description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."),
- @AllowedValue(value = "date",
- description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."),
- @AllowedValue(value = "date-time",
- description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."),
- @AllowedValue(value = "date-time-with-timezone",
- description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."),
- @AllowedValue(value = "date-with-timezone",
- description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."),
- @AllowedValue(value = "day-time-duration",
- description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."),
- @AllowedValue(value = "decimal",
- description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."),
- @AllowedValue(value = "email-address",
- description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."),
- @AllowedValue(value = "hostname",
- description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."),
- @AllowedValue(value = "integer",
- description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."),
- @AllowedValue(value = "ip-v4-address",
- description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."),
- @AllowedValue(value = "ip-v6-address",
- description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."),
- @AllowedValue(value = "non-negative-integer",
- description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."),
- @AllowedValue(value = "positive-integer",
- description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."),
- @AllowedValue(value = "string",
- description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."),
- @AllowedValue(value = "token",
- description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."),
- @AllowedValue(value = "uri",
- description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."),
- @AllowedValue(value = "uri-reference",
- description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."),
- @AllowedValue(value = "uuid",
- description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."),
- @AllowedValue(value = "base64Binary",
- description = "An old name which is deprecated for use in favor of the 'base64' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime",
- description = "An old name which is deprecated for use in favor of the 'date-time' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime-with-timezone",
- description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "email",
- description = "An old name which is deprecated for use in favor of the 'email-address' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "nonNegativeInteger",
- description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "positiveInteger",
- description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.",
- deprecatedVersion = "1.0.0") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, allowOthers = true, values = {@AllowedValue(value = "markup-line", description = "The [markup-line](https://framework.metaschema.dev/specification/datatypes/#markup-line) data type."), @AllowedValue(value = "markup-multiline", description = "The [markup-multiline](https://framework.metaschema.dev/specification/datatypes/#markup-multiline) data type."), @AllowedValue(value = "base64", description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."), @AllowedValue(value = "boolean", description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."), @AllowedValue(value = "date", description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."), @AllowedValue(value = "date-time", description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."), @AllowedValue(value = "date-time-with-timezone", description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."), @AllowedValue(value = "date-with-timezone", description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."), @AllowedValue(value = "day-time-duration", description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."), @AllowedValue(value = "decimal", description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."), @AllowedValue(value = "email-address", description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."), @AllowedValue(value = "hostname", description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."), @AllowedValue(value = "integer", description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."), @AllowedValue(value = "ip-v4-address", description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."), @AllowedValue(value = "ip-v6-address", description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."), @AllowedValue(value = "non-negative-integer", description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."), @AllowedValue(value = "positive-integer", description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."), @AllowedValue(value = "string", description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."), @AllowedValue(value = "token", description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."), @AllowedValue(value = "uri", description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."), @AllowedValue(value = "uri-reference", description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."), @AllowedValue(value = "uuid", description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."), @AllowedValue(value = "base64Binary", description = "An old name which is deprecated for use in favor of the 'base64' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime", description = "An old name which is deprecated for use in favor of the 'date-time' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime-with-timezone", description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "email", description = "An old name which is deprecated for use in favor of the 'email-address' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "nonNegativeInteger", description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "positiveInteger", description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.", deprecatedVersion = "1.0.0")}))
+ )
private String _asType;
@BoundFlag(
formalName = "Default Field Value",
name = "default",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _default;
/**
@@ -1493,25 +1313,27 @@ public static class DefineField implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
@@ -1520,83 +1342,84 @@ public static class DefineField implements IBoundObject {
@BoundField(
formalName = "Use Name",
description = "Allows the name of the definition to be overridden.",
- useName = "use-name")
+ useName = "use-name"
+ )
private UseName _useName;
/**
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*/
@BoundAssembly(
formalName = "JSON Key",
description = "Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share `json-key` values.",
- useName = "json-key")
+ useName = "json-key"
+ )
private JsonKey _jsonKey;
@BoundField(
formalName = "Field Value JSON Property Name",
useName = "json-value-key",
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
@BoundChoice(
- choiceId = "choice-1")
+ choiceId = "choice-1"
+ )
private String _jsonValueKey;
@BoundAssembly(
formalName = "Flag Used as the Field Value's JSON Property Name",
- useName = "json-value-key-flag")
+ useName = "json-value-key-flag"
+ )
@BoundChoice(
- choiceId = "choice-1")
+ choiceId = "choice-1"
+ )
private JsonValueKeyFlag _jsonValueKeyFlag;
@BoundChoiceGroup(
maxOccurs = -1,
groupAs = @GroupAs(name = "flags", inJson = JsonGroupAsBehavior.LIST),
assemblies = {
- @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag",
- discriminatorValue = "flag", binding = InlineDefineFlag.class),
- @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref",
- binding = FlagReference.class)
- })
+ @BoundGroupedAssembly(formalName = "Inline Flag Definition", useName = "define-flag", discriminatorValue = "flag", binding = InlineDefineFlag.class),
+ @BoundGroupedAssembly(formalName = "Flag Reference", useName = "flag", discriminatorValue = "flag-ref", binding = FlagReference.class)
+ }
+ )
private List _flags;
@BoundAssembly(
- useName = "constraint")
+ useName = "constraint"
+ )
private FieldConstraints _constraint;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
@BoundAssembly(
formalName = "Example",
useName = "example",
maxOccurs = -1,
- groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _examples;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineField}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineField} instance with no metadata.
*/
public DefineField() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineField}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineField} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public DefineField(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -1621,7 +1444,7 @@ public String getName() {
* Set the global Field Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -1641,7 +1464,7 @@ public BigInteger getIndex() {
* Set the global Field Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -1661,7 +1484,7 @@ public String getScope() {
* Set the definition Scope.
*
* @param value
- * the scope value to set
+ * the scope value to set
*/
public void setScope(@Nullable String value) {
_scope = value;
@@ -1681,7 +1504,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -1701,7 +1524,7 @@ public String getAsType() {
* Set the field Value Data Type.
*
* @param value
- * the as-type value to set
+ * the as-type value to set
*/
public void setAsType(@Nullable String value) {
_asType = value;
@@ -1721,7 +1544,7 @@ public String getDefault() {
* Set the default Field Value.
*
* @param value
- * the default value to set
+ * the default value to set
*/
public void setDefault(@Nullable String value) {
_default = value;
@@ -1747,7 +1570,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -1757,8 +1580,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -1771,11 +1593,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -1798,7 +1619,7 @@ public List getProps() {
* Set the property.
*
* @param value
- * the prop value to set
+ * the prop value to set
*/
public void setProps(@NonNull List value) {
_props = value;
@@ -1806,13 +1627,11 @@ public void setProps(@NonNull List value) {
/**
* Add a new {@link Property} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_props == null) {
_props = new LinkedList<>();
}
@@ -1820,15 +1639,12 @@ public boolean addProp(Property item) {
}
/**
- * Remove the first matching {@link Property} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Property} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeProp(Property item) {
- Property value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Property value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _props != null && _props.remove(value);
}
@@ -1852,7 +1668,7 @@ public UseName getUseName() {
* Allows the name of the definition to be overridden.
*
* @param value
- * the use-name value to set
+ * the use-name value to set
*/
public void setUseName(@Nullable UseName value) {
_useName = value;
@@ -1862,9 +1678,7 @@ public void setUseName(@Nullable UseName value) {
* Get the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @return the json-key value, or {@code null} if not set
*/
@@ -1877,12 +1691,10 @@ public JsonKey getJsonKey() {
* Set the jSON Key.
*
*
- * Used in JSON (and similar formats) to identify a flag that will be used as
- * the property name in an object hold a collection of sibling objects. Requires
- * that siblings must never share json-key values.
+ * Used in JSON (and similar formats) to identify a flag that will be used as the property name in an object hold a collection of sibling objects. Requires that siblings must never share json-key values.
*
* @param value
- * the json-key value to set
+ * the json-key value to set
*/
public void setJsonKey(@Nullable JsonKey value) {
_jsonKey = value;
@@ -1902,7 +1714,7 @@ public String getJsonValueKey() {
* Set the field Value JSON Property Name.
*
* @param value
- * the json-value-key value to set
+ * the json-value-key value to set
*/
public void setJsonValueKey(@Nullable String value) {
_jsonValueKey = value;
@@ -1922,7 +1734,7 @@ public JsonValueKeyFlag getJsonValueKeyFlag() {
* Set the flag Used as the Field Value's JSON Property Name.
*
* @param value
- * the json-value-key-flag value to set
+ * the json-value-key-flag value to set
*/
public void setJsonValueKeyFlag(@Nullable JsonValueKeyFlag value) {
_jsonValueKeyFlag = value;
@@ -1945,7 +1757,7 @@ public List getFlags() {
* Set the {@code flags} choice group items.
*
* @param value
- * the flags items to set
+ * the flags items to set
*/
public void setFlags(@NonNull List value) {
_flags = value;
@@ -1965,7 +1777,7 @@ public FieldConstraints getConstraint() {
* Set the {@code constraint} property.
*
* @param value
- * the constraint value to set
+ * the constraint value to set
*/
public void setConstraint(@Nullable FieldConstraints value) {
_constraint = value;
@@ -1975,8 +1787,7 @@ public void setConstraint(@Nullable FieldConstraints value) {
* Get the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @return the remarks value, or {@code null} if not set
*/
@@ -1989,11 +1800,10 @@ public Remarks getRemarks() {
* Set the remarks.
*
*
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*
* @param value
- * the remarks value to set
+ * the remarks value to set
*/
public void setRemarks(@Nullable Remarks value) {
_remarks = value;
@@ -2016,7 +1826,7 @@ public List getExamples() {
* Set the example.
*
* @param value
- * the example value to set
+ * the example value to set
*/
public void setExamples(@NonNull List value) {
_examples = value;
@@ -2024,13 +1834,11 @@ public void setExamples(@NonNull List value) {
/**
* Add a new {@link Example} item to the underlying collection.
- *
- * @param item
- * the item to add
+ * @param item the item to add
* @return {@code true}
*/
public boolean addExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
if (_examples == null) {
_examples = new LinkedList<>();
}
@@ -2038,15 +1846,12 @@ public boolean addExample(Example item) {
}
/**
- * Remove the first matching {@link Example} item from the underlying
- * collection.
- *
- * @param item
- * the item to remove
+ * Remove the first matching {@link Example} item from the underlying collection.
+ * @param item the item to remove
* @return {@code true} if the item was removed or {@code false} otherwise
*/
public boolean removeExample(Example item) {
- Example value = ObjectUtils.requireNonNull(item, "item cannot be null");
+ Example value = ObjectUtils.requireNonNull(item,"item cannot be null");
return _examples != null && _examples.remove(value);
}
@@ -2059,7 +1864,8 @@ public String toString() {
@MetaschemaAssembly(
formalName = "Global Flag Definition",
name = "define-flag",
- moduleClass = MetaschemaModelModule.class)
+ moduleClass = MetaschemaModelModule.class
+ )
public static class DefineFlag implements IBoundObject {
private final IMetaschemaData __metaschemaData;
@@ -2067,13 +1873,15 @@ public static class DefineFlag implements IBoundObject {
formalName = "Global Flag Name",
name = "name",
required = true,
- typeAdapter = TokenAdapter.class)
+ typeAdapter = TokenAdapter.class
+ )
private String _name;
@BoundFlag(
formalName = "Global Flag Binary Name",
name = "index",
- typeAdapter = PositiveIntegerAdapter.class)
+ typeAdapter = PositiveIntegerAdapter.class
+ )
private BigInteger _index;
@BoundFlag(
@@ -2081,17 +1889,15 @@ public static class DefineFlag implements IBoundObject {
name = "scope",
defaultValue = "global",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {
- @AllowedValue(value = "local",
- description = "This definition is only available in the context of the current Metaschema module."),
- @AllowedValue(value = "global",
- description = "This definition will be made available to any Metaschema module that includes this one either directly or indirectly through a chain of imported Metaschemas.") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, values = {@AllowedValue(value = "local", description = "This definition is only available in the context of the current Metaschema module."), @AllowedValue(value = "global", description = "This definition will be made available to any Metaschema module that includes this one either directly or indirectly through a chain of imported Metaschemas.")}))
+ )
private String _scope;
@BoundFlag(
formalName = "Deprecated Version",
name = "deprecated",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _deprecated;
@BoundFlag(
@@ -2099,72 +1905,15 @@ public static class DefineFlag implements IBoundObject {
name = "as-type",
defaultValue = "string",
typeAdapter = TokenAdapter.class,
- valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR,
- allowOthers = true,
- values = { @AllowedValue(value = "base64",
- description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."),
- @AllowedValue(value = "boolean",
- description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."),
- @AllowedValue(value = "date",
- description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."),
- @AllowedValue(value = "date-time",
- description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."),
- @AllowedValue(value = "date-time-with-timezone",
- description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."),
- @AllowedValue(value = "date-with-timezone",
- description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."),
- @AllowedValue(value = "day-time-duration",
- description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."),
- @AllowedValue(value = "decimal",
- description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."),
- @AllowedValue(value = "email-address",
- description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."),
- @AllowedValue(value = "hostname",
- description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."),
- @AllowedValue(value = "integer",
- description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."),
- @AllowedValue(value = "ip-v4-address",
- description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."),
- @AllowedValue(value = "ip-v6-address",
- description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."),
- @AllowedValue(value = "non-negative-integer",
- description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."),
- @AllowedValue(value = "positive-integer",
- description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."),
- @AllowedValue(value = "string",
- description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."),
- @AllowedValue(value = "token",
- description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."),
- @AllowedValue(value = "uri",
- description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."),
- @AllowedValue(value = "uri-reference",
- description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."),
- @AllowedValue(value = "uuid",
- description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."),
- @AllowedValue(value = "base64Binary",
- description = "An old name which is deprecated for use in favor of the 'base64' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime",
- description = "An old name which is deprecated for use in favor of the 'date-time' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "dateTime-with-timezone",
- description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "email",
- description = "An old name which is deprecated for use in favor of the 'email-address' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "nonNegativeInteger",
- description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.",
- deprecatedVersion = "1.0.0"),
- @AllowedValue(value = "positiveInteger",
- description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.",
- deprecatedVersion = "1.0.0") })))
+ valueConstraints = @ValueConstraints(allowedValues = @AllowedValues(level = IConstraint.Level.ERROR, allowOthers = true, values = {@AllowedValue(value = "base64", description = "The [base64](https://framework.metaschema.dev/specification/datatypes/#base64) data type."), @AllowedValue(value = "boolean", description = "The [boolean](https://framework.metaschema.dev/specification/datatypes/#boolean) data type."), @AllowedValue(value = "date", description = "The [date](https://framework.metaschema.dev/specification/datatypes/#date) data type."), @AllowedValue(value = "date-time", description = "The [date-time](https://framework.metaschema.dev/specification/datatypes/#date-time) data type."), @AllowedValue(value = "date-time-with-timezone", description = "The [date-time-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-time-with-timezone) data type."), @AllowedValue(value = "date-with-timezone", description = "The [date-with-timezone](https://framework.metaschema.dev/specification/datatypes/#date-with-timezone) data type."), @AllowedValue(value = "day-time-duration", description = "The [day-time-duration](https://framework.metaschema.dev/specification/datatypes/#day-time-duration) data type."), @AllowedValue(value = "decimal", description = "The [decimal](https://framework.metaschema.dev/specification/datatypes/#decimal) data type."), @AllowedValue(value = "email-address", description = "The [email-address](https://framework.metaschema.dev/specification/datatypes/#email-address) data type."), @AllowedValue(value = "hostname", description = "The [hostname](https://framework.metaschema.dev/specification/datatypes/#hostname) data type."), @AllowedValue(value = "integer", description = "The [integer](https://framework.metaschema.dev/specification/datatypes/#integer) data type."), @AllowedValue(value = "ip-v4-address", description = "The [ip-v4-address](https://framework.metaschema.dev/specification/datatypes/#ip-v4-address) data type."), @AllowedValue(value = "ip-v6-address", description = "The [ip-v6-address](https://framework.metaschema.dev/specification/datatypes/#ip-v6-address) data type."), @AllowedValue(value = "non-negative-integer", description = "The [non-negative-integer](https://framework.metaschema.dev/specification/datatypes/#non-negative-integer) data type."), @AllowedValue(value = "positive-integer", description = "The [positive-integer](https://framework.metaschema.dev/specification/datatypes/#positive-integer) data type."), @AllowedValue(value = "string", description = "The [string](https://framework.metaschema.dev/specification/datatypes/#string) data type."), @AllowedValue(value = "token", description = "The [token](https://framework.metaschema.dev/specification/datatypes/#token) data type."), @AllowedValue(value = "uri", description = "The [uri](https://framework.metaschema.dev/specification/datatypes/#uri) data type."), @AllowedValue(value = "uri-reference", description = "The [uri-reference](https://framework.metaschema.dev/specification/datatypes/#uri-reference) data type."), @AllowedValue(value = "uuid", description = "The [uuid](https://framework.metaschema.dev/specification/datatypes/#uuid) data type."), @AllowedValue(value = "base64Binary", description = "An old name which is deprecated for use in favor of the 'base64' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime", description = "An old name which is deprecated for use in favor of the 'date-time' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "dateTime-with-timezone", description = "An old name which is deprecated for use in favor of the 'date-time-with-timezone' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "email", description = "An old name which is deprecated for use in favor of the 'email-address' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "nonNegativeInteger", description = "An old name which is deprecated for use in favor of the 'non-negative-integer' data type.", deprecatedVersion = "1.0.0"), @AllowedValue(value = "positiveInteger", description = "An old name which is deprecated for use in favor of the 'positive-integer' data type.", deprecatedVersion = "1.0.0")}))
+ )
private String _asType;
@BoundFlag(
formalName = "Default Flag Value",
name = "default",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _default;
/**
@@ -2174,25 +1923,27 @@ public static class DefineFlag implements IBoundObject {
formalName = "Formal Name",
description = "A formal name for the data construct, to be presented in documentation.",
useName = "formal-name",
- typeAdapter = StringAdapter.class)
+ typeAdapter = StringAdapter.class
+ )
private String _formalName;
/**
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*/
@BoundField(
formalName = "Description",
description = "A short description of the data construct's purpose, describing the constructs semantics.",
useName = "description",
- typeAdapter = MarkupLineAdapter.class)
+ typeAdapter = MarkupLineAdapter.class
+ )
private MarkupLine _description;
@BoundAssembly(
formalName = "Property",
useName = "prop",
maxOccurs = -1,
- groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "props", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _props;
/**
@@ -2201,46 +1952,45 @@ public static class DefineFlag implements IBoundObject {
@BoundField(
formalName = "Use Name",
description = "Allows the name of the definition to be overridden.",
- useName = "use-name")
+ useName = "use-name"
+ )
private UseName _useName;
@BoundAssembly(
- useName = "constraint")
+ useName = "constraint"
+ )
private FlagConstraints _constraint;
/**
- * Any explanatory or helpful information to be provided about the remarks
- * parent.
+ * Any explanatory or helpful information to be provided about the remarks parent.
*/
@BoundField(
formalName = "Remarks",
description = "Any explanatory or helpful information to be provided about the remarks parent.",
- useName = "remarks")
+ useName = "remarks"
+ )
private Remarks _remarks;
@BoundAssembly(
formalName = "Example",
useName = "example",
maxOccurs = -1,
- groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST))
+ groupAs = @GroupAs(name = "examples", inJson = JsonGroupAsBehavior.LIST)
+ )
private List _examples;
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineFlag}
- * instance with no metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineFlag} instance with no metadata.
*/
public DefineFlag() {
this(null);
}
/**
- * Constructs a new
- * {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineFlag}
- * instance with the specified metadata.
+ * Constructs a new {@code gov.nist.secauto.metaschema.databind.model.metaschema.binding.METASCHEMA.DefineFlag} instance with the specified metadata.
*
* @param data
- * the metaschema data, or {@code null} if none
+ * the metaschema data, or {@code null} if none
*/
public DefineFlag(IMetaschemaData data) {
this.__metaschemaData = data;
@@ -2265,7 +2015,7 @@ public String getName() {
* Set the global Flag Name.
*
* @param value
- * the name value to set
+ * the name value to set
*/
public void setName(@NonNull String value) {
_name = value;
@@ -2285,7 +2035,7 @@ public BigInteger getIndex() {
* Set the global Flag Binary Name.
*
* @param value
- * the index value to set
+ * the index value to set
*/
public void setIndex(@Nullable BigInteger value) {
_index = value;
@@ -2305,7 +2055,7 @@ public String getScope() {
* Set the definition Scope.
*
* @param value
- * the scope value to set
+ * the scope value to set
*/
public void setScope(@Nullable String value) {
_scope = value;
@@ -2325,7 +2075,7 @@ public String getDeprecated() {
* Set the deprecated Version.
*
* @param value
- * the deprecated value to set
+ * the deprecated value to set
*/
public void setDeprecated(@Nullable String value) {
_deprecated = value;
@@ -2345,7 +2095,7 @@ public String getAsType() {
* Set the flag Value Data Type.
*
* @param value
- * the as-type value to set
+ * the as-type value to set
*/
public void setAsType(@Nullable String value) {
_asType = value;
@@ -2365,7 +2115,7 @@ public String getDefault() {
* Set the default Flag Value.
*
* @param value
- * the default value to set
+ * the default value to set
*/
public void setDefault(@Nullable String value) {
_default = value;
@@ -2391,7 +2141,7 @@ public String getFormalName() {
* A formal name for the data construct, to be presented in documentation.
*
* @param value
- * the formal-name value to set
+ * the formal-name value to set
*/
public void setFormalName(@Nullable String value) {
_formalName = value;
@@ -2401,8 +2151,7 @@ public void setFormalName(@Nullable String value) {
* Get the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @return the description value, or {@code null} if not set
*/
@@ -2415,11 +2164,10 @@ public MarkupLine getDescription() {
* Set the description.
*
*
- * A short description of the data construct's purpose, describing the
- * constructs semantics.
+ * A short description of the data construct's purpose, describing the constructs semantics.
*
* @param value
- * the description value to set
+ * the description value to set
*/
public void setDescription(@Nullable MarkupLine value) {
_description = value;
@@ -2442,7 +2190,7 @@ public List