Class TableItem
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.model.module.TableItem
-
- All Implemented Interfaces:
IModuleObject
public class TableItem extends Object implements IModuleObject
-
-
Constructor Summary
Constructors Constructor Description TableItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumngetColumn()Get column definition.StringgetPkName()Get name of the primary key.intgetPosition()Get position of the item in the table.List<String>getReferencedColumns()Get list of GUIDs for referenced columns.voidsetColumn(Column column)Set column definition.voidsetPkName(String pkName)Set name of the primary key.voidsetPosition(int position)Set position of the item in the table.voidsetReferencedColumns(List<String> referencedColumns)Set list of referenced columns defined by GUID.
-
-
-
Method Detail
-
getReferencedColumns
public List<String> getReferencedColumns()
Get list of GUIDs for referenced columns.- Returns:
- GUIDs list.
-
setReferencedColumns
public void setReferencedColumns(List<String> referencedColumns)
Set list of referenced columns defined by GUID.- Parameters:
referencedColumns- list of referenced columns defined by GUID.
-
getPkName
public String getPkName()
Get name of the primary key.- Returns:
- name of the primary key.
-
setPkName
public void setPkName(String pkName)
Set name of the primary key.- Parameters:
pkName- name of the primary key.
-
getPosition
public int getPosition()
Get position of the item in the table.- Returns:
- position of the item in the table.
-
setPosition
public void setPosition(int position)
Set position of the item in the table.- Parameters:
position- of the item in the table.
-
getColumn
public Column getColumn()
Get column definition.- Returns:
- column definition.
-
setColumn
public void setColumn(Column column)
Set column definition.- Parameters:
column- definition.
-
-