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, setLabel
public boolean isDatasetGroup()
DiagramNode
true
if the current node is a group contained in a dataset node and not in a table node.isDatasetGroup
in class DiagramNode
public List<DiagramNode> getChildren()
public DatasetGroup addGroup(String name)
name
- specific name for the child group node.DatasetGroup
public DatasetGroup getParent()
null
if the current node is the root node.getParent
in class DiagramNode
Diagram.getRootNode()
public Table addTable(String name)
name
- specific name for the child table node.Table
public DatasetField addField(String name)
name
- - specific name for the child field node.DatasetField