ADF Designtime

oracle.adf.dt.controls.treemodel.bc4j
Class BC4JViewObjectMethodTreeNode

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.JotMethodTreeNode
                  extended byoracle.adf.dt.controls.treemodel.bc4j.BC4JMethodTreeNode
                      extended byoracle.adf.dt.controls.treemodel.bc4j.BC4JViewObjectMethodTreeNode
All Implemented Interfaces:
BasicTreeNode, java.lang.Cloneable, ContainerNode, DataControlAccessorNode, DataControlTreeNode, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class BC4JViewObjectMethodTreeNode
extends BC4JMethodTreeNode

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
BC4JViewObjectMethodTreeNode(BC4JModelViewObjectTreeNode viewNode, JUDTDataControl dc, oracle.jdeveloper.jot.JotMethod method)
           
 
Method Summary
 boolean actionRepresentsNode(JUDTCtrlAction action)
          Allows the tree node to decide if the passed in action represents the action that the tree node requires.
 DataControlAccessorNode getIteratorSourceNode()
          If the requiresIterator() function returns true, the getIteratorSourceNode return the node that provides the iterator information for initialization purposes.
 boolean iteratorRepresentsNode(JUDTIteratorBinding iterator)
          Allows tree node to decide if the given iterator matches the node's iterator definition.
 
Methods inherited from class oracle.adf.dt.controls.treemodel.bc4j.BC4JMethodTreeNode
isViewObjectMethod, setIsViewObjectMethodNode
 
Methods inherited from class oracle.adf.dt.controls.treemodel.JotMethodTreeNode
getAttributeBindings, getAttributeInfo, getDefaultBindingName, getIteratorName, getMethod, getModelObjectName, getModelObjectType, getNodeText, getNodeType, getRowsetInfo, getTooltipText, initializeActionBinding, initializeIteratorBinding, loadChildNodes, requiresIterator, setMethod, setRequiresIterator
 
Methods inherited from class oracle.adf.dt.controls.treemodel.DefaultDataControlAccessorNode
addActionNodes, getActionNodes, getIteratorClass, getIteratorModelReference, getMasterNode, getModelPath, isOperationSupported, setIteratorClass, setMasterNode
 
Methods inherited from class oracle.adf.dt.controls.treemodel.DefaultDataControlTreeNode
addTransactionNodes, getActionsFolder, getActualBindingType, getBindingNameSuffix, getDataControl, getInstanceName, getIteratorSubType, getMethodReturnNode, getNodeIcon, getTransactionNodes, getTreeNodesChooser, isMethodReturnChildNode, isReadyForBinding, isRuntimeEditable, isRuntimeVisible, isScalarMethodReturnNode, setActionInstanceName, setInstanceName, setIteratorSourcenode, setNodeIcon, setShouldExpand, shouldExpandNode, toString
 
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
getActualBindingType, getBindingNameSuffix, getDataControl, getInstanceName, getMethodReturnNode, isMethodReturnChildNode, isReadyForBinding, isRuntimeEditable, isRuntimeVisible, isScalarMethodReturnNode, 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

BC4JViewObjectMethodTreeNode

public BC4JViewObjectMethodTreeNode(BC4JModelViewObjectTreeNode viewNode,
                                    JUDTDataControl dc,
                                    oracle.jdeveloper.jot.JotMethod method)
Method Detail

actionRepresentsNode

public boolean actionRepresentsNode(JUDTCtrlAction action)
Description copied from interface: DataControlTreeNode
Allows the tree node to decide if the passed in action represents the action that the tree node requires. Since the comparison is data control specific, the tree node needs to decide if the action that already exists in the binding container matches the node's requirements.

Specified by:
actionRepresentsNode in interface DataControlTreeNode
Overrides:
actionRepresentsNode in class DefaultDataControlTreeNode
Parameters:
action -
Returns:

iteratorRepresentsNode

public boolean iteratorRepresentsNode(JUDTIteratorBinding iterator)
Description copied from interface: DataControlAccessorNode
Allows tree node to decide if the given iterator matches the node's iterator definition. It a match is not found a new iterator will be created.

Specified by:
iteratorRepresentsNode in interface DataControlAccessorNode
Overrides:
iteratorRepresentsNode in class DefaultDataControlAccessorNode

getIteratorSourceNode

public DataControlAccessorNode getIteratorSourceNode()
Description copied from interface: DataControlTreeNode
If the requiresIterator() function returns true, the getIteratorSourceNode return the node that provides the iterator information for initialization purposes. The most common scenario is to return your own reference. This is necessary to point to the accessor node that is to initiallize its own iterator.

Specified by:
getIteratorSourceNode in interface DataControlTreeNode
Overrides:
getIteratorSourceNode in class DefaultDataControlTreeNode

ADF Designtime

 

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