|
Eclipse Platform Kepler (4.3) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseDescription
This class represents a base description object for a state. All description objects in a state have a name and a version.
This interface is not intended to be implemented by clients. The
StateObjectFactory
should be used to construct instances.
Method Summary | |
---|---|
BundleCapability |
getCapability()
Returns the capability represented by this description. |
Map<String,Object> |
getDeclaredAttributes()
Returns the attributes declared with the description. |
Map<String,String> |
getDeclaredDirectives()
Returns the directives declared with the description. |
String |
getName()
Returns the name. |
BundleDescription |
getSupplier()
Returns the bundle which supplies this base description |
Object |
getUserObject()
Returns the user object associated to this description, or null if none exists. |
Version |
getVersion()
Returns the version. |
void |
setUserObject(Object userObject)
Associates a user-provided object to this description, or removes an existing association, if null is provided. |
Method Detail |
---|
String getName()
Version getVersion()
BundleDescription getSupplier()
Map<String,String> getDeclaredDirectives()
Map<String,Object> getDeclaredAttributes()
BundleCapability getCapability()
null
is
returned.
Object getUserObject()
null
if none exists.
null
void setUserObject(Object userObject)
null
is provided. The
provided object is not interpreted in any ways by this
description.
userObject
- an arbitrary object provided by the user, or
null
|
Eclipse Platform Kepler (4.3) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.