org.eclipse.osgi.internal.resolver
Class GenericDescriptionImpl

java.lang.Object
  extended by org.eclipse.osgi.internal.resolver.GenericDescriptionImpl
All Implemented Interfaces:
BaseDescription, GenericDescription

public class GenericDescriptionImpl
extends java.lang.Object
implements GenericDescription


Field Summary
protected  java.lang.Object monitor
           
 
Fields inherited from interface org.eclipse.osgi.service.resolver.GenericDescription
DEFAULT_TYPE
 
Constructor Summary
GenericDescriptionImpl()
           
 
Method Summary
 java.util.Dictionary getAttributes()
          Returns the arbitrary attributes for this description
 java.lang.String getName()
          Returns the name.
 BundleDescription getSupplier()
          Returns the bundle which supplies this base description
 java.lang.String getType()
          Returns the type of generic description capability
 Version getVersion()
          Returns the version.
protected  void setName(java.lang.String name)
           
protected  void setVersion(Version version)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.osgi.service.resolver.BaseDescription
getName, getVersion
 

Field Detail

monitor

protected final java.lang.Object monitor
Constructor Detail

GenericDescriptionImpl

public GenericDescriptionImpl()
Method Detail

getAttributes

public java.util.Dictionary getAttributes()
Description copied from interface: GenericDescription
Returns the arbitrary attributes for this description

Specified by:
getAttributes in interface GenericDescription
Returns:
the arbitrary attributes for this description

getSupplier

public BundleDescription getSupplier()
Description copied from interface: BaseDescription
Returns the bundle which supplies this base description

Specified by:
getSupplier in interface BaseDescription
Returns:
the bundle which supplies this base description

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getType

public java.lang.String getType()
Description copied from interface: GenericDescription
Returns the type of generic description capability

Specified by:
getType in interface GenericDescription
Returns:
the type of generic description capability

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)


Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.