Oracle Data-aware Controls Reference

oracle.dacf.control.swing
Class TreeNodeDef

java.lang.Object
  extended byoracle.dacf.control.swing.TreeNodeDef

public class TreeNodeDef
extends java.lang.Object

Encapsulates the information supplied via TreeControl.setNodeDefinitions(). The TreeNodeDef class is primarily an internal bookkeeping class. The public methods

will allow writers of TreeSelection listeners to track the DataItems that provide the information "behind" a node.

Version:
public

Method Summary
 java.lang.String getDisplayColName()
           
 java.lang.String[] getForeignKeyColNames()
          Returns the names of the columns that compose the foreign key for the DataItem.
 java.lang.String[] getPrimaryKeyColNames()
          Returns the names of the columns that compose the primary key for the DataItem.
 java.lang.String getRowsetName()
           
 boolean isSelfReferential()
          Indicates whether the node definition recurses back into itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isSelfReferential

public boolean isSelfReferential()
Indicates whether the node definition recurses back into itself. This will typically be true if the node definition is describing something like a self-join.

Returns:
True if this node definition recurses back into itself.

getRowsetName

public java.lang.String getRowsetName()
Returns:
the name of the InfoBus DataItem that enumerates the child nodes.

getDisplayColName

public java.lang.String getDisplayColName()
Returns:
the name of the InfoBus DataItem that supplies the label for the nodes.

getPrimaryKeyColNames

public java.lang.String[] getPrimaryKeyColNames()
Returns the names of the columns that compose the primary key for the DataItem.

Returns:
an array of column names

getForeignKeyColNames

public java.lang.String[] getForeignKeyColNames()
Returns the names of the columns that compose the foreign key for the DataItem.

Returns:
an array of column names

Oracle Data-aware Controls Reference

 

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