public final class TableField extends Field
DatasetField
).Modifier and Type | Method and Description |
---|---|
Table |
getContainerTable()
Returns the container table.
|
TableGroup |
getParent()
Returns the direct parent group node; returns
null if the current node is a direct child of a table node. |
boolean |
isPrimaryKey()
Returns
true if the current node is a primary key field. |
boolean |
isTableField()
Returns
true if the current node is a table field. |
getDataType, getMaxOccurrence, getMinOccurrence, getReferenceTable, isComputed, isForeignKey, isHidden, setCardinality, setComputed, setDataType, setHidden, setReferenceTable
getLabel, getName, isDatasetField, isDatasetGroup, isTable, isTableGroup, setLabel, setLabel
public TableGroup getParent()
null
if the current node is a direct child of a table node.getParent
in class DiagramNode
public Table getContainerTable()
public boolean isPrimaryKey()
true
if the current node is a primary key field.public boolean isTableField()
true
if the current node is a table field.isTableField
in class DiagramNode