public class DatabaseColumnElement extends Object 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.
|
DatabaseColumnProperties |
getDatabaseColumnProperties()
Return the principle properties for the database column.
|
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 |
setDatabaseColumnProperties(DatabaseColumnProperties databaseColumnProperties)
Set up the principle properties for the database column.
|
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
|
public 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 DatabaseColumnProperties getDatabaseColumnProperties()
public void setDatabaseColumnProperties(DatabaseColumnProperties databaseColumnProperties)
databaseColumnProperties - properties beanpublic 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()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.