oracle.jdeveloper.cm.dt
Class DatabaseEditorNode
java.lang.Object
oracle.ide.model.DefaultDisplayable
oracle.ide.model.DefaultElement
oracle.ide.model.DefaultDocument
oracle.ide.model.DefaultNode
oracle.jdeveloper.cm.dt.DatabaseEditorNode
- All Implemented Interfaces:
- Category, Data, Dirtyable, Displayable, Document, Element, LazyLoadable, Locatable, Node, Subject
- public abstract class DatabaseEditorNode
- extends DefaultNode
Methods inherited from class oracle.ide.model.DefaultDocument |
attach, copyToImpl, createSubject, detach, ensureOpen, equalsImpl, getInputStream, getLongLabel, getShortLabel, getSubject, getTimestampDirectly, getToolTipText, getURL, isDirty, isNew, isOpen, isReadOnly, markDirty, notifyObservers, refreshTimestamp, save, setOpen, setTimestampDirectly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Data |
getData |
DatabaseEditorNode
protected DatabaseEditorNode()
isDatabaseEditorNodeURL
public static boolean isDatabaseEditorNodeURL(java.net.URL url)
isDatabaseEditorProtocol
public static boolean isDatabaseEditorProtocol(java.lang.String protocol)
registerProtocol
public static void registerProtocol(java.lang.String protocol,
java.lang.Class nodeClass)
getConnectionName
public static java.lang.String getConnectionName(java.net.URL url)
findOrCreateNode
public static final DatabaseEditorNode findOrCreateNode(java.net.URL url)
getConnectionName
public java.lang.String getConnectionName()
getDatabase
public Database getDatabase()
close
public void close()
throws java.io.IOException
- Description copied from interface:
Document
- Closes the
Document
and unloads any associated data.
When this method returns, the state of the Document
object should be equivalent to when the Document
object has just been instantiated but not yet opened.
- Specified by:
close
in interface Document
- Overrides:
close
in class DefaultDocument
- Throws:
java.io.IOException
- See Also:
Document.close()
open
public void open()
throws java.io.IOException
- Description copied from interface:
Document
- Opens the
Document
and loads any associated data
into the appropriate data structures. If the implementation
of this method completes successfully, the LazyLoadable.isOpen()
method should then return true
.
- Specified by:
open
in interface Document
- Overrides:
open
in class DefaultDocument
- Throws:
java.io.IOException
- See Also:
Document.open()
getTimestamp
public long getTimestamp()
- Description copied from interface:
Document
- Returns the timestamp associated with the
Document
,
which indicates the time at which the document was last modified.
The returned long
is expressed in milliseconds since
00:00:00 GMT Jan 1, 1970.
- Specified by:
getTimestamp
in interface Document
- Overrides:
getTimestamp
in class DefaultDocument
- See Also:
Document.getTimestamp()
Copyright ©1997, 2003, Oracle. All rights reserved.