Annotation Type 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
      String description
      A description of the type.
      String name
      The name of the type.
      String version
      The version of the type.
    • Element Detail

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