Package com.basiscomponents.db.tree
Class Node
- java.lang.Object
-
- com.basiscomponents.db.tree.Node
-
public class Node extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(DataRow rec)
Node
addChild(String text)
List<Node>
getChildren()
ResultSet
getResultSet()
DataRow
getRowData()
String
getText()
boolean
hasChildren()
boolean
hasResultSet()
boolean
isLeaf()
boolean
isRoot()
void
removeParent()
void
setFieldValue(String string, Object value)
void
setParent(Node n)
void
setResultSet(ResultSet rs)
void
setText(String text)
-
-
-
Method Detail
-
getResultSet
public ResultSet getResultSet()
-
setParent
public void setParent(Node n)
-
getText
public String getText()
-
setText
public void setText(String text)
-
isRoot
public boolean isRoot()
-
isLeaf
public boolean isLeaf()
-
removeParent
public void removeParent()
-
setResultSet
public void setResultSet(ResultSet rs)
-
add
public void add(DataRow rec)
-
hasChildren
public boolean hasChildren()
-
getRowData
public DataRow getRowData()
-
setFieldValue
public void setFieldValue(String string, Object value) throws Exception
- Throws:
Exception
-
hasResultSet
public boolean hasResultSet()
-
-