oracle.dacf.control.swing
Class TreeNodeDef
java.lang.Object
|
+--oracle.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
- isSelfReferential()
- getRowsetName()
- getDisplayColName()
- getPrimaryKeyColNames()
- getForeignKeyColNames()
will allow writers of TreeSelection listeners to track the DataItems that
provide the information "behind" a node.
- Version:
- public
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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