|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.javatools.data.HashStructureAdapter
oracle.jdeveloper.model.ApplicationLibraries
public final class ApplicationLibraries
Provides application libraries. Application libraries are available to all projects in the application.
Field Summary | |
---|---|
static java.lang.String |
DATA_KEY
Key used to store application libraries. |
static java.lang.String |
DEFINITIONS
Key used to store internal library definitions. |
static java.lang.String |
REFERENCES
Key used to store library references. |
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Constructor Summary | |
---|---|
ApplicationLibraries(HashStructure hash)
|
Method Summary | |
---|---|
boolean |
addLibraryReference(java.lang.Object id)
Add a library to the list of libraries referenced by the application. |
static ApplicationLibraries |
getInstance(PropertyStorage storage)
|
static ApplicationLibraries |
getInstance(Workspace workspace)
Get the application libraries for an application workspace. |
ApplicationLibraryList |
getLibraryDefinitions()
Get the list of libraries defined by the application. |
java.util.List<JLibrary> |
getLibraryReferences()
Get the list of libraries referenced by the application. |
boolean |
hasLibrary(java.lang.Object id)
Determine whether the application libraries contain a specific library. |
boolean |
removeLibraryReference(java.lang.Object id)
Remove a library from the list of libraries referenced by the application. |
JLibrary |
resolveLibrary(java.lang.Object id)
Resolve a library ID to the assocatied library, in the context of the application. |
void |
setLibraryDefinitions(ApplicationLibraryList definitions)
Set the list of libraries defined by the application. |
void |
setLibraryReferences(java.util.List<JLibrary> libraries)
Set the library references for the application. |
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DATA_KEY
public static final java.lang.String REFERENCES
public static final java.lang.String DEFINITIONS
Constructor Detail |
---|
public ApplicationLibraries(HashStructure hash)
Method Detail |
---|
public static ApplicationLibraries getInstance(Workspace workspace)
workspace
- the application workspace
public static ApplicationLibraries getInstance(PropertyStorage storage)
public java.util.List<JLibrary> getLibraryReferences()
public ApplicationLibraryList getLibraryDefinitions()
public void setLibraryDefinitions(ApplicationLibraryList definitions)
definitions
- the list of libraries defined internally in the
applicationpublic boolean addLibraryReference(java.lang.Object id)
id
- the ID of the library
true
if the library reference was added, or false
if it was already present or the library ID could not be resolvedpublic boolean removeLibraryReference(java.lang.Object id)
id
- the ID of the library
true
if the library reference was removed, or
false
if the reference was not presentpublic JLibrary resolveLibrary(java.lang.Object id)
id
- the ID of the library
public void setLibraryReferences(java.util.List<JLibrary> libraries)
libraries
- the new list of libraries to referencepublic boolean hasLibrary(java.lang.Object id)
id
- the ID of the library
true
if the application libraries contain the library,
false
otherwise
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |