Package org.apache.felix.metatype
Class OCD
- java.lang.Object
-
- org.apache.felix.metatype.OptionalAttributes
-
- org.apache.felix.metatype.OCD
-
@Deprecated(since="2021-05-27") public class OCD extends OptionalAttributes
Deprecated.The Apache Felix metatype API is deprecated, please use the OSGi metatype API instead.TheOCDclass represents theOCDelement of the meta type descriptor.
-
-
Constructor Summary
Constructors Constructor Description OCD()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddAttributeDefinition(AD attribute)Deprecated.voidaddIcon(Integer size, String icon)Deprecated.MapgetAttributeDefinitions()Deprecated.StringgetDescription()Deprecated.MapgetIcons()Deprecated.StringgetID()Deprecated.MetaDatagetMetadata()Deprecated.StringgetName()Deprecated.voidsetDescription(String description)Deprecated.voidsetId(String id)Deprecated.voidsetMetadata(MetaData metadata)Deprecated.voidsetName(String name)Deprecated.-
Methods inherited from class org.apache.felix.metatype.OptionalAttributes
addOptionalAttribute, getOptionalAttributes
-
-
-
-
Method Detail
-
getID
public String getID()
Deprecated.
-
setId
public void setId(String id)
Deprecated.
-
getName
public String getName()
Deprecated.
-
setName
public void setName(String name)
Deprecated.
-
getDescription
public String getDescription()
Deprecated.
-
setDescription
public void setDescription(String description)
Deprecated.
-
getIcons
public Map getIcons()
Deprecated.
-
addIcon
public void addIcon(Integer size, String icon)
Deprecated.- Parameters:
size-icon- The icon, either an URL or a string designating a resource which may be a localized string
-
getAttributeDefinitions
public Map getAttributeDefinitions()
Deprecated.
-
addAttributeDefinition
public void addAttributeDefinition(AD attribute)
Deprecated.
-
getMetadata
public MetaData getMetadata()
Deprecated.
-
setMetadata
public void setMetadata(MetaData metadata)
Deprecated.
-
-