Skip navigation links

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

E17493-04


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.


Method Summary
 DBObject getDBObject()
          Returns the contained object.
 java.lang.String getObjectName()
          Returns the name of the object contained.
 DBObjectProvider getProvider()
          Gets the provider for this node.
 void init(DBObject obj, DBObjectProvider pro)
          Initialises a new node.

 

Methods inherited from interface oracle.ide.db.model.DBObjectTypeNode
getObjectType, getProviderIdentifier, getSchemaName

 

Methods inherited from interface oracle.ide.db.model.DBObjectProviderNode
getProviderType

 

Methods inherited from interface oracle.ide.model.Locatable
getURL, setURL

 

Methods inherited from interface oracle.ide.model.Element
getAttributes, getChildren, getData, mayHaveChildren

 

Methods inherited from interface oracle.ide.model.Displayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString

 

Method Detail

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

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.