Package aQute.bnd.annotation.metatype
Annotation Interface Meta.OCD
- Enclosing interface:
- Meta
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
Modifier and TypeOptional ElementDescriptionA 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 nameThe 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 idThe 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 localizationThe 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 descriptionA description for this ocd. The default is empty.- Returns:
- the description
- Default:
- "\u00a7NULL\u00a7"
-
factory
boolean factoryDefines if this is for a factory or not.- Default:
- false
-