public class Table extends BaseObjectType
PropertyTypeTableItem
],ForeignKey
],PrimaryKey
]| Constructor and Description |
|---|
Table() |
| Modifier and Type | Method and Description |
|---|---|
List<ForeignKey> |
getForeignKey()
Get list of foreign keys defined in the table.
|
String |
getName()
Get name of the table.
|
List<PrimaryKey> |
getPrimaryKey()
Get definition of the primary key.
|
List<TableItem> |
getTableItem()
Get list of table items.
|
void |
setForeignKey(List<ForeignKey> foreignKey)
Set list of foreign keys for the table.
|
void |
setName(String name)
Set table name.
|
void |
setPrimaryKey(List<PrimaryKey> primaryKey)
Set primary key for the table.
|
void |
setTableItem(List<TableItem> tableItem)
Set list of table items.
|
addProperty, getProperty, getPropertyByName, setPropertypublic String getName()
public void setName(String name)
name - of the tablepublic List<TableItem> getTableItem()
public void setTableItem(List<TableItem> tableItem)
tableItem - list of table items.public List<ForeignKey> getForeignKey()
public void setForeignKey(List<ForeignKey> foreignKey)
foreignKey - list of foreign keys.public List<PrimaryKey> getPrimaryKey()
public void setPrimaryKey(List<PrimaryKey> primaryKey)
primaryKey - definition.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.