Skip navigation links
oracle.ide.db.model
Interface DBObjectNode
- All Superinterfaces:
- DBObjectProviderNode, DBObjectTypeNode, Displayable, Element, Locatable
- All Known Subinterfaces:
- DBObjectPlSqlNode, OfflineDBObjectNode, SchemaObjectNode
- All Known Implementing Classes:
- BaseDBObjectNode, BaseDBObjectTextNode, oracle.jdevimpl.offlinedb.browser.BaseOfflineDBObjectNode, BasePlSqlTextNode, SchemaNode
-
public interface DBObjectNode
- extends DBObjectTypeNode
Interface for anything that can contain a DBObject. If a class implements this interface then support such as the explorers (structure pane) and any context menu support will function.
getObjectName
java.lang.String getObjectName()
- Returns the name of the object contained.
getDBObject
DBObject getDBObject()
- Returns the contained object. In general this should not be null, but as DBObjectNode implementations can exist outside of the context of a provider, then if the provider is null it is not safe to assume that this will return an object.
getProvider
DBObjectProvider getProvider()
- Gets the provider for this node.
init
void init(DBObject obj,
DBObjectProvider pro)
- Initialises a new node. This is used by the create object dialogs when a new object is created that shouldn't be immediately saved - e.g. PL/SQL or XML Schema. The node is initialised and then opened in an editor, the save of the editor will be the first commit of the object to the backend.
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.