Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.library
Interface Library

All Superinterfaces:
Displayable, JPaths
All Known Subinterfaces:
DerivedLibrary, JDK, JLibrary, JLibraryDefinition
All Known Implementing Classes:
AbstractDerivedLibrary, AbstractLibrary, AddinJDK, AddinLibrary, ExternalLibrary, JDKAdapter, JDKNode, JLibraryAdapter, JLibraryNode, LibraryAdapter, ProjectLibrary

public interface Library
extends JPaths, Displayable

Encapsulates the notion of a library as it is used within JDeveloper.


Field Summary
static java.lang.String LIBRARY_ID_PROPERTY
           
static java.lang.String LIBRARY_NAME_PROPERTY
           
 
Fields inherited from interface oracle.jdeveloper.library.JPaths
CLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY
 
Method Summary
 boolean equivalent(Library library)
          Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name.
 URLPath getDefaultClassPath()
          Deprecated. use getClassPath()
 URLPath getDefaultDocPath()
          Deprecated. use getDocPath()
 URLPath getDefaultSourcePath()
          Deprecated. use getSourcePath()
 java.lang.Object getID()
           
 java.lang.String getName()
           
 void initFromLibrary(Library lib)
          Initialize all public properties, other than name, from the Library provided.
 void setDefaultClassPath(URLPath clsPath)
          Deprecated. use setClassPath(URLPath)
 void setDefaultDocPath(URLPath docPath)
          Deprecated. use setDocPath(URLPath)
 void setDefaultSourcePath(URLPath srcPath)
          Deprecated. use setSourcePath(URLPath)
 void setName(java.lang.String name)
           
 
Methods inherited from interface oracle.jdeveloper.library.JPaths
getClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePath
 
Methods inherited from interface oracle.ide.model.Displayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString
 

Field Detail

LIBRARY_NAME_PROPERTY

static final java.lang.String LIBRARY_NAME_PROPERTY
See Also:
Constant Field Values

LIBRARY_ID_PROPERTY

static final java.lang.String LIBRARY_ID_PROPERTY
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Returns:
the Library name, or null

setName

void setName(java.lang.String name)

getID

java.lang.Object getID()
Returns:
the Library id as a String or null

equivalent

boolean equivalent(Library library)
Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name.

Parameters:
library - the Library against which to test for equivalence.
Returns:
true if all public properties are equal.

initFromLibrary

void initFromLibrary(Library lib)
Initialize all public properties, other than name, from the Library provided.

Parameters:
library - the Library from which to fetch property values.

getDefaultClassPath

URLPath getDefaultClassPath()
Deprecated. use getClassPath()


setDefaultClassPath

void setDefaultClassPath(URLPath clsPath)
Deprecated. use setClassPath(URLPath)


getDefaultSourcePath

URLPath getDefaultSourcePath()
Deprecated. use getSourcePath()


setDefaultSourcePath

void setDefaultSourcePath(URLPath srcPath)
Deprecated. use setSourcePath(URLPath)


getDefaultDocPath

URLPath getDefaultDocPath()
Deprecated. use getDocPath()


setDefaultDocPath

void setDefaultDocPath(URLPath docPath)
Deprecated. use setDocPath(URLPath)


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.