| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-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.JProjectLibraries
public class JProjectLibraries
JProjectLibraries is the means by which JDK and JLibrary information may be stored and retrieved from a given PropertyStorage object.
| Field Summary | |
|---|---|
static java.lang.String | 
DATA_KEY
Key for identifying JProjectLibraries table in HashStructure  | 
static java.lang.String | 
EXPORTS
HashStructure key for exported JLibrary references  | 
static java.lang.String | 
JDK_NAME
HashStructure key for JDK reference  | 
static java.lang.String | 
LIB_LIST
HashStructure key for internal Library definitions  | 
static java.lang.String | 
LIBRARIES
HashStructure key for JLibrary references  | 
| Fields inherited from class oracle.javatools.data.HashStructureAdapter | 
|---|
_hash | 
| Constructor Summary | |
|---|---|
JProjectLibraries(HashStructure hash)
Constructor.  | 
|
| Method Summary | |
|---|---|
 boolean | 
addLibrary(java.lang.Object id)
Add an exported JLibrary identified by an ID to the list of referenced JLibrary instances.  | 
 boolean | 
addLibrary(java.lang.Object id,
           boolean export)
Add a JLibrary identified by an ID to the list of referenced JLibrary instances.  | 
 JLibrary[] | 
getExports()
Get an array of all exported JLibrary instances.  | 
static JProjectLibraries | 
getInstance(PropertyStorage prj)
Get an instance of JProjectLibraries rooted in the given PropertyStorage.  | 
 JDK | 
getJDK()
Get the referenced JDK, else the default installed JDK.  | 
 VersionNumber | 
getJdkVersionNumber()
Get the version number of the JDK.  | 
 JLibrary[] | 
getLibraries()
Get an array of all referenced JLibrary instances.  | 
 java.lang.String[] | 
getLibraryList()
 | 
 JProjectLibraryList | 
getProjectLibraryList()
Get a LibraryList of all internal Library definitions.  | 
 boolean | 
hasExport(java.lang.Object id)
 | 
 boolean | 
hasLibrary(java.lang.Object id)
 | 
 boolean | 
removeLibrary(java.lang.Object id)
Remove a JLibrary identified by an ID from the list of referenced JLibrary instances.  | 
 JDK | 
resolveJDK(java.lang.Object id)
Resolve a JDK ID to the associated JDK.  | 
 JLibrary | 
resolveLibrary(java.lang.Object id)
Resolve a JLibrary ID to the associated JLibrary.  | 
 void | 
setExports(JLibrary[] exports)
Set the array of all exported JLibrary instances.  | 
 void | 
setJDK(JDK jdk)
Set the referenced JDK.  | 
 void | 
setLibraries(JLibrary[] newLibs)
Set the array of all referenced JLibrary instances.  | 
 void | 
setProjectLibraryList(JProjectLibraryList newList)
Set the LibraryList of all internal Library definitions.  | 
| 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 JDK_NAME
public static final java.lang.String LIBRARIES
public static final java.lang.String LIB_LIST
public static final java.lang.String EXPORTS
| Constructor Detail | 
|---|
public JProjectLibraries(HashStructure hash)
hash - HashStructure in which to read/write values.| Method Detail | 
|---|
public static JProjectLibraries getInstance(PropertyStorage prj)
project - the PropertyStorage in which to establish a HashStructure.
public JDK getJDK()
public void setJDK(JDK jdk)
jdk - the JDK for which a reference is to be persisted.public VersionNumber getJdkVersionNumber()
public java.lang.String[] getLibraryList()
public JLibrary[] getLibraries()
public boolean hasLibrary(java.lang.Object id)
id - the ID of a JLibrary.
public void setLibraries(JLibrary[] newLibs)
newLibs - an array of JLibrary to be referred to.public JLibrary[] getExports()
public boolean hasExport(java.lang.Object id)
id - the ID of a JLibrary.
public void setExports(JLibrary[] exports)
exports - an array of JLibrary to be exported.public JProjectLibraryList getProjectLibraryList()
public void setProjectLibraryList(JProjectLibraryList newList)
newList - LibraryList of internal Library definitions.public boolean addLibrary(java.lang.Object id)
id - the ID of a JLibrary.
public boolean addLibrary(java.lang.Object id,
                          boolean export)
id - the ID of a JLibrary.export - whether or not the library is exported.
public boolean removeLibrary(java.lang.Object id)
id - the ID of a JLibrary.
public JLibrary resolveLibrary(java.lang.Object id)
id - the ID of the JLibrary to locate.
public JDK resolveJDK(java.lang.Object id)
id - the ID of the JDK to locate.
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||