Skip navigation links 
 
oracle.jdeveloper.library
Class LibraryReference
java.lang.Object
  
oracle.javatools.data.HashStructureAdapter
      
oracle.jdeveloper.library.LibraryReference
- 
public class LibraryReference
 
- extends HashStructureAdapter
 
HashStructureAdapter encapsulation of a reference to an external Library, as opposed to a reference to a library defined within a JProject. The reference may be to either a JDK or a JLibrary.
 
 
  
 
  
 
 
| 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 | 
 
 
ID_PROPERTY
public final java.lang.String ID_PROPERTY
- 
- See Also:
 
- Constant Field Values
 
 
IS_JDK_PROPERTY
public final java.lang.String IS_JDK_PROPERTY
- 
- See Also:
 
- Constant Field Values
 
 
JDK_VERSION
public final java.lang.String JDK_VERSION
- 
- See Also:
 
- Constant Field Values
 
 
LibraryReference
public LibraryReference()
LibraryReference
public LibraryReference(HashStructure hash)
getID
public java.lang.Object getID()
setID
public void setID(java.lang.Object id)
getVersion
public java.lang.String getVersion()
setVersion
public void setVersion(java.lang.String version)
isJDK
public boolean isJDK()
getIsJDK
public boolean getIsJDK()
setIsJDK
public void setIsJDK(boolean isJDK)
getLibrary
public Library getLibrary()
                   throws TransientMarker
- Finds the Library instance without a Project context.
 
- 
- Throws:
 
TransientMarker 
 
getLibrary
public Library getLibrary(Project project)
                   throws TransientMarker
- Finds the Library instance in the given Project context.
 
- 
- Throws:
 
TransientMarker 
 
setLibrary
public void setLibrary(Library lib)
                throws TransientMarker
- 
- Throws:
 
TransientMarker 
 
toString
public static java.lang.String toString(LibraryReference ref)
- 
- Returns:
 
- Null for invalid reference.
 
 
parseReference
public static LibraryReference parseReference(java.lang.String text)
                                       throws java.lang.IllegalArgumentException
- 
- Throws:
 
java.lang.IllegalArgumentException - for malformed input. 
 
Skip navigation links 
 
Copyright © 1997, 2016, Oracle. All rights reserved.