|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.model.TreePathFinder
public class TreePathFinder
A TreePathFinder
stores the primary key columns recursively for all master detail dependencies.
Constructor Summary | |
---|---|
TreePathFinder(IChangeableDataRow pDataRow)
Constructs a new TreePathFinder. |
|
TreePathFinder(TreePathFinder pParentTreePathFinder,
IChangeableDataRow pDataRow)
Constructs a new TreePathFinder. |
Method Summary | |
---|---|
TreePathFinder |
getChild(IChangeableDataRow pDataRow)
Gets the child TreePathFinder to the given data row. |
IDataBook |
getDataBook()
Gets the current DataBook the current DataBook. |
int |
getIndexOfPrimaryKey()
Gets the index of the primary key in this node. |
TreePathFinder |
getParent()
Gets the parent TreePathFinder. |
TreePathFinder |
getParentWithDataBook(IDataBook pDataBook)
Gets the parent TreePathFinder which has the given IDataBook. |
Object[] |
getPrimaryKeyValues()
Gets the primary key. |
TreePathFinder |
getRoot()
Gets the root TreePathFinder. |
boolean |
selectTreePath()
Selects this tree path in all IDataBook's specified by this TreePathFinder. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TreePathFinder(IChangeableDataRow pDataRow) throws ModelException
pDataRow
- the IChangeableDataRow
ModelException
- if an exception occurs.public TreePathFinder(TreePathFinder pParentTreePathFinder, IChangeableDataRow pDataRow) throws ModelException
pParentTreePathFinder
- the parent TreePathFinder.pDataRow
- the IChangeableDataRow
ModelException
- if an exception occurs.Method Detail |
---|
public TreePathFinder getRoot()
public TreePathFinder getParentWithDataBook(IDataBook pDataBook)
pDataBook
- the databook to search
public TreePathFinder getParent()
public IDataBook getDataBook()
public Object[] getPrimaryKeyValues()
public TreePathFinder getChild(IChangeableDataRow pDataRow) throws ModelException
pDataRow
- the DataRow.
ModelException
- if an exception occurs.public boolean selectTreePath() throws ModelException
ModelException
- if an exception occurs.public int getIndexOfPrimaryKey() throws ModelException
ModelException
- if an exception occurs.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |