public final class DatasetGroup extends DiagramNode
TableGroup).| Modifier and Type | Method and Description |
|---|---|
DatasetField |
addField(String name)
Adds a child field node inside the current group node.
|
DatasetGroup |
addGroup(String name)
Add a child group of the current group.
|
Table |
addTable(String name)
Adds a child table node inside the current group node.
|
List<DiagramNode> |
getChildren()
Returns an unmodifiable list of child nodes inside the current group node.
|
DatasetGroup |
getParent()
Returns current node's parent group; returns
null if the current node is the root node. |
boolean |
isDatasetGroup()
Returns
true if the current node is a group contained in a dataset node and not in a table node. |
getLabel, getName, isDatasetField, isTable, isTableField, isTableGroup, setLabel, setLabelpublic boolean isDatasetGroup()
DiagramNodetrue if the current node is a group contained in a dataset node and not in a table node.isDatasetGroup in class DiagramNodepublic List<DiagramNode> getChildren()
public DatasetGroup addGroup(String name)
name - specific name for the child group node.DatasetGrouppublic DatasetGroup getParent()
null if the current node is the root node.getParent in class DiagramNodeDiagram.getRootNode()public Table addTable(String name)
name - specific name for the child table node.Tablepublic DatasetField addField(String name)
name - - specific name for the child field node.DatasetField