ADF Designtime

oracle.adf.dt.controls.treemodel
Class JotMethodReturnNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byoracle.adf.dt.controls.treemodel.DefaultDataControlTreeNode
          extended byoracle.adf.dt.controls.treemodel.JotMethodReturnNode
All Implemented Interfaces:
BasicTreeNode, java.lang.Cloneable, ContainerNode, DataControlTreeNode, MethodReturnNode, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class JotMethodReturnNode
extends DefaultDataControlTreeNode
implements ContainerNode, MethodReturnNode

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
JotMethodReturnNode(JotMethodTreeNode methodNode)
           
 
Method Summary
 java.util.ArrayList getAttributeBindings()
           
 AttributeInfo getAttributeInfo()
          Only call this function if getNodeType() returns ATTRIBUTE_NODE
 java.lang.String getDefaultBindingName()
           
 java.lang.Class getIteratorClass()
           
 java.lang.String getIteratorName()
           
 DataControlAccessorNode getIteratorSourceNode()
          If the requiresIterator() function returns true, the getIteratorSourceNode return the node that provides the iterator information for initialization purposes.
 java.lang.String getIteratorSubType()
           
 DefaultDataControlTreeNode getMethodNode()
          Returns the method node.
 java.lang.String getModelObjectName()
           
 java.lang.String getModelObjectType()
           
 java.lang.String getNodeText()
           
 int getNodeType()
           
 RowsetInfo getRowsetInfo()
           
 java.lang.String getTooltipText()
           
 void initializeActionBinding(JUDTCtrlAction action)
          Allows the tree node to initialize the action that is bound to it.
 boolean isScalar()
          Returns True if this node represents a simple type.
 boolean isScalarMethodReturnNode()
          Returns true if we have a scalar method return node
 boolean isViewObjectMethod()
          Returns true if we have a View Object method node
 boolean iteratorRepresentsNode(JUDTIteratorBinding iterator)
           
 void loadChildNodes()
          Makes sure the child nodes are loaded.
 boolean requiresIterator()
           
 
Methods inherited from class oracle.adf.dt.controls.treemodel.DefaultDataControlTreeNode
actionRepresentsNode, addTransactionNodes, getActionsFolder, getActualBindingType, getBindingNameSuffix, getDataControl, getInstanceName, getMethodReturnNode, getNodeIcon, getTransactionNodes, getTreeNodesChooser, isMethodReturnChildNode, isOperationSupported, isReadyForBinding, isRuntimeEditable, isRuntimeVisible, 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.BasicTreeNode
getUserObject
 
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

JotMethodReturnNode

public JotMethodReturnNode(JotMethodTreeNode methodNode)
Method Detail

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

getModelObjectName

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

getModelObjectType

public java.lang.String getModelObjectType()
Specified by:
getModelObjectType in interface MethodReturnNode
Returns:
the Java class name of the mdethod return.

getNodeText

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

getNodeType

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

getRowsetInfo

public RowsetInfo getRowsetInfo()

getTooltipText

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

getAttributeInfo

public AttributeInfo getAttributeInfo()
Description copied from interface: DataControlTreeNode
Only call this function if getNodeType() returns ATTRIBUTE_NODE

Specified by:
getAttributeInfo in interface DataControlTreeNode
Specified by:
getAttributeInfo in class DefaultDataControlTreeNode

getAttributeBindings

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

isViewObjectMethod

public boolean isViewObjectMethod()
Description copied from interface: DataControlTreeNode
Returns true if we have a View Object method node

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

getMethodNode

public DefaultDataControlTreeNode getMethodNode()
Description copied from interface: MethodReturnNode
Returns the method node.

Specified by:
getMethodNode in interface MethodReturnNode
Returns:

isScalarMethodReturnNode

public boolean isScalarMethodReturnNode()
Description copied from interface: DataControlTreeNode
Returns true if we have a scalar method return node

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

isScalar

public boolean isScalar()
Description copied from interface: MethodReturnNode
Returns True if this node represents a simple type.

Specified by:
isScalar in interface MethodReturnNode
Returns:

getDefaultBindingName

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

requiresIterator

public boolean requiresIterator()
Specified by:
requiresIterator in interface DataControlTreeNode
Overrides:
requiresIterator in class DefaultDataControlTreeNode

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 DefaultDataControlTreeNode

getIteratorName

public java.lang.String getIteratorName()

getIteratorClass

public java.lang.Class getIteratorClass()

getIteratorSubType

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

iteratorRepresentsNode

public boolean iteratorRepresentsNode(JUDTIteratorBinding iterator)

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.