Annotation Interface Component


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface Component
Assign metadata to a component (required for all component types aside from Endpoints).

The id should be unique among the different components.

In the case of Entities, Workflows and Views, the component id should be stable as a different identifier means a different representation in storage. Changing this identifier will create a new class of component and all previous instances using the old identifier won't be accessible anymore.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The unique identifier for this component (mandatory).
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A description of what this component does (optional).
    A human-readable name for this component (optional).
  • Element Details

    • id

      String id
      The unique identifier for this component (mandatory).
    • name

      String name
      A human-readable name for this component (optional).
      Default:
      ""
    • description

      String description
      A description of what this component does (optional).
      Default:
      ""