This annotation indicates that the target class represents a Module assembly.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends IBoundModule>
    Get the Metaschema module class that "owns" this assembly, which is the concrete implementation of the module containing the assembly.
    Name of the assembly.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Get the documentary description of the assembly.
    Get the documentary formal name of the assembly.
    int
    The binary name of the assembly.
    Get the model constraints defined for this Metaschema assembly definition.
    Get any remarks for this assembly.
    int
    The binary root name of the assembly.
    Name of the root XML element or the JSON/YAML property.
    Get the value constraints defined for this Metaschema assembly definition.
  • Element Details

    • moduleClass

      @NonNull Class<? extends IBoundModule> moduleClass
      Get the Metaschema module class that "owns" this assembly, which is the concrete implementation of the module containing the assembly.
      Returns:
      the IBoundModule class
    • name

      @NonNull String name
      Name of the assembly.
      Returns:
      the name
    • 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"
    • index

      int index
      The binary name of the assembly.

      The value Integer.MIN_VALUE indicates that there is no index.

      Returns:
      the index value
      Default:
      -2147483648
    • rootName

      @NonNull String rootName
      Name of the root XML element or the JSON/YAML property.

      If the value is "##none", then there is no root name.

      Returns:
      the name
      Default:
      "##none"
    • rootIndex

      The binary root name of the assembly.

      The value Integer.MIN_VALUE indicates that there is no root index.

      Returns:
      the index value
      Default:
      -2147483648
    • remarks

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

      Get the value constraints defined for this Metaschema assembly definition.
      Returns:
      the value constraints
      Default:
      @gov.nist.secauto.metaschema.databind.model.annotations.ValueConstraints
    • modelConstraints

      Get the model constraints defined for this Metaschema assembly definition.
      Returns:
      the value constraints
      Default:
      @gov.nist.secauto.metaschema.databind.model.annotations.AssemblyConstraints