eclipseme.core.model.impl
Class MetaData

java.lang.Object
  extended byeclipseme.core.model.impl.MetaData

public class MetaData
extends java.lang.Object

This class holds the metadata for the midlet suite project.

Note: This class/interface is part of an interim API that is still under development and expected to change before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken as the API evolves.


Constructor Summary
MetaData(MidletSuiteProject p)
          Construct a new metadata object for the midlet suite project.
 
Method Summary
 java.lang.String getPlatformDefinitionIdentifier()
           
 java.lang.String getPlatformDefinitionName()
          Deprecated. use getPlatformDefinitionIdentifier instead
 ISignatureProperties getSignatureProperties()
           
 Version getVersion()
           
 void saveMetaData()
          Attempt to save the metadata.
 void saveMetaDataToFile(java.io.File storeFile)
          Save the metadata to the storage file.
 void setSignatureProperties(ISignatureProperties p)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaData

public MetaData(MidletSuiteProject p)
Construct a new metadata object for the midlet suite project.

Method Detail

saveMetaData

public void saveMetaData()
                  throws org.eclipse.core.runtime.CoreException
Attempt to save the metadata. This has the potential to fail.

Throws:
org.eclipse.core.runtime.CoreException

saveMetaDataToFile

public void saveMetaDataToFile(java.io.File storeFile)
                        throws org.eclipse.core.runtime.CoreException
Save the metadata to the storage file. This file is expected to be non-null.

Parameters:
storeFile -
Throws:
org.eclipse.core.runtime.CoreException

getPlatformDefinitionName

public java.lang.String getPlatformDefinitionName()
                                           throws org.eclipse.core.runtime.CoreException
Deprecated. use getPlatformDefinitionIdentifier instead

Get the platform definition name.

Returns:
the platform definition name associated with this midlet suite
Throws:
org.eclipse.core.runtime.CoreException

getPlatformDefinitionIdentifier

public java.lang.String getPlatformDefinitionIdentifier()
Returns:
Returns the platformDefinitionIdentifier.

getSignatureProperties

public ISignatureProperties getSignatureProperties()
                                            throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getVersion

public Version getVersion()
Returns:
Returns the version.

setSignatureProperties

public void setSignatureProperties(ISignatureProperties p)