Class DiagramNode
java.lang.Object
com.orchestranetworks.addon.dmdv.model.extension.DiagramNode
- Direct Known Subclasses:
DatasetGroup,Field,Table,TableGroup
Represents a diagram node.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncom.onwbp.base.text.UserMessagegetLabel()Returns the node label.getName()Returns the node name.Returns the parent node.booleanReturnstrueif the current node is a field contained in a dataset node and not in a table node.booleanReturnstrueif the current node is a group contained in a dataset node and not in a table node.booleanisTable()Returnstrueif the current node is a table node.booleanReturnstrueif the current node is a field contained in a table node.booleanReturnstrueif the current node is a group contained in a table node.voidsetLabel(com.onwbp.base.text.UserMessage label) Sets the node label.voidSets the node label.
-
Method Details
-
getName
Returns the node name. -
getLabel
public com.onwbp.base.text.UserMessage getLabel()Returns the node label. -
setLabel
public void setLabel(com.onwbp.base.text.UserMessage label) Sets the node label.- Parameters:
label- a user message for the node label- See Also:
-
UserMessage
-
setLabel
Sets the node label.- Parameters:
label- a string for the node label
-
getParent
Returns the parent node. -
isTable
public boolean isTable()Returnstrueif the current node is a table node. -
isDatasetGroup
public boolean isDatasetGroup()Returnstrueif the current node is a group contained in a dataset node and not in a table node. -
isTableField
public boolean isTableField()Returnstrueif the current node is a field contained in a table node. -
isTableGroup
public boolean isTableGroup()Returnstrueif the current node is a group contained in a table node. -
isDatasetField
public boolean isDatasetField()Returnstrueif the current node is a field contained in a dataset node and not in a table node.
-