Oracle ADF Designtime API Reference v10.1.2


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

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

All Implemented Interfaces:
BasicTreeNode, java.lang.Cloneable, ContainerNode, DataControlAccessorNode, DataControlTreeNode, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode
Direct Known Subclasses:
BeanClassTreeNode, BeanModelAccessorTreeNode, BeanModelDataControlTreeNode

public abstract class BeanStructureTreeNode
extends DefaultDataControlAccessorNode
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
BeanStructureTreeNode(JUDTDataControl session, boolean showAttribute)
BeanStructureTreeNode(JUDTDataControl session, TreeNodesChooser chooser)

Method Summary
protected void addAttributeAccessors(java.lang.String sParentInstance)
protected void addAttributes(java.lang.String sParentInstance)
protected BeanMethodNode addBeanMethodNode(java.beans.MethodDescriptor method)
protected void addMethods(java.lang.String sParentInstance)
protected BeanMethodNode createMethodNode(java.lang.String sParentInstance, java.beans.MethodDescriptor method)
protected BeanMethodReturnNode createMethodReturnNode(BeanMethodNode methodNode, JUDTMethod accessormethod)
protected BeanMethodScalarReturnNode createScalarMethodReturnNode(BeanMethodNode methodNode)
BeanModelAccessorTreeNode getAccessorNode(java.lang.String sName)
AttributeInfo getAttributeInfo()
Only call this function if getNodeType() returns ATTRIBUTE_NODE
java.util.ArrayList getAttributeNames()
BeanModelAttributeTreeNode getAttributeNode(java.lang.String sName)
protected JUDTBean getDTBean()
java.util.ArrayList getMethods(java.lang.String sParentInstance)
RowsetInfo getRowsetInfo()
Only call this function if getNodeType() returns ACCESSOR_NODE or COLLECTION_NODE
protected void initializeMethodNode(java.lang.String sParentInstance, BeanMethodNode methodNode)
protected void intializeMethodReturnNode(BeanMethodReturnNode node)
protected void intializeScalarMethodReturnNode(BeanMethodScalarReturnNode node)
protected boolean isBeanAttribute(java.beans.MethodDescriptor method)
boolean isDataControlBean()
Returns true is this bean represents the root class of a data control
protected void setDTBean(JUDTBean bean)
void setIsDataControlBean(boolean bSet)
Marks this bean class as the root bean of a data control

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

Methods inherited from class oracle.adf.dt.controls.treemodel.DefaultDataControlTreeNode
actionRepresentsNode, addTransactionNodes, getActionsFolder, getActualBindingType, getAttributeBindings, getBindingNameSuffix, getDataControl, getDefaultBindingName, getInstanceName, getIteratorSourceNode, getIteratorSubType, getMethodReturnNode, getModelObjectName, getNodeIcon, getNodeText, getNodeType, getTooltipText, getTransactionNodes, getTreeNodesChooser, initializeActionBinding, isMethodReturnChildNode, isReadyForBinding, isRuntimeEditable, isRuntimeVisible, isScalarMethodReturnNode, isViewObjectMethod, loadChildNodes, requiresIterator, 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.ContainerNode
loadChildNodes

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

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

Methods inherited from interface oracle.adf.dt.controls.BasicTreeNode
getNodeIcon, getNodeText, getTooltipText, 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

BeanStructureTreeNode

public BeanStructureTreeNode(JUDTDataControl session,
                             boolean showAttribute)

BeanStructureTreeNode

public BeanStructureTreeNode(JUDTDataControl session,
                             TreeNodesChooser chooser)

Method Detail

getAttributeNode

public BeanModelAttributeTreeNode getAttributeNode(java.lang.String sName)

getAccessorNode

public BeanModelAccessorTreeNode getAccessorNode(java.lang.String sName)

setIsDataControlBean

public void setIsDataControlBean(boolean bSet)
Marks this bean class as the root bean of a data control

isDataControlBean

public boolean isDataControlBean()
Returns true is this bean represents the root class of a data control

setDTBean

protected void setDTBean(JUDTBean bean)

getDTBean

protected JUDTBean getDTBean()

getAttributeNames

public java.util.ArrayList getAttributeNames()

addAttributes

protected void addAttributes(java.lang.String sParentInstance)

addAttributeAccessors

protected void addAttributeAccessors(java.lang.String sParentInstance)

isBeanAttribute

protected boolean isBeanAttribute(java.beans.MethodDescriptor method)

addBeanMethodNode

protected BeanMethodNode addBeanMethodNode(java.beans.MethodDescriptor method)

addMethods

protected void addMethods(java.lang.String sParentInstance)

createMethodNode

protected BeanMethodNode createMethodNode(java.lang.String sParentInstance,
                                          java.beans.MethodDescriptor method)

initializeMethodNode

protected void initializeMethodNode(java.lang.String sParentInstance,
                                    BeanMethodNode methodNode)

createMethodReturnNode

protected BeanMethodReturnNode createMethodReturnNode(BeanMethodNode methodNode,
                                                      JUDTMethod accessormethod)

intializeMethodReturnNode

protected void intializeMethodReturnNode(BeanMethodReturnNode node)

createScalarMethodReturnNode

protected BeanMethodScalarReturnNode createScalarMethodReturnNode(BeanMethodNode methodNode)

intializeScalarMethodReturnNode

protected void intializeScalarMethodReturnNode(BeanMethodScalarReturnNode node)

getMethods

public java.util.ArrayList getMethods(java.lang.String sParentInstance)

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

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
Specified by:
getRowsetInfo in class DefaultDataControlAccessorNode

Oracle ADF Designtime API Reference v10.1.2


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