Class DatasetGroup
java.lang.Object
com.orchestranetworks.addon.dmdv.model.extension.DiagramNode
com.orchestranetworks.addon.dmdv.model.extension.DatasetGroup
Represents a group node at the dataset level (should be distinguished from
TableGroup
).- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionAdds a child field node inside the current group node.Add a child group of the current group.Adds a child table node inside the current group node.Returns an unmodifiable list of child nodes inside the current group node.Returns current node's parent group; returnsnull
if the current node is the root node.boolean
Returnstrue
if the current node is a group contained in a dataset node and not in a table node.Methods inherited from class com.orchestranetworks.addon.dmdv.model.extension.DiagramNode
getLabel, getName, isDatasetField, isTable, isTableField, isTableGroup, setLabel, setLabel
-
Method Details
-
isDatasetGroup
public boolean isDatasetGroup()Description copied from class:DiagramNode
Returnstrue
if the current node is a group contained in a dataset node and not in a table node.- Overrides:
isDatasetGroup
in classDiagramNode
-
getChildren
Returns an unmodifiable list of child nodes inside the current group node. -
addGroup
Add a child group of the current group.- Parameters:
name
- specific name for the child group node.- See Also:
-
getParent
Returns current node's parent group; returnsnull
if the current node is the root node.- Overrides:
getParent
in classDiagramNode
- See Also:
-
addTable
Adds a child table node inside the current group node.- Parameters:
name
- specific name for the child table node.- See Also:
-
addField
Adds a child field node inside the current group node.- Parameters:
name
- - specific name for the child field node.- See Also:
-