Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.library.model
Interface ILibrary

All Known Implementing Classes:
MidletLibrary

public interface ILibrary

Representation of the libraries that are provided by 3rd party vendors.

Each library will be composed by the following members:

Since:
0.9.1

Method Summary
 void addClasspathEntry(IClasspathEntry classpathEntry)
          Appends the specified element to the end of the ClasspathEntry List.
 List<IClasspathEntry> getClasspathEntryList()
           
 String getDescription()
           
 String getIdentifier()
           
 LicenceInfo getLicence()
           
 String getName()
           
 SecurityInfo getSecurity()
           
 Version getVersion()
           
 Visibility getVisibility()
           
 void removeClasspathEntry(IClasspathEntry classpathEntry)
          Removes the first occurrence in the LibraryItem List of the specified element.
 void setClasspathEntryList(List<IClasspathEntry> classpathEntryList)
           
 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.
 

Method Detail

addClasspathEntry

void addClasspathEntry(IClasspathEntry classpathEntry)
Appends the specified element to the end of the ClasspathEntry List.

Parameters:
classpathEntry - element to be appended to the ClasspathEntry List.

getClasspathEntryList

List<IClasspathEntry> getClasspathEntryList()
Returns:
the classpathEntry

getDescription

String getDescription()
Returns:

getIdentifier

String getIdentifier()
Returns:
Returns the identifier.

getLicence

LicenceInfo getLicence()
Returns:
the license.

getName

String getName()
Returns:
Returns the name.

getSecurity

SecurityInfo getSecurity()
Returns:
the security info.

getVersion

Version getVersion()
Returns:
Returns the version.

getVisibility

Visibility getVisibility()
Returns:
the visibility for this library.

removeClasspathEntry

void removeClasspathEntry(IClasspathEntry classpathEntry)
Removes the first occurrence in the LibraryItem List of the specified element.

Parameters:
classpathEntry - element to be removed from the LibraryItem List, if present.

setClasspathEntryList

void setClasspathEntryList(List<IClasspathEntry> classpathEntryList)
Parameters:
classpathEntryList - the classpathEntryList to set

setDescription

void setDescription(String description)
Parameters:
description -

setIdentifier

void setIdentifier(String identifier)
Parameters:
identifier - The identifier to set.

setName

void setName(String name)
Parameters:
name - The name to set.

setVersion

void setVersion(Version version)
Parameters:
version - The version to set.

setVisibility

void setVisibility(Visibility visibility)
Sets the visibility for the library.

Parameters:
visibility -

Mobile Tools for Java
Release 1.0