public class DatabaseColumnElement extends DatabaseColumnProperties implements MetadataElement, Serializable
| Constructor and Description |
|---|
DatabaseColumnElement()
Default constructor
|
DatabaseColumnElement(DatabaseColumnElement template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
ElementHeader |
getElementHeader()
Return the element header associated with the properties.
|
DatabaseForeignKeyProperties |
getForeignKeyProperties()
When this column contains the primary key of another table (ie it is a foreign key) return the properties
associated with the relationship.
|
DatabasePrimaryKeyProperties |
getPrimaryKeyProperties()
When this column is a primary key, return the properties of the primary key value; otherwise null
|
String |
getReferencedColumnGUID()
Return the unique identifier of the column in another table that this column references through a foreign key relationship.
|
String |
getReferencedColumnQualifiedName()
Return the unique name of the column in another table that this column references through a foreign key relationship.
|
int |
hashCode()
Return hash code for this object
|
void |
setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.
|
void |
setForeignKeyProperties(DatabaseForeignKeyProperties foreignKeyProperties)
Set up the properties that indicate that this column is a foreign key.
|
void |
setPrimaryKeyProperties(DatabasePrimaryKeyProperties primaryKeyProperties)
Set up the properties that indicate this column is a primary key
|
void |
setReferencedColumnGUID(String referencedColumnGUID)
Set up the unique identifier of the column in another table that this column references through a foreign key relationship.
|
void |
setReferencedColumnQualifiedName(String referencedColumnQualifiedName)
Set up the unique name of the column in another table that this column references through a foreign key relationship.
|
String |
toString()
JSON-style toString
|
getFormula, getQueries, setFormula, setQueriesgetDataType, getDefaultValue, setDataType, setDefaultValuegetAliases, getAnchorGUID, getDefaultValueOverride, getElementPosition, getLength, getMaxCardinality, getMinCardinality, getMinimumLength, getNativeJavaClass, getSignificantDigits, getSortOrder, isAllowsDuplicateValues, isNullable, isOrderedValues, setAliases, setAllowsDuplicateValues, setAnchorGUID, setDefaultValueOverride, setElementPosition, setLength, setMaxCardinality, setMinCardinality, setMinimumLength, setNativeJavaClass, setNullable, setOrderedValues, setSignificantDigits, setSortOrdergetDescription, getDisplayName, isDeprecated, setDeprecated, setDescription, setDisplayNamegetAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorPropertiespublic DatabaseColumnElement()
public DatabaseColumnElement(DatabaseColumnElement template)
template - object to copypublic ElementHeader getElementHeader()
getElementHeader in interface MetadataElementpublic void setElementHeader(ElementHeader elementHeader)
setElementHeader in interface MetadataElementelementHeader - element header objectpublic DatabasePrimaryKeyProperties getPrimaryKeyProperties()
public void setPrimaryKeyProperties(DatabasePrimaryKeyProperties primaryKeyProperties)
primaryKeyProperties - primary key propertiespublic DatabaseForeignKeyProperties getForeignKeyProperties()
public void setForeignKeyProperties(DatabaseForeignKeyProperties foreignKeyProperties)
foreignKeyProperties - foreign key propertiespublic String getReferencedColumnGUID()
public void setReferencedColumnGUID(String referencedColumnGUID)
referencedColumnGUID - string unique identifierpublic String getReferencedColumnQualifiedName()
public void setReferencedColumnQualifiedName(String referencedColumnQualifiedName)
referencedColumnQualifiedName - string unique identifierpublic String toString()
toString in class DatabaseColumnPropertiespublic boolean equals(Object objectToCompare)
equals in class DatabaseColumnPropertiesobjectToCompare - test objectpublic int hashCode()
hashCode in class DatabaseColumnPropertiesCopyright © 2018–2020 ODPi. All rights reserved.