|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IBundleReferencePersistable
Classes that implement the IBundleReferencePersistable interface are standard IPersistable classes that must also be able to provide a reference to the bundle from which they may be loaded.
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.
| Field Summary | |
|---|---|
static String |
BUNDLE_PERSISTABLE_ATTRIBUTE
The persistable attribute id for storing the bundle identifier. |
| Fields inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
|---|
CLASS_PERSISTABLE_ATTRIBUTE, ID_PERSISTABLE_ATTRIBUTE, KEY_PERSISTABLE_ATTRIBUTE, PROPERTY_PERSISTABLE_ELEMENT, REFID_PERSISTABLE_ATTRIBUTE, VALUE_PERSISTABLE_ATTRIBUTE |
| Method Summary | |
|---|---|
String |
getBundle()
Return the bundle identifier that should be used to load this persistable. |
void |
setBundle(String bundle)
Set the bundle identifier that is used to load this persistable. |
| Methods inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
|---|
loadUsing, storeUsing |
| Field Detail |
|---|
static final String BUNDLE_PERSISTABLE_ATTRIBUTE
| Method Detail |
|---|
String getBundle()
Bundle-SymbolicName manifest
header.
Clients must always return a valid bundle identifier in order to MTJ correctly load that bundle.
The symbolic name of a bundle may be retrieved using the
Bundle#getSymbolicName() method.
void setBundle(String bundle)
Bundle-SymbolicName manifest header.
The symbolic name of a bundle may be retrieved using the
Bundle#getSymbolicName() method.
bundle - a valid bundle identifier.
|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||