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; returnsnullif the current table node is external.Returns the tool tip of the current external table node.booleanReturnstrueif the current table node is an external table.booleanisTable()Returnstrueif 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()Returnstrueif the current table node is an external table. -
getParent
Returns the direct parent group node of the current table node; returnsnullif the current table node is external.- Overrides:
getParentin classDiagramNode
-
getChildren
Returns an unmodifiable list of direct child nodes inside the current table node. -
isTable
public boolean isTable()Description copied from class:DiagramNodeReturnstrueif the current node is a table node.- Overrides:
isTablein 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:
-