public class JLibraryNode extends ExternalLibrary implements JLibrary, ExportAwareLibrary
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
NAMESPACE_URI  | 
static java.lang.String | 
ROOT_TAG  | 
LOG_READONLYDEPLOYED_BY_DEFAULT_PROPERTYLIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTYCLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY| Constructor and Description | 
|---|
JLibraryNode()
Constructor. 
 | 
JLibraryNode(java.net.URL url)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equivalent(Library lib)
Determine whether the given Library is equivalent to this one with respect
 to the values of its public properties other than name. 
 | 
java.util.Map<URLKey,oracle.javatools.exports.ExportModel<?>> | 
getAnnotatedClassPath()
Gets a map from classpath entry to the corresponding export specification. 
 | 
JLibraryDefinition | 
getDefaultLibraryDefinition()
Deprecated.   
 | 
java.util.List<oracle.javatools.exports.ExportLibrary.Dependency> | 
getDependencies()
Gets the list of libraries that this library depends on and for each
 library, whether its API should be reexported. 
 | 
java.lang.Boolean | 
getDeployedByDefault()  | 
java.lang.String | 
getDescription()
Gets a human readable description of this library. 
 | 
protected java.lang.String | 
getExtension()  | 
java.lang.String | 
getId()
Gets the globally unique id of this library. 
 | 
JLibraryDefinition | 
getLibraryDefinition(VersionNumber jdkVer)
Deprecated.   
 | 
void | 
initFromLibrary(Library lib)
Initialize all public properties, other than name, from the Library
 provided. 
 | 
protected void | 
openImpl()
This method uses  
ObjectStore to unmarshal the file into a 
  JavaBean instance. | 
protected void | 
saveImpl()
Document interface method. | 
void | 
setAnnotatedClassPath(java.util.Map<URLKey,oracle.javatools.exports.ExportModel<?>> newAnnotatedClassPath)  | 
void | 
setDependencies(java.util.List<oracle.javatools.exports.ExportLibrary.Dependency> newDependencies)  | 
void | 
setDeployedByDefault(java.lang.Boolean deploy)  | 
void | 
setDescription(java.lang.String newDescription)  | 
void | 
setId(java.lang.String newId)  | 
fireChangeEvent, getClassPath, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getDocPath, getIcon, getID, getName, getShortLabel, getSourcePath, isLocked, setClassPath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setDocPath, setLocked, setName, setSourcePath, toStringgetObjectStoreTarget, getURL, newObjectStoreaddNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, addWeakNodeListener, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getChildren, getData, getInputStream, getLongLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, isDirty, isLoaded, isLockHeld, isMigrating, isNew, isOpen, isReadLocked, isReadLockHeld, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isTrackingThreadNodeUsage, isWriteLocked, isWriteLockHeld, lockCount, markDirty, markDirtyImpl, mayHaveChildren, nodeLock, notifyObservers, open, readLock, readLockCount, readLockInterruptibly, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, removeWeakNodeListener, rename, renameImpl, reportOpenException, revert, revertImpl, runUnderReadLock, runUnderWriteLock, save, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, tryRunUnderReadLock, tryRunUnderWriteLock, unsetMigrating, upgradeLock, upgradeUnlock, urlReadOnlyChanged, writeLock, writeLockCount, writeLockInterruptibly, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, getName, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setNamegetClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePathgetAttributedLabel, getIcon, getLongLabel, getShortLabel, getToolTipText, toStringpublic static final java.lang.String NAMESPACE_URI
public static final java.lang.String ROOT_TAG
public JLibraryNode()
public JLibraryNode(java.net.URL url)
url - URL in which to store library information.protected void openImpl()
                 throws java.io.IOException
LibraryDataNodeObjectStore to unmarshal the file into a 
  JavaBean instance. In addition, subclasses can call this method
  and indicate that the method should not send OBJECT_OPENED notification
  to observers. This method sends OBJECT_OPENED notification in an
  invoke later event.openImpl in class LibraryDataNodejava.io.IOException - if an I/O error occurred while openingObjectStoreprotected void saveImpl()
                 throws java.io.IOException
LibraryDataNodeDocument interface method.  This method uses
  Object2Dom to marshal the underlying JavaBean into an XML
  form.saveImpl in class LibraryDataNodejava.io.IOException - if an I/O error occurred while savingObject2Dompublic boolean equivalent(Library lib)
Libraryequivalent in interface Libraryequivalent in class ExternalLibrarylib - the Library against which to test for equivalence.public void initFromLibrary(Library lib)
LibraryinitFromLibrary in interface LibraryinitFromLibrary in class ExternalLibrarylib - the Library from which to fetch property values.public java.lang.String getId()
                       throws TransientMarker
ExportAwareLibrarygetId in interface ExportAwareLibraryTransientMarkerpublic void setId(java.lang.String newId)
public java.lang.String getDescription()
                                throws TransientMarker
ExportAwareLibrarygetDescription in interface ExportAwareLibraryTransientMarkerpublic void setDescription(java.lang.String newDescription)
public java.util.List<oracle.javatools.exports.ExportLibrary.Dependency> getDependencies()
                                                                                  throws TransientMarker
ExportAwareLibrarygetDependencies in interface ExportAwareLibraryTransientMarkerpublic void setDependencies(java.util.List<oracle.javatools.exports.ExportLibrary.Dependency> newDependencies)
public java.util.Map<URLKey,oracle.javatools.exports.ExportModel<?>> getAnnotatedClassPath() throws TransientMarker
ExportAwareLibrarygetAnnotatedClassPath in interface ExportAwareLibraryTransientMarkerpublic void setAnnotatedClassPath(java.util.Map<URLKey,oracle.javatools.exports.ExportModel<?>> newAnnotatedClassPath)
public java.lang.Boolean getDeployedByDefault()
                                       throws AttributeMarker
getDeployedByDefault in interface JLibraryAttributeMarkerpublic void setDeployedByDefault(java.lang.Boolean deploy)
setDeployedByDefault in interface JLibrary@Deprecated public JLibraryDefinition getDefaultLibraryDefinition()
getDefaultLibraryDefinition in interface JLibrary@Deprecated public JLibraryDefinition getLibraryDefinition(VersionNumber jdkVer)
getLibraryDefinition in interface JLibraryprotected java.lang.String getExtension()
getExtension in class ExternalLibrary