Interface IColumnEditor<C extends IColumn>

Type Parameters:
C - is the type of IColumns a IColumnEditor can edit.
All Known Implementing Classes:
ColumnEditor

public interface IColumnEditor<C extends IColumn>
Author:
Silvan Wyss
  • Method Details

    • deleteColumn

      void deleteColumn(C column)
      Lets the current IColumnEditor delete the given column.
      Parameters:
      column -
      Throws:
      RuntimeException - if the current IColumnEditor cannot delete the given column.
    • setContentModelToColumn

      void setContentModelToColumn(C column, FieldType fieldType, DataType dataType, IContainer<? extends ITable> referenceableTables, IContainer<? extends IColumn> backReferenceableColumns)
      Lets the current IColumnEditor set the given contentModel to the given column.
      Parameters:
      column -
      fieldType -
      dataType -
      referenceableTables -
      backReferenceableColumns -
      Throws:
      RuntimeException - if the current IColumnEditor cannot set the given contentModel to the given column
    • setNameToColumn

      void setNameToColumn(C column, String name)
      Lets the current IColumnEditor set the given name to the given column.
      Parameters:
      column -
      name -
      Throws:
      RuntimeException - if the current IColumnEditor cannot set the given name to the given column.