org.eclipse.osgi.internal.resolver
Class BaseDescriptionImpl
java.lang.Object
org.eclipse.osgi.internal.resolver.BaseDescriptionImpl
- All Implemented Interfaces:
- BaseDescription
- Direct Known Subclasses:
- BundleDescriptionImpl, ExportPackageDescriptionImpl, GenericDescriptionImpl, NativeCodeDescriptionImpl
public abstract class BaseDescriptionImpl
- extends java.lang.Object
- implements BaseDescription
|
Field Summary |
protected java.lang.Object |
monitor
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
monitor
protected final java.lang.Object monitor
BaseDescriptionImpl
public BaseDescriptionImpl()
getName
public java.lang.String getName()
- Description copied from interface:
BaseDescription
- Returns the name.
- Specified by:
getName in interface BaseDescription
- Returns:
- the name
getVersion
public Version getVersion()
- Description copied from interface:
BaseDescription
- Returns the version.
- Specified by:
getVersion in interface BaseDescription
- Returns:
- the version
setName
protected void setName(java.lang.String name)
setVersion
protected void setVersion(Version version)
getFragmentDeclaration
public BaseDescription getFragmentDeclaration()
getCapability
public BundleCapability getCapability()
- Description copied from interface:
BaseDescription
- Returns the capability represented by this description.
Some descriptions types may not be able to represent
a capability. In such cases
null is
returned.
- Specified by:
getCapability in interface BaseDescription
- Returns:
- the capability represented by this base description
Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.