Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.project
Interface IMetaData

All Known Subinterfaces:
IMIDPMetaData

public interface IMetaData

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.

Since:
1.0
Restriction:
This class is not intended to be implemented by clients.

Field Summary
static String METADATA_FILE
          The metadata file name for the MIDlet project
 
Method Summary
 MTJRuntimeList getRuntime()
          Return the list of runtimes that are associated to the project.
 ISignatureProperties getSignatureProperties()
           
 Version getVersion()
           
 void saveMetaData()
          Attempt to save the metadata.
 void saveMetaDataToFile(IFile storeFile)
          Save the metadata to the storage file.
 void setMTJRuntimeList(MTJRuntimeList configurations)
           
 void setSignatureProperties(ISignatureProperties p)
           
 

Field Detail

METADATA_FILE

static final String METADATA_FILE
The metadata file name for the MIDlet project

See Also:
Constant Field Values
Method Detail

getRuntime

MTJRuntimeList getRuntime()
Return the list of runtimes that are associated to the project. From the list it is possible to read each runtime and information such as the device of each runtime

Returns:
MTJRuntimeList list of MTJRuntime

getSignatureProperties

ISignatureProperties getSignatureProperties()
                                            throws CoreException
Returns:
Throws:
CoreException

getVersion

Version getVersion()
Returns:
Returns the version.

saveMetaData

void saveMetaData()
                  throws CoreException
Attempt to save the metadata. This has the potential to fail.

Throws:
CoreException

saveMetaDataToFile

void saveMetaDataToFile(IFile storeFile)
                        throws CoreException
Save the metadata to the storage file. This file is expected to be non-null.

Parameters:
storeFile -
Throws:
CoreException

setMTJRuntimeList

void setMTJRuntimeList(MTJRuntimeList configurations)
Parameters:
configurations -

setSignatureProperties

void setSignatureProperties(ISignatureProperties p)
Parameters:
p -

Mobile Tools for Java
Release 1.0