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 String
defaultValue
The default value of the flag represented as a string.String
description
Get the documentary description of the flag.String
formalName
Get the documentary formal name of the flag.String
namespace
XML target namespace of the XML Schema element.String
remarks
Get any remarks for this flag.boolean
required
Specifies if the XML Schema attribute is optional or required.Class<? extends IDataTypeAdapter<?>>
typeAdapter
The Module data type adapter for the field's value.String
useName
The 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_VALUE
is 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:
true
if the flag must occur, orfalse
otherwise
- 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
-
-