Annotation Interface TypeMetadata


@Documented @Target(TYPE) @Retention(RUNTIME) public @interface TypeMetadata
An annotation for providing metadata about a type definition, such as its name, description, and version.
Author:
Luca Frosini (ISTI - CNR)
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A description of the type.
    The name of the type.
    The version of the type.
  • Element Details

    • name

      String name
      The name of the type.
      Returns:
      The type name.
      Default:
      ""
    • description

      String description
      A description of the type.
      Returns:
      The type description.
      Default:
      ""
    • version

      String version
      The version of the type.
      Returns:
      The version string.
      Default:
      "1.0.0"