Annotation Interface Meta.OCD

Enclosing interface:
Meta

@Target(TYPE) @Retention(RUNTIME) public static @interface Meta.OCD
The OCD Annotation maps to the OCD element in the Metatype specification. The only difference is that it is possible to create a Designate element as well.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A description for this ocd.
    boolean
    Defines if this is for a factory or not.
    The id of the component.
    The localization prefix.
    The name for this component.
  • Element Details

    • name

      String name
      The name for this component. The default name is a the short class name that us un-camel cased to make it more readable.
      Returns:
      The name of this component
      Default:
      "\u00a7NULL\u00a7"
    • id

      String id
      The id of the component. Default the name of the class in FQN notation but with nested classes using the $ as separator (not .). The Felix webconsole always uses this id as the PID and not the pid in the Designate element. Reported as an error.
      Returns:
      the id
      Default:
      "\u00a7NULL\u00a7"
    • localization

      String localization
      The localization prefix. The default localization prefix is the name of the class with a $ separator for nested classes.
      Returns:
      the localization prefix.
      Default:
      "\u00a7NULL\u00a7"
    • description

      String description
      A description for this ocd. The default is empty.
      Returns:
      the description
      Default:
      "\u00a7NULL\u00a7"
    • factory

      boolean factory
      Defines if this is for a factory or not.
      Default:
      false