Oracle ADF Designtime API Reference v10.1.2


oracle.adf.dt.controls.treemodel.bean
Class BeanModelDataControlTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byoracle.adf.dt.controls.treemodel.DefaultDataControlTreeNode
          extended byoracle.adf.dt.controls.treemodel.DefaultDataControlAccessorNode
              extended byoracle.adf.dt.controls.treemodel.bean.BeanStructureTreeNode
                  extended byoracle.adf.dt.controls.treemodel.bean.BeanModelDataControlTreeNode

All Implemented Interfaces:
BasicTreeNode, java.lang.Cloneable, ContainerNode, DataControlAccessorNode, DataControlTreeNode, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class BeanModelDataControlTreeNode
extends BeanStructureTreeNode
implements ContainerNode
See Also:
Serialized Form

Field Summary

Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject

Fields inherited from interface oracle.adf.dt.controls.DataControlTreeNode
ACCESSOR_NODE, ACTION_NODE, APPLICATION_MODULE, ATTRIBUTE_NODE, COLLECTION_NODE, DATA_CONTROL_NODE, JAVA_BEAN, METHOD_NODE

Constructor Summary
BeanModelDataControlTreeNode(JUDTDataControl session)
BeanModelDataControlTreeNode(JUDTDataControl session, boolean showAttribute)
BeanModelDataControlTreeNode(JUDTDataControl session, TreeNodesChooser chooser)

Method Summary
java.util.ArrayList getAttributeBindings()
JUDTBean getDTBean()
java.lang.String getModelObjectName()
java.lang.String getModelObjectType()
java.lang.String getNodeText()
int getNodeType()
RowsetInfo getRowsetInfo()
Only call this function if getNodeType() returns ACCESSOR_NODE or COLLECTION_NODE
java.lang.String getTooltipText()
protected boolean isCollectionType()
boolean isOperationSupported(int nOperation)
Checks with the node if the operation is supported.
void loadChildNodes()
Makes sure the child nodes are loaded.
java.lang.String toString()

Methods inherited from class oracle.adf.dt.controls.treemodel.bean.BeanStructureTreeNode
addAttributeAccessors, addAttributes, addBeanMethodNode, addMethods, createMethodNode, createMethodReturnNode, createScalarMethodReturnNode, getAccessorNode, getAttributeInfo, getAttributeNames, getAttributeNode, getMethods, initializeMethodNode, intializeMethodReturnNode, intializeScalarMethodReturnNode, isBeanAttribute, isDataControlBean, setDTBean, setIsDataControlBean

Methods inherited from class oracle.adf.dt.controls.treemodel.DefaultDataControlAccessorNode
addActionNodes, getActionNodes, getCreateActionNode, getIteratorClass, getIteratorModelReference, getIteratorName, getMasterNode, getModelPath, initializeIteratorBinding, iteratorRepresentsNode, setIteratorClass, setMasterNode

Methods inherited from class oracle.adf.dt.controls.treemodel.DefaultDataControlTreeNode
actionRepresentsNode, addTransactionNodes, getActionsFolder, getActualBindingType, getBindingNameSuffix, getDataControl, getDefaultBindingName, getInstanceName, getIteratorSourceNode, getIteratorSubType, getMethodReturnNode, getNodeIcon, getTransactionNodes, getTreeNodesChooser, initializeActionBinding, isMethodReturnChildNode, isReadyForBinding, isRuntimeEditable, isRuntimeVisible, isScalarMethodReturnNode, isViewObjectMethod, requiresIterator, setActionInstanceName, setInstanceName, setIteratorSourcenode, setNodeIcon, setShouldExpand, shouldExpandNode

Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Methods inherited from interface oracle.adf.dt.controls.DataControlAccessorNode
getIteratorSubType

Methods inherited from interface oracle.adf.dt.controls.DataControlTreeNode
actionRepresentsNode, getActualBindingType, getBindingNameSuffix, getDataControl, getDefaultBindingName, getInstanceName, getIteratorSourceNode, getMethodReturnNode, initializeActionBinding, isMethodReturnChildNode, isReadyForBinding, isRuntimeEditable, isRuntimeVisible, isScalarMethodReturnNode, isViewObjectMethod, requiresIterator, setInstanceName

Methods inherited from interface oracle.adf.dt.controls.BasicTreeNode
getNodeIcon, getUserObject, setShouldExpand, shouldExpandNode

Methods inherited from interface javax.swing.tree.MutableTreeNode
insert, remove, remove, removeFromParent, setParent, setUserObject

Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf

Constructor Detail

BeanModelDataControlTreeNode

public BeanModelDataControlTreeNode(JUDTDataControl session)

BeanModelDataControlTreeNode

public BeanModelDataControlTreeNode(JUDTDataControl session,
                                    TreeNodesChooser chooser)

BeanModelDataControlTreeNode

public BeanModelDataControlTreeNode(JUDTDataControl session,
                                    boolean showAttribute)

Method Detail

isOperationSupported

public boolean isOperationSupported(int nOperation)
Description copied from interface: DataControlTreeNode
Checks with the node if the operation is supported. If false is returned, the action node will not be added. Most node types are not concerned with this function. Only data control and accessor nodes would be expected to override this function.
Specified by:
isOperationSupported in interface DataControlTreeNode
Overrides:
isOperationSupported in class DefaultDataControlAccessorNode

getModelObjectName

public java.lang.String getModelObjectName()
Specified by:
getModelObjectName in interface DataControlTreeNode
Specified by:
getModelObjectName in class DefaultDataControlTreeNode

getNodeType

public int getNodeType()
Specified by:
getNodeType in interface DataControlTreeNode
Specified by:
getNodeType in class DefaultDataControlTreeNode

getDTBean

public JUDTBean getDTBean()
Overrides:
getDTBean in class BeanStructureTreeNode

getTooltipText

public java.lang.String getTooltipText()
Specified by:
getTooltipText in interface BasicTreeNode
Specified by:
getTooltipText in class DefaultDataControlTreeNode

getNodeText

public java.lang.String getNodeText()
Specified by:
getNodeText in interface BasicTreeNode
Specified by:
getNodeText in class DefaultDataControlTreeNode

getRowsetInfo

public RowsetInfo getRowsetInfo()
Description copied from interface: DataControlAccessorNode
Only call this function if getNodeType() returns ACCESSOR_NODE or COLLECTION_NODE
Specified by:
getRowsetInfo in interface DataControlAccessorNode
Overrides:
getRowsetInfo in class BeanStructureTreeNode

getAttributeBindings

public java.util.ArrayList getAttributeBindings()
Specified by:
getAttributeBindings in interface DataControlTreeNode
Specified by:
getAttributeBindings in class DefaultDataControlTreeNode

getModelObjectType

public java.lang.String getModelObjectType()
Specified by:
getModelObjectType in interface DataControlTreeNode
Returns:
java type for model object

toString

public java.lang.String toString()
Overrides:
toString in class DefaultDataControlTreeNode

isCollectionType

protected boolean isCollectionType()

loadChildNodes

public void loadChildNodes()
Description copied from interface: ContainerNode
Makes sure the child nodes are loaded. If Any.
Specified by:
loadChildNodes in interface ContainerNode
Overrides:
loadChildNodes in class DefaultDataControlTreeNode

Oracle ADF Designtime API Reference v10.1.2


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