Class ColumnMutationExaminer

java.lang.Object
ch.nolix.system.objectschema.modelmutationexaminer.ColumnMutationExaminer
All Implemented Interfaces:
IColumnMutationExaminer

public final class ColumnMutationExaminer extends Object implements IColumnMutationExaminer
Author:
Silvan Wyss
  • Constructor Details

    • ColumnMutationExaminer

      public ColumnMutationExaminer()
  • Method Details

    • canBeDeleted

      public boolean canBeDeleted(IColumn column)
      Specified by:
      canBeDeleted in interface IColumnMutationExaminer
      Parameters:
      column -
      Returns:
      true if the given column can be deleted, false otherwise.
    • canSetContentModel

      public boolean canSetContentModel(IColumn column, FieldType fieldType, DataType dataType, IContainer<? extends ITable> referenceableTables, IContainer<? extends IColumn> backReferenceableColumns)
      Specified by:
      canSetContentModel in interface IColumnMutationExaminer
      Parameters:
      column -
      fieldType -
      dataType -
      referenceableTables -
      backReferenceableColumns -
      Returns:
      true if the given contentModel can be set to the given column, false otherwise.
    • canSetName

      public boolean canSetName(IColumn column, String name)
      Specified by:
      canSetName in interface IColumnMutationExaminer
      Parameters:
      column -
      name -
      Returns:
      true if the given name can be set to the given column, false otherwise.