Extension SDK 10.1.3.36.73

oracle.ide.model
Class DataNode

java.lang.Object
  extended byoracle.ide.model.Node
      extended byoracle.ide.model.DataNode
All Implemented Interfaces:
oracle.javatools.data.Dirtyable, Dirtyable, Displayable, Element, LazyLoadable, Locatable, Subject
Direct Known Subclasses:
DataContainer, ExternalLibrary, LegacyLibraryList

public class DataNode
extends Node


Constructor Summary
DataNode()
          Default constructor.
DataNode(java.net.URL url)
           
 
Method Summary
protected  java.lang.Object getObjectStoreTarget()
           
 java.net.URL getURL()
          We override the getURL accessor here to mark the URL property as transient.
protected  ObjectStore newObjectStore()
           
protected  void openImpl()
          This method uses ObjectStore to unmarshal the file into a JavaBean instance.
protected  void saveImpl()
          Document interface method.
 
Methods inherited from class oracle.ide.model.Node
_getReadWriteLockInternal, addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, close, closeImpl, createSubject, delete, deleteImpl, detach, ensureOpen, equalsImpl, getAttributes, getChildren, getData, getIcon, getInputStream, getLongLabel, getShortLabel, getSubject, getTimestamp, getToolTipText, isDirty, isNew, isOpen, isReadOnly, isTrackedInNodeCache, markDirty, mayHaveChildren, notifyObservers, open, postCloseImpl, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runWhileSynchronized, save, setOpen, setTimestampDirectly, setURL, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataNode

public DataNode()
Default constructor. Required for JavaBean status.


DataNode

public DataNode(java.net.URL url)
Method Detail

getURL

public java.net.URL getURL()
                    throws TransientMarker
We override the getURL accessor here to mark the URL property as transient.

Specified by:
getURL in interface Locatable
Overrides:
getURL in class Node
Throws:
TransientMarker

openImpl

protected void openImpl()
                 throws java.io.IOException
This method uses ObjectStore 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.

Overrides:
openImpl in class Node
Throws:
java.io.IOException - if an I/O error occurred while opening
See Also:
ObjectStore

saveImpl

protected void saveImpl()
                 throws java.io.IOException
Document interface method. This method uses Object2Dom to marshal the underlying JavaBean into an XML form.

Overrides:
saveImpl in class Node
Throws:
java.io.IOException - if an I/O error occurred while saving
See Also:
Object2Dom

newObjectStore

protected ObjectStore newObjectStore()

getObjectStoreTarget

protected java.lang.Object getObjectStoreTarget()

Extension SDK 10.1.3.36.73

 

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