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

E13403-05

oracle.ide.model
Class DataNode

java.lang.Object
  extended by oracle.ide.model.Node
      extended by oracle.ide.model.DataNode
All Implemented Interfaces:
Displayable, Element, LazyLoadable, Locatable, Subject, Dirtyable

public class DataNode
extends Node


Field Summary
 
Fields inherited from class oracle.ide.model.Node
LOG_READONLY
 
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
addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getChildren, getData, getIcon, getInputStream, getLongLabel, getShortLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, isDirty, isLoaded, isMigrating, isNew, isOpen, isReadLocked, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isWriteLocked, lockCount, markDirty, markDirtyImpl, mayHaveChildren, nodeLock, notifyObservers, open, readLock, readLockCount, 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, writeUnlock
 
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
Returns:
The URL identifying this Locatable.
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()

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.