ADF Designtime

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

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.bc4j.BC4JStructDomainAttributeAccessorNode
All Implemented Interfaces:
BasicTreeNode, java.lang.Cloneable, ContainerNode, DataControlAccessorNode, DataControlTreeNode, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class BC4JStructDomainAttributeAccessorNode
extends DefaultDataControlAccessorNode

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
BC4JStructDomainAttributeAccessorNode(JUDTDataControl dc, DataControlAccessorNode parent, oracle.jbo.dt.objects.JboDomainAttr attribute)
           
 
Method Summary
protected  void addActionNodes()
           
 java.util.ArrayList getActionNodes()
           
 java.util.ArrayList getAttributeBindings()
           
 AttributeInfo getAttributeInfo()
          Only call this function if getNodeType() returns ATTRIBUTE_NODE
 java.lang.String getIteratorModelReference()
           
 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()
           
 java.lang.String getModelObjectName()
           
 java.lang.String getModelObjectType()
           
 java.lang.String getModelPath()
          Returns the path of the accessor hierarchy.
 java.lang.String getNodeText()
           
 int getNodeType()
           
 RowsetInfo getRowsetInfo()
          Only call this function if getNodeType() returns ACCESSOR_NODE or COLLECTION_NODE
 java.lang.String getTooltipText()
           
 void initializeIteratorBinding(JUDTIteratorBinding iterator)
          Allows tree node to initalize the iterator binding created based on the node selection.
 boolean isRuntimeEditable()
          Returns true if the service objects supports editing
 boolean isRuntimeVisible()
          return true if this node has the visible hint on, it is possible to hide nodes such as attributes from being generated in the user interface.
 void loadChildNodes()
          Makes sure the child nodes are loaded.
 
Methods inherited from class oracle.adf.dt.controls.treemodel.DefaultDataControlAccessorNode
getIteratorClass, getMasterNode, isOperationSupported, iteratorRepresentsNode, setIteratorClass, setMasterNode
 
Methods inherited from class oracle.adf.dt.controls.treemodel.DefaultDataControlTreeNode
actionRepresentsNode, addTransactionNodes, getActionsFolder, getActualBindingType, getBindingNameSuffix, getDataControl, getDefaultBindingName, getInstanceName, getMethodReturnNode, getNodeIcon, getTransactionNodes, getTreeNodesChooser, initializeActionBinding, isMethodReturnChildNode, isReadyForBinding, isScalarMethodReturnNode, isViewObjectMethod, 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.DataControlTreeNode
actionRepresentsNode, getActualBindingType, getBindingNameSuffix, getDataControl, getDefaultBindingName, getInstanceName, getMethodReturnNode, initializeActionBinding, isMethodReturnChildNode, isReadyForBinding, isScalarMethodReturnNode, isViewObjectMethod, requiresIterator, 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

BC4JStructDomainAttributeAccessorNode

public BC4JStructDomainAttributeAccessorNode(JUDTDataControl dc,
                                             DataControlAccessorNode parent,
                                             oracle.jbo.dt.objects.JboDomainAttr attribute)
Method Detail

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 DefaultDataControlAccessorNode

isRuntimeVisible

public boolean isRuntimeVisible()
Description copied from interface: DataControlTreeNode
return true if this node has the visible hint on, it is possible to hide nodes such as attributes from being generated in the user interface. This is only a hint, it is not required that it be respected by the snippets or controls being generated.

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

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 DefaultDataControlTreeNode

getNodeType

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

getModelObjectType

public java.lang.String getModelObjectType()
Returns:
java type for model object

getModelObjectName

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

getNodeText

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

getTooltipText

public java.lang.String getTooltipText()
Specified by:
getTooltipText in interface BasicTreeNode
Specified by:
getTooltipText 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

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

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

getIteratorName

public java.lang.String getIteratorName()
Specified by:
getIteratorName in interface DataControlAccessorNode
Overrides:
getIteratorName in class DefaultDataControlAccessorNode

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

addActionNodes

protected void addActionNodes()
Overrides:
addActionNodes in class DefaultDataControlAccessorNode

getAttributeBindings

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

getIteratorSubType

public java.lang.String getIteratorSubType()
Specified by:
getIteratorSubType in interface DataControlAccessorNode
Overrides:
getIteratorSubType in class DefaultDataControlTreeNode

getIteratorModelReference

public java.lang.String getIteratorModelReference()
Specified by:
getIteratorModelReference in interface DataControlAccessorNode
Overrides:
getIteratorModelReference in class DefaultDataControlAccessorNode

initializeIteratorBinding

public void initializeIteratorBinding(JUDTIteratorBinding iterator)
Description copied from interface: DataControlAccessorNode
Allows tree node to initalize the iterator binding created based on the node selection.

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

getActionNodes

public java.util.ArrayList getActionNodes()
Overrides:
getActionNodes in class DefaultDataControlAccessorNode

ADF Designtime

 

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