Annotation Interface Metadata


@Documented @Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Metadata
Specifies that this class is a configuration item.
  • Element Details

    • description

      String description
      The description of this configuration item.
      Default:
      "Description unavailable"
    • label

      String label
      The label of this configuration item.
      Default:
      ""
    • root

      The root under which to place configuration items of this type in the JCR tree. If Metadata.ConfigurationItemRoot.NESTED is specified, configuration items of this type cannot be placed directly under a root.
      Default:
      NESTED
    • rootName

      String rootName
      In case when root() is set to Metadata.ConfigurationItemRoot.BY_ROOT_NAME this value is read as desired root for this item.
      Default:
      ""
    • virtual

      boolean virtual
      Whether or not this is a virtual type, i.e. whether or not CIs of this type can be created.
      Default:
      false
    • versioned

      boolean versioned
      Whether or not this is a versioned type, i.e. whether or not the JCR version history for CIs of this type is kept.
      Default:
      true
    • inspectable

      boolean inspectable
      Whether or not the type is inspectable.
      Default:
      false