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
Represents a field node at table level (should be differentiated from
DatasetField
).- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the container table.Returns the direct parent group node; returnsnull
if the current node is a direct child of a table node.boolean
Returnstrue
if the current node is a primary key field.boolean
Returnstrue
if 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 Details
-
getParent
Returns the direct parent group node; returnsnull
if the current node is a direct child of a table node.- Overrides:
getParent
in classDiagramNode
-
getContainerTable
Returns the container table. -
isPrimaryKey
public boolean isPrimaryKey()Returnstrue
if the current node is a primary key field. -
isTableField
public boolean isTableField()Returnstrue
if the current node is a table field.- Overrides:
isTableField
in classDiagramNode
-