|
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.library.model.impl.MidletLibrary
public final class MidletLibrary
Representation of the MIDlet libraries that are provided by 3rd party vendors.
| Constructor Summary | |
|---|---|
MidletLibrary(IConfigurationElement configurationElement)
Creates a new configurationElement based on the informed IConfigurationElement. |
|
MidletLibrary(String identifier,
String name,
String description,
Visibility visibility,
Version version,
LicenceInfo licence,
SecurityInfo security)
Creates a new MidletLibrary |
|
| Method Summary | |
|---|---|
void |
addClasspathEntry(IClasspathEntry libraryItem)
Appends the specified element to the end of the ClasspathEntry List. |
boolean |
equals(Object obj)
|
List<IClasspathEntry> |
getClasspathEntryList()
|
String |
getDescription()
|
String |
getIdentifier()
|
LicenceInfo |
getLicence()
|
String |
getName()
|
SecurityInfo |
getSecurity()
|
Version |
getVersion()
|
Visibility |
getVisibility()
|
int |
hashCode()
|
void |
removeClasspathEntry(IClasspathEntry libraryItem)
Removes the first occurrence in the LibraryItem List of the specified element. |
void |
setClasspathEntryList(List<IClasspathEntry> libraryItemList)
|
void |
setDescription(String description)
|
void |
setIdentifier(String identifier)
|
void |
setName(String name)
|
void |
setVersion(Version version)
|
void |
setVisibility(Visibility visibility)
Sets the visibility for the library. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MidletLibrary(IConfigurationElement configurationElement)
throws IllegalArgumentException
IConfigurationElement.
configurationElement -
IllegalArgumentException
public MidletLibrary(String identifier,
String name,
String description,
Visibility visibility,
Version version,
LicenceInfo licence,
SecurityInfo security)
throws IllegalArgumentException
identifier - name - description - version - licence -
IllegalArgumentException| Method Detail |
|---|
public void addClasspathEntry(IClasspathEntry libraryItem)
ILibrary
addClasspathEntry in interface ILibrarylibraryItem - element to be appended to the ClasspathEntry List.public boolean equals(Object obj)
equals in class Objectpublic List<IClasspathEntry> getClasspathEntryList()
getClasspathEntryList in interface ILibrarypublic String getDescription()
getDescription in interface ILibrarypublic String getIdentifier()
getIdentifier in interface ILibrarypublic LicenceInfo getLicence()
getLicence in interface ILibrarypublic String getName()
getName in interface ILibrarypublic SecurityInfo getSecurity()
getSecurity in interface ILibrarypublic Version getVersion()
getVersion in interface ILibrarypublic Visibility getVisibility()
getVisibility in interface ILibrarypublic int hashCode()
hashCode in class Objectpublic void removeClasspathEntry(IClasspathEntry libraryItem)
ILibrary
removeClasspathEntry in interface ILibrarylibraryItem - element to be removed from the LibraryItem List, if
present.public void setClasspathEntryList(List<IClasspathEntry> libraryItemList)
setClasspathEntryList in interface ILibrarylibraryItemList - the classpathEntryList to setpublic void setDescription(String description)
setDescription in interface ILibrarypublic void setIdentifier(String identifier)
setIdentifier in interface ILibraryidentifier - The identifier to set.public void setName(String name)
setName in interface ILibraryname - The name to set.public void setVersion(Version version)
setVersion in interface ILibraryversion - The version to set.public void setVisibility(Visibility visibility)
ILibrary
setVisibility in interface ILibrary
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||