public class DiagramNode extends Object
Modifier and Type | Method and Description |
---|---|
com.onwbp.base.text.UserMessage |
getLabel()
Returns the node label.
|
String |
getName()
Returns the node name.
|
DiagramNode |
getParent()
Returns the parent node.
|
boolean |
isDatasetField()
Returns
true if the current node is a field contained in a dataset node and not in a table node. |
boolean |
isDatasetGroup()
Returns
true if the current node is a group contained in a dataset node and not in a table node. |
boolean |
isTable()
Returns
true if the current node is a table node. |
boolean |
isTableField()
Returns
true if the current node is a field contained in a table node. |
boolean |
isTableGroup()
Returns
true if the current node is a group contained in a table node. |
void |
setLabel(String label)
Sets the node label.
|
void |
setLabel(com.onwbp.base.text.UserMessage label)
Sets the node label.
|
public String getName()
public com.onwbp.base.text.UserMessage getLabel()
public void setLabel(com.onwbp.base.text.UserMessage label)
label
- a user message for the node labelUserMessage
public void setLabel(String label)
label
- a string for the node labelpublic DiagramNode getParent()
public boolean isTable()
true
if the current node is a table node.public boolean isDatasetGroup()
true
if the current node is a group contained in a dataset node and not in a table node.public boolean isTableField()
true
if the current node is a field contained in a table node.public boolean isTableGroup()
true
if the current node is a group contained in a table node.public boolean isDatasetField()
true
if the current node is a field contained in a dataset node and not in a table node.