Annotation Type MetaschemaField
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface MetaschemaField
This annotation indicates that the target class represents a Module field.Classes with this annotation must have a field with the
MetaschemaFieldValueannotation.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends IModule>moduleClassGet the metaschema class that "owns" this assembly, which is the concrete implementation of the metaschema containing the assembly.StringnameName of the field.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdescriptionGet the documentary description of the field.StringformalNameGet the documentary formal name of the field.booleaninXmlWrappedIf the data type allows it, determines if the field's value must be wrapped with an XML element whose name is the specifiedname()and namespace is derived from the namespace of the instance.StringremarksGet any remarks for this field.StringuseName
-
-
-
-
moduleClass
Class<? extends IModule> moduleClass
Get the metaschema class that "owns" this assembly, which is the concrete implementation of the metaschema containing the assembly.- Returns:
- the class that extends
IModule
-
-
-
formalName
@NonNull String formalName
Get the documentary formal name of the field.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 field.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"
-
-
-
inXmlWrapped
boolean inXmlWrapped
If the data type allows it, determines if the field's value must be wrapped with an XML element whose name is the specifiedname()and namespace is derived from the namespace of the instance.- Returns:
trueif the field must be wrapped, orfalseotherwise
- Default:
- true
-
-