Annotation Type BoundFieldValue
Identifies a field on a class annotated with the
MetaschemaField
annotation as the Module field's value.-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe default value of the field represented as a string.Class<? extends IDataTypeAdapter<?>>
The Module data type adapter for the field's value.The name of the JSON property that contains the field's value.
-
Element Details
-
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
-
defaultValue
The default value of the field 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"
-
valueKeyName
The name of the JSON property that contains the field's value. If this value is provided, the the name will be used as the property name. Otherwise, the property name will default to a value defined by the data type.Use of this annotation is mutually exclusive with the
JsonFieldValueKeyFlag
annotation.- Returns:
- the name
- Default:
- "##none"
-