org.apache.felix.metatype
Class OCD
java.lang.Object
org.apache.felix.metatype.OCD
public class OCD
- extends Object
The OCD
class represents the OCD
element of the
meta type descriptor.
- Author:
- fmeschbe
Constructor Summary |
OCD()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OCD
public OCD()
getID
public String getID()
setId
public void setId(String id)
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getIcons
public Map getIcons()
addIcon
public void addIcon(Integer size,
String icon)
- Parameters:
size
- icon
- The icon, either an URL or a string designating a resource
which may be a localized string
getAttributeDefinitions
public Map getAttributeDefinitions()
addAttributeDefinition
public void addAttributeDefinition(AD attribute)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.