Annotation Type BoundFlag
Identifies that the annotation target is a bound property that represents a
Module flag.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe default value of the flag represented as a string.Get the documentary description of the flag.Get the documentary formal name of the flag.The model name to use for singleton values.Get any remarks for this flag.boolean
Specifies if the XML Schema attribute is optional or required.Class<? extends IDataTypeAdapter<?>>
The Module data type adapter for the field's value.int
The binary use name of the flag.Get the value constraints defined for this Metaschema flag inline definition.
-
Element Details
-
formalName
Get the documentary formal name of the flag.If the value is "##none", then the description will be considered
null
.- Returns:
- a markdown string or
"##none"
if no formal name is provided
- Default:
- "##none"
-
description
Get the documentary description of the flag.If the value is "##none", then the description will be considered
null
.- Returns:
- a markdown string or
"##none"
if no description is provided
- Default:
- "##none"
-
name
The model name to use for singleton values. This name will be used for associated XML attributes and JSON properties.If the value is "##none", then element name is derived from the JavaBean property name.
- Returns:
- the name
- Default:
- "##none"
-
useIndex
int useIndexThe binary use name of the flag.The value
Integer.MIN_VALUE
indicates that there is no use name.- Returns:
- the index value
- Default:
- -2147483648
-
defaultValue
The default value of the flag represented as a string.The value
ModelUtil.NULL_VALUE
is used to indicate if no default value is provided.- Returns:
- the default value
- Default:
- "\u0000"
-
required
boolean requiredSpecifies if the XML Schema attribute is optional or required. If true, then the JavaBean property is mapped to a XML Schema attribute that is required. Otherwise it is mapped to a XML Schema attribute that is optional.- Returns:
true
if the flag must occur, orfalse
otherwise
- Default:
- false
-
typeAdapter
The Module data type adapter for the field's value.- Returns:
- the data type adapter
- Default:
- gov.nist.secauto.metaschema.databind.model.annotations.NullJavaTypeAdapter.class
-
remarks
Get any remarks for this flag.- Returns:
- a markdown string or
"##none"
if no remarks are provided
- Default:
- "##none"
-
valueConstraints
Get the value constraints defined for this Metaschema flag inline definition.- Returns:
- the value constraints
- Default:
- @gov.nist.secauto.metaschema.databind.model.annotations.ValueConstraints
-