public abstract class BaseDescriptionImpl extends Object implements BaseDescription
| Constructor and Description |
|---|
BaseDescriptionImpl() |
| Modifier and Type | Method and Description |
|---|---|
BundleCapability |
getCapability()
Returns the capability represented by this description.
|
BaseDescription |
getFragmentDeclaration() |
String |
getName()
Returns the name.
|
Object |
getUserObject()
Returns the user object associated to this description, or
null if none exists. |
Version |
getVersion()
Returns the version.
|
protected void |
setName(String name) |
void |
setUserObject(Object userObject)
Associates a user-provided object to this description, or
removes an existing association, if
null is provided. |
protected void |
setVersion(Version version) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclaredAttributes, getDeclaredDirectives, getSupplierprotected final Object monitor
public String getName()
BaseDescriptiongetName in interface BaseDescriptionpublic Version getVersion()
BaseDescriptiongetVersion in interface BaseDescriptionprotected void setName(String name)
protected void setVersion(Version version)
public BaseDescription getFragmentDeclaration()
public BundleCapability getCapability()
BaseDescriptionnull is
returned.getCapability in interface BaseDescriptionpublic Object getUserObject()
BaseDescriptionnull if none exists.getUserObject in interface BaseDescriptionnullpublic void setUserObject(Object userObject)
BaseDescriptionnull is provided. The
provided object is not interpreted in any ways by this
description.setUserObject in interface BaseDescriptionuserObject - an arbitrary object provided by the user, or
nullCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.