Interface IColumnEditor<C extends IColumn>
- Type Parameters:
C- is the type ofIColumns aIColumnEditorcan edit.
- All Known Implementing Classes:
ColumnEditor
public interface IColumnEditor<C extends IColumn>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteColumn(C column) Lets the currentIColumnEditordelete the given column.voidsetContentModelToColumn(C column, FieldType fieldType, DataType dataType, IContainer<? extends ITable> referenceableTables, IContainer<? extends IColumn> backReferenceableColumns) Lets the currentIColumnEditorset the given contentModel to the given column.voidsetNameToColumn(C column, String name) Lets the currentIColumnEditorset the given name to the given column.
-
Method Details
-
deleteColumn
Lets the currentIColumnEditordelete the given column.- Parameters:
column-- Throws:
RuntimeException- if the currentIColumnEditorcannot delete the given column.
-
setContentModelToColumn
void setContentModelToColumn(C column, FieldType fieldType, DataType dataType, IContainer<? extends ITable> referenceableTables, IContainer<? extends IColumn> backReferenceableColumns) Lets the currentIColumnEditorset the given contentModel to the given column.- Parameters:
column-fieldType-dataType-referenceableTables-backReferenceableColumns-- Throws:
RuntimeException- if the currentIColumnEditorcannot set the given contentModel to the given column
-
setNameToColumn
Lets the currentIColumnEditorset the given name to the given column.- Parameters:
column-name-- Throws:
RuntimeException- if the currentIColumnEditorcannot set the given name to the given column.
-