Class Table
java.lang.Object
com.orchestranetworks.addon.dmdv.model.extension.DiagramNode
com.orchestranetworks.addon.dmdv.model.extension.Table
Represents a table node.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionAdds a child field node inside the current table node.Adds a child group node inside the current table node.addPrimaryKeyField
(String name) Adds a child field node as primary key inside the current table node.Returns an unmodifiable list of direct child nodes inside the current table node.Returns the direct parent group node of the current table node; returnsnull
if the current table node is external.Returns the tool tip of the current external table node.boolean
Returnstrue
if the current table node is an external table.boolean
isTable()
Returnstrue
if the current node is a table node.Methods inherited from class com.orchestranetworks.addon.dmdv.model.extension.DiagramNode
getLabel, getName, isDatasetField, isDatasetGroup, isTableField, isTableGroup, setLabel, setLabel
-
Method Details
-
getTooltip
Returns the tool tip of the current external table node.- See Also:
-
isExternalTable
public boolean isExternalTable()Returnstrue
if the current table node is an external table. -
getParent
Returns the direct parent group node of the current table node; returnsnull
if the current table node is external.- Overrides:
getParent
in classDiagramNode
-
getChildren
Returns an unmodifiable list of direct child nodes inside the current table node. -
isTable
public boolean isTable()Description copied from class:DiagramNode
Returnstrue
if the current node is a table node.- Overrides:
isTable
in classDiagramNode
-
addGroup
Adds a child group node inside the current table node.- Parameters:
name
- a specific name for the child group node.- Returns:
- a table group
- See Also:
-
addField
Adds a child field node inside the current table node.- Parameters:
name
- a specific the name f the child field node.- Returns:
- a table field
- See Also:
-
addPrimaryKeyField
Adds a child field node as primary key inside the current table node.- Parameters:
name
- a specific name for the child field node.- Returns:
- a table field
- See Also:
-