|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.core.sdk.device.midp.library.api.API
public class API
Instances of this class represent the API provided by an ILibrary instance.
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.
| Constructor Summary | |
|---|---|
API()
Construct a new API instance |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getIdentifier()
|
String |
getName()
|
String |
getPrimaryMatchableClass()
Return the fully-qualifed class name of the primary class for this API that can be used for matching. |
URL[] |
getSkeletonReplacements()
Return the replacement files that are useful for preverification and devices such as MPowerPlayer and microemu. |
APIType |
getType()
|
Version |
getVersion()
|
int |
hashCode()
|
boolean |
isConfiguration()
Return a boolean indicating whether this API is a configuration library. |
boolean |
isProfile()
Return a boolean indicating whether this API is a profile library. |
boolean |
isRegistered()
|
void |
loadUsing(IPersistenceProvider persistenceProvider)
Load the state of this object using the specified persistence state information. |
void |
setIdentifier(String identifier)
|
void |
setName(String name)
|
void |
setPrimaryMatchableClass(String primaryMatchableClass)
Set the fully-qualified class name of the primary class for this API that can be used for matching. |
void |
setRegistered(boolean registered)
|
void |
setSkeletonReplacements(URL[] verifiableReplacements)
Set the replacement files that are useful for preverification. |
void |
setType(APIType type)
|
void |
setVersion(Version version)
|
void |
storeUsing(IPersistenceProvider persistenceProvider)
Save the state of this object using the specified persistence state information. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public API()
| Method Detail |
|---|
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String getIdentifier()
public String getName()
public String getPrimaryMatchableClass()
public URL[] getSkeletonReplacements()
null if there are not replacements
for this particular API.
public APIType getType()
public Version getVersion()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean isConfiguration()
public boolean isProfile()
public boolean isRegistered()
public void loadUsing(IPersistenceProvider persistenceProvider)
throws PersistenceException
IPersistable
loadUsing in interface IPersistablePersistenceExceptionpublic void setIdentifier(String identifier)
identifier - The identifier to set.public void setName(String name)
name - The name to set.public void setPrimaryMatchableClass(String primaryMatchableClass)
primaryMatchableClass - public void setRegistered(boolean registered)
registered - public void setSkeletonReplacements(URL[] verifiableReplacements)
verifiableReplacements - public void setType(APIType type)
type - The type to set.public void setVersion(Version version)
version - The version to set.
public void storeUsing(IPersistenceProvider persistenceProvider)
throws PersistenceException
IPersistable
storeUsing in interface IPersistablePersistenceExceptionIPersistable.storeUsing(org.eclipse.mtj.core.persistence.IPersistenceProvider)public String toString()
toString in class ObjectObject.toString()
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||