Annotation Type BoundAssembly
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface BoundAssembly
Identifies that the annotation target is a bound property that references a Module assembly.For XML serialization, the
useName()
identifies the name of the element to use and thenamespace()
identifies the namespace of this element.For JSON and YAML serializations, the
useName()
identifies the property/item name to use.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
description
Get the documentary description of the assembly.String
formalName
Get the documentary formal name of the assembly.int
maxOccurs
A number that indicates the maximum occurrence of the model instance.int
minOccurs
A non-negative number that indicates the minimum occurrence of the model instance.String
namespace
The namespace to use for associated XML elements.String
remarks
Get any remarks for this field.String
useName
The model name to use for singleton values.
-
-
-
Element Detail
-
formalName
@NonNull String formalName
Get the documentary formal name of the assembly.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 assembly.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"
-
-
-
minOccurs
int minOccurs
A non-negative number that indicates the minimum occurrence of the model instance.- Returns:
- a non-negative number
- Default:
- 0
-
-
-
maxOccurs
int maxOccurs
A number that indicates the maximum occurrence of the model instance.- Returns:
- a positive number or
-1
to indicate "unbounded"
- Default:
- 1
-
-