Class TableItem

  • All Implemented Interfaces:
    IModuleObject

    public class TableItem
    extends Object
    implements IModuleObject
    Container to define column and additional attributes related to it.
    Sample:
    {
      "column": Column
    }
    • Constructor Detail

      • TableItem

        public TableItem()
    • 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.