|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ObjectClassDefinitionEx
This interface extends ObjectClassDefinition in order to provide
nesting of object class definitions, not defined by standard metatype API.
| Field Summary | |
|---|---|
static int |
INPUT
Argument for getAttributeDefinitions(int). |
static int |
OUTPUT
Argument for getAttributeDefinitions(int). |
static java.lang.String |
SUPER
Constant for attribute definition id. |
| Fields inherited from interface org.osgi.service.metatype.ObjectClassDefinition |
|---|
ALL, OPTIONAL, REQUIRED |
| Method Summary | |
|---|---|
AttributeDefinition |
getAttributeDefinition(java.lang.String id)
Return an attribute definition with the given id. |
java.lang.String |
getModifier(java.lang.String key)
Returns the value of the given modifier. |
java.lang.String[] |
getModifierKeys()
Returns a set of keys for modifiers for this object definition. |
DesignateObject |
getObject()
|
ObjectClassDefinition |
getObjectClassDefinition(java.lang.String id)
Returns nested object class definition with the given id. |
ObjectClassDefinition[] |
getObjectClassDefinitions()
Returns a set of nested object class definitions. |
java.lang.String |
getPID()
|
| Methods inherited from interface org.osgi.service.metatype.ObjectClassDefinition |
|---|
getAttributeDefinitions, getDescription, getIcon, getID, getName |
| Field Detail |
|---|
static final int INPUT
getAttributeDefinitions(int).
INPUT indicates that only definitions that may
be used as input data are returned. The value is 3.
static final int OUTPUT
getAttributeDefinitions(int).
OUTPUT indicates that only definitions that may
be used as output data are returned. The value is 4.
static final java.lang.String SUPER
STRING, cardinality is 0
and its default value (returned by AttributeDefinition.getDefaultValue())
indicated the pid of the extended object class definition.
| Method Detail |
|---|
AttributeDefinition getAttributeDefinition(java.lang.String id)
id - The id of the requested attribute definition.
null if no such attribute is availablejava.lang.String[] getModifierKeys()
Strings.MetaTypeProviderExtern.getConfigurationObjects(java.lang.String)java.lang.String getModifier(java.lang.String key)
key - The name of the modifier.
null is returned.getModifierKeys()ObjectClassDefinition getObjectClassDefinition(java.lang.String id)
id - The id of the object class definition
null if object with the given id is not available.ObjectClassDefinition[] getObjectClassDefinitions()
null if not available.DesignateObject getObject()
java.lang.String getPID()
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||