Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.jdeveloper.library
Class LegacyLibraryList

java.lang.Object
  extended by oracle.ide.model.Node
      extended by oracle.jdeveloper.library.LibraryDataNode
          extended by oracle.jdeveloper.library.LegacyLibraryList

All Implemented Interfaces:
Displayable, Element, LazyLoadable, Locatable, Subject, Dirtyable

public final class LegacyLibraryList
extends LibraryDataNode

The sole intention of LegacyLibraryList is to represent a libraries.xml file used in pre 10.1.3 releases such that the data may be read by the migration mechanics for conversion to the 10.1.3 format. This class should not be relied upon for any other purpose.


Field Summary
static java.lang.String NAMESPACE_URI
           
static java.lang.String ROOT_TAG
           

 

Fields inherited from class oracle.ide.model.Node
LOG_READONLY

 

Constructor Summary
LegacyLibraryList()
           

 

Method Summary
 java.util.Map getAliasMap()
           
 Attributes getAttributes()
          This method returns an Attributes object that encodes the attributes of the Element.
 java.util.Iterator getChildren()
          This method is part of the Element interface to provide a convenient way of getting an Iterator over any contained child Elements without having to test the object's type with the instanceof operator or having to downcast to a more specific type.
 java.util.List getJdkList()
           
 java.util.List getLibraryList()
           
 boolean isReadOnly()
          Returns true if the Node is read-only.
 boolean mayHaveChildren()
          This method is part of the Element interface to provide a convenient way of determining whether an object may have children without having to test the object's type with the instanceof operator or having to downcast to a more specific type.
protected  ObjectStore newObjectStore()
           
 void setAliasMap(java.util.Map aliasMap)
           
 void setJdkList(java.util.List jdks)
           
 void setLibraryList(java.util.List libraries)
           

 

Methods inherited from class oracle.jdeveloper.library.LibraryDataNode
getObjectStoreTarget, getURL, openImpl, saveImpl

 

Methods inherited from class oracle.ide.model.Node
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getData, getIcon, getInputStream, getLongLabel, getShortLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, isDirty, isLoaded, isMigrating, isNew, isOpen, isReadLocked, isReadOrWriteLocked, isTrackedInNodeCache, isWriteLocked, lockCount, markDirty, markDirtyImpl, nodeLock, notifyObservers, open, readLock, readLockCount, readLockInterruptibly, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runUnderReadLock, runUnderWriteLock, save, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, toString, tryRunUnderReadLock, unsetMigrating, upgradeLock, upgradeUnlock, urlReadOnlyChanged, writeLock, writeLockCount, writeLockInterruptibly, writeUnlock

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

NAMESPACE_URI

public static final java.lang.String NAMESPACE_URI

ROOT_TAG

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

Constructor Detail

LegacyLibraryList

public LegacyLibraryList()

Method Detail

getLibraryList

public java.util.List getLibraryList()

setLibraryList

public void setLibraryList(java.util.List libraries)

getJdkList

public java.util.List getJdkList()

setJdkList

public void setJdkList(java.util.List jdks)

getAliasMap

public java.util.Map getAliasMap()

setAliasMap

public void setAliasMap(java.util.Map aliasMap)

getChildren

public java.util.Iterator getChildren()
Description copied from interface: Element
This method is part of the Element interface to provide a convenient way of getting an Iterator over any contained child Elements without having to test the object's type with the instanceof operator or having to downcast to a more specific type.

An implementation of Element that represents a leaf in a tree structure should return null from this method. An implementation of Element that could represent a non-leaf in a tree structure should return either an Iterator over the child Elements or null if there are no children.

Specified by:
getChildren in interface Element
Overrides:
getChildren in class Node
Returns:
an Iterator over any child Elements contained by this Element. If there are no children, null is returned.

mayHaveChildren

public boolean mayHaveChildren()
Description copied from interface: Element
This method is part of the Element interface to provide a convenient way of determining whether an object may have children without having to test the object's type with the instanceof operator or having to downcast to a more specific type.

An implementation of Element that represents a leaf in a tree structure should return false from this method. An implementation of Element that could represent a non-leaf in a tree structure should return true from this method, even if it does not currently contain any children.

Specified by:
mayHaveChildren in interface Element
Overrides:
mayHaveChildren in class Node
Returns:
true if this Element may contain child Elements.

getAttributes

public Attributes getAttributes()
Description copied from interface: Element
This method returns an Attributes object that encodes the attributes of the Element. Changing the attribute settings on the return object changes the element attributes. Subclasses should use their super class attributes object to define their own attributes. This allows subclasses to inherit their super class attributes. If a subclass does not wish to inherit attributes, they should first call getAttributes().clear() and define new attributes.
Specified by:
getAttributes in interface Element
Overrides:
getAttributes in class Node

isReadOnly

public boolean isReadOnly()
Description copied from class: Node
Returns true if the Node is read-only.
Overrides:
isReadOnly in class Node

newObjectStore

protected ObjectStore newObjectStore()
Overrides:
newObjectStore in class LibraryDataNode

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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