org.apache.felix.bundlerepository.impl
Class CapabilityImpl
java.lang.Object
org.apache.felix.bundlerepository.impl.CapabilityImpl
- All Implemented Interfaces:
- Capability
public class CapabilityImpl
- extends java.lang.Object
- implements Capability
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CapabilityImpl
public CapabilityImpl()
CapabilityImpl
public CapabilityImpl(java.lang.String name)
CapabilityImpl
public CapabilityImpl(java.lang.String name,
PropertyImpl[] properties)
getName
public java.lang.String getName()
- Description copied from interface:
Capability
- Return the name of the capability.
- Specified by:
getName
in interface Capability
setName
public void setName(java.lang.String name)
getPropertiesAsMap
public java.util.Map getPropertiesAsMap()
- Description copied from interface:
Capability
- Return the map of properties.
- Specified by:
getPropertiesAsMap
in interface Capability
- Returns:
- a Map
getProperties
public Property[] getProperties()
- Description copied from interface:
Capability
- Return the properties of this capability
- Specified by:
getProperties
in interface Capability
- Returns:
addProperty
public void addProperty(Property prop)
addProperty
public void addProperty(java.lang.String name,
java.lang.String value)
addProperty
public void addProperty(java.lang.String name,
java.lang.String type,
java.lang.String value)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011. All Rights Reserved.