Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.persistence
Interface IBundleReferencePersistable

All Superinterfaces:
IPersistable

public interface IBundleReferencePersistable
extends IPersistable

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.

Since:
1.0

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

BUNDLE_PERSISTABLE_ATTRIBUTE

static final 
String BUNDLE_PERSISTABLE_ATTRIBUTE
The persistable attribute id for storing the bundle identifier.

See Also:
Constant Field Values
Method Detail

getBundle


String getBundle()
Return the bundle identifier that should be used to load this persistable. The bundle identifier must be the symbolic name of that bundle as specified by its 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.

Returns:
the symbolic name of the bundle that should be used to load this persistable.

setBundle

void setBundle(
String bundle)
Set the bundle identifier that is used to load this persistable. The bundle identifier must be the symbolic name of that bundle as specified by its Bundle-SymbolicName manifest header.

The symbolic name of a bundle may be retrieved using the Bundle#getSymbolicName() method.

Parameters:
bundle - a valid bundle identifier.

Mobile Tools for Java
Release 1.0


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire