Oracle ADF Designtime API Reference v10.1.2


oracle.adf.dt.controls.treemodel.bean.toplink
Class ToplinkBeanMethodReturnNode

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.BeanClassTreeNode
                      extended byoracle.adf.dt.controls.treemodel.bean.BeanMethodReturnNode
                          extended byoracle.adf.dt.controls.treemodel.bean.toplink.ToplinkBeanMethodReturnNode

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

public class ToplinkBeanMethodReturnNode
extends BeanMethodReturnNode
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
ToplinkBeanMethodReturnNode(JUDTDataControl session, JUDTMethod accessormethod, ToplinkModelQueryTreeNode methodNode, TreeNodesChooser chooser)

Method Summary
java.lang.String getModelPath()
Returns the path of the accessor hierarchy.
java.lang.String getNodeText()
java.lang.String getTooltipText()
void initializeActionBinding(JUDTCtrlAction action)
Allows the tree node to initialize the action that is bound to it.
boolean isOperationSupported(int nOperation)
Checks with the node if the operation is supported.
boolean isRuntimeEditable()
Returns true if the service objects supports editing
void setNodeText(java.lang.String nodeText)
void setToolTipText(java.lang.String toolTipText)

Methods inherited from class oracle.adf.dt.controls.treemodel.bean.BeanMethodReturnNode
getAttributeNames, getDefaultBindingName, getMethodNode, getModelObjectName, getModelObjectType, getNodeType, initializeIteratorBinding, isCollectionType, isReadyForBinding, isScalar, isScalarMethodReturnNode, requiresIterator

Methods inherited from class oracle.adf.dt.controls.treemodel.bean.BeanClassTreeNode
getAttributeBindings, loadChildNodes, toString

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

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

Methods inherited from class oracle.adf.dt.controls.treemodel.DefaultDataControlTreeNode
actionRepresentsNode, addTransactionNodes, getActionsFolder, getActualBindingType, getBindingNameSuffix, getDataControl, getInstanceName, getIteratorSourceNode, getIteratorSubType, getMethodReturnNode, getNodeIcon, getTransactionNodes, getTreeNodesChooser, isMethodReturnChildNode, isRuntimeVisible, isViewObjectMethod, 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, getInstanceName, getIteratorSourceNode, getMethodReturnNode, isMethodReturnChildNode, isRuntimeVisible, isViewObjectMethod, 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

ToplinkBeanMethodReturnNode

public ToplinkBeanMethodReturnNode(JUDTDataControl session,
                                   JUDTMethod accessormethod,
                                   ToplinkModelQueryTreeNode methodNode,
                                   TreeNodesChooser chooser)

Method Detail

getNodeText

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

setNodeText

public void setNodeText(java.lang.String nodeText)

getTooltipText

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

setToolTipText

public void setToolTipText(java.lang.String toolTipText)

getModelPath

public java.lang.String getModelPath()
Description copied from interface: DataControlAccessorNode
Returns the path of the accessor hierarchy.
Specified by:
getModelPath in interface DataControlAccessorNode
Overrides:
getModelPath in class BeanMethodReturnNode

isRuntimeEditable

public boolean isRuntimeEditable()
Description copied from interface: DataControlTreeNode
Returns true if the service objects supports editing
Specified by:
isRuntimeEditable in interface DataControlTreeNode
Overrides:
isRuntimeEditable in class BeanMethodReturnNode

initializeActionBinding

public void initializeActionBinding(JUDTCtrlAction action)
Description copied from interface: DataControlTreeNode
Allows the tree node to initialize the action that is bound to it. The default implementation provides initialization for the known method types.
Specified by:
initializeActionBinding in interface DataControlTreeNode
Overrides:
initializeActionBinding in class BeanMethodReturnNode

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

Oracle ADF Designtime API Reference v10.1.2


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