Class TableField
- java.lang.Object
-
- com.orchestranetworks.addon.dmdv.model.extension.DiagramNode
-
- com.orchestranetworks.addon.dmdv.model.extension.Field
-
- com.orchestranetworks.addon.dmdv.model.extension.TableField
-
public final class TableField extends Field
Represents a field node at table level (should be differentiated fromDatasetField).- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TablegetContainerTable()Returns the container table.TableGroupgetParent()Returns the direct parent group node; returnsnullif the current node is a direct child of a table node.booleanisPrimaryKey()Returnstrueif the current node is a primary key field.booleanisTableField()Returnstrueif the current node is a table field.-
Methods inherited from class com.orchestranetworks.addon.dmdv.model.extension.Field
getDataType, getMaxOccurrence, getMinOccurrence, getReferenceTable, isComputed, isForeignKey, isHidden, setCardinality, setComputed, setDataType, setHidden, setReferenceTable
-
Methods inherited from class com.orchestranetworks.addon.dmdv.model.extension.DiagramNode
getLabel, getName, isDatasetField, isDatasetGroup, isTable, isTableGroup, setLabel, setLabel
-
-
-
-
Method Detail
-
getParent
public TableGroup getParent()
Returns the direct parent group node; returnsnullif the current node is a direct child of a table node.- Overrides:
getParentin classDiagramNode
-
getContainerTable
public Table getContainerTable()
Returns the container table.
-
isPrimaryKey
public boolean isPrimaryKey()
Returnstrueif the current node is a primary key field.
-
isTableField
public boolean isTableField()
Returnstrueif the current node is a table field.- Overrides:
isTableFieldin classDiagramNode
-
-