Oracle ADF Designtime API Reference v10.1.2


oracle.adf.dt.controls
Interface DataControlAccessorNode

All Superinterfaces:
BasicTreeNode, DataControlTreeNode, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
All Known Implementing Classes:
BC4JObjectAttributeAccessorTreeNode, BeanModelAccessorTreeNode, DefaultDataControlAccessorNode, ToplinkModelQueryTreeNode

public interface DataControlAccessorNode
extends DataControlTreeNode

The DataControlAccessorNode is a node interface for accessor nodes. It provides access to the parent or master node of the accessor. If the getNodeType() returns DataControlTreeNode.ACCESSOR_NODE you can cast the node to this interface in order to access the accessor details.


Field Summary

 

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

 

Method Summary
 java.lang.Class getIteratorClass()
          Returns the iterator class name.
 java.lang.String getIteratorModelReference()
           
 java.lang.String getIteratorName()
           
 java.lang.String getIteratorSubType()
           
 DataControlAccessorNode getMasterNode()
           
 java.lang.String getModelPath()
          Returns the path of the accessor hierarchy.
 RowsetInfo getRowsetInfo()
          Only call this function if getNodeType() returns ACCESSOR_NODE or COLLECTION_NODE
 void initializeIteratorBinding(JUDTIteratorBinding iterator)
          Allows tree node to initalize the iterator binding created based on the node selection.
 boolean iteratorRepresentsNode(JUDTIteratorBinding iterator)
          Allows tree node to decide if the given iterator matches the node's iterator definition.
 void setIteratorClass(java.lang.Class iteratorClass)
          Initializes the iterator class name.

 

Methods inherited from interface oracle.adf.dt.controls.DataControlTreeNode
actionRepresentsNode, getActualBindingType, getAttributeBindings, getAttributeInfo, getBindingNameSuffix, getDataControl, getDefaultBindingName, getInstanceName, getIteratorSourceNode, getMethodReturnNode, getModelObjectName, getModelObjectType, getNodeType, initializeActionBinding, isMethodReturnChildNode, isOperationSupported, 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

 

Method Detail

getMasterNode

public DataControlAccessorNode getMasterNode()
Returns:
the master node that represents the accessor's source node. It may return null if this is an accessor of the root node.

getIteratorName

public java.lang.String getIteratorName()
Returns:
the name to be used for the iterator that provides the data for this field

getIteratorClass

public java.lang.Class getIteratorClass()
Returns the iterator class name.
Returns:

setIteratorClass

public void setIteratorClass(java.lang.Class iteratorClass)
Initializes the iterator class name.
Parameters:
iteratorClass -

getIteratorModelReference

public java.lang.String getIteratorModelReference()
Returns:
The model reference expresssion for use in the iterator for this node.

getRowsetInfo

public RowsetInfo getRowsetInfo()
Only call this function if getNodeType() returns ACCESSOR_NODE or COLLECTION_NODE
Returns:

getIteratorSubType

public java.lang.String getIteratorSubType()
Returns:
The iterator type name to use for this node. If getIteratorClass() returns a value, it takes precedence over getIteratorSubType(). The factory class will create the appropriate iterator class based on the sub type.

iteratorRepresentsNode

public boolean iteratorRepresentsNode(JUDTIteratorBinding iterator)
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.
Parameters:
iterator -
Returns:

initializeIteratorBinding

public void initializeIteratorBinding(JUDTIteratorBinding iterator)
Allows tree node to initalize the iterator binding created based on the node selection.
Parameters:
iterator -

getModelPath

public java.lang.String getModelPath()
Returns the path of the accessor hierarchy.
Returns:

Oracle ADF Designtime API Reference v10.1.2


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