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 for this element.

For JSON and YAML serializations, the useName() identifies the property/item name to use.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends IBoundObject>
    The bound class associated with this assembly.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Get the documentary description of the assembly.
    Get any remarks for this field.
    Get the documentary formal name of the assembly.
    Get any remarks for this field.
    int
    The binary use name of the assembly.
    The model name to use for singleton values.
  • Element Details

    • binding

      @NonNull Class<? extends IBoundObject> binding
      The bound class associated with this assembly.

      This is optional when used on a field or method, and required when used with an annotation type value, i.e. BoundChoiceGroup.

      Returns:
      the bound class
    • 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

      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"
    • useName

      @NonNull String useName
      The model name to use for singleton values. This name will be used for associated XML elements.

      If the value is "##none", then element name is derived from the JavaBean property name.

      Returns:
      the name or "##none" if no use name is provided
      Default:
      "##none"
    • useIndex

      The binary use name of the assembly.

      The value Integer.MIN_VALUE indicates that there is no use name.

      Returns:
      the index value
      Default:
      -2147483648
    • remarks

      @NonNull String remarks
      Get any remarks for this field.
      Returns:
      a markdown string or "##none" if no remarks are provided
      Default:
      "##none"
    • discriminatorValue

      Get any remarks for this field.
      Returns:
      the discriminator string or "##none" if no discriminator is provided
      Default:
      "##none"