Annotation Type BoundFlag
-
@Documented @Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface BoundFlag
Identifies that the annotation target is a bound property that represents a Module flag.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdefaultValueThe default value of the flag represented as a string.StringdescriptionGet the documentary description of the flag.StringformalNameGet the documentary formal name of the flag.StringnamespaceXML target namespace of the XML Schema element.StringremarksGet any remarks for this flag.booleanrequiredSpecifies if the XML Schema attribute is optional or required.Class<? extends IDataTypeAdapter<?>>typeAdapterThe Module data type adapter for the field's value.StringuseNameThe model name to use for singleton values.
-
-
-
Element Detail
-
formalName
@NonNull String 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
@NonNull String 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"
-
-
-
defaultValue
@NonNull String defaultValue
The default value of the flag represented as a string.The value
Constants.NULL_VALUEis used to indicate if no default value is provided.- Returns:
- the default value
- Default:
- "\u0000"
-
-
-
required
boolean required
Specifies 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:
trueif the flag must occur, orfalseotherwise
- Default:
- false
-
-
-
typeAdapter
@NonNull Class<? extends IDataTypeAdapter<?>> 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
-
-