Interface ITableExaminer

All Superinterfaces:
IDatabaseObjectExaminer<ITable<Entity>>
All Known Implementing Classes:
TableExaminer

public interface ITableExaminer extends IDatabaseObjectExaminer<ITable<Entity>>
Author:
Silvan Wyss
  • Method Details

    • allNewAndEditedMandatoryFieldsAreSet

      boolean allNewAndEditedMandatoryFieldsAreSet(ITable<?> table)
      Parameters:
      table -
      Returns:
      true if all new and edited mandatory fields of the Entitys of the given table are set, false otherwise
    • canInsertEntity

      boolean canInsertEntity(ITable<?> table)
      Parameters:
      table -
      Returns:
      true if the given table can insert a Entity, false otherwise
    • canInsertGivenEntity

      boolean canInsertGivenEntity(ITable<?> table, Entity entity)
      Parameters:
      table -
      entity -
      Returns:
      true if the given table can insert the given entity, false otherwise
    • containsEntityWithGivenIdInLocalData

      boolean containsEntityWithGivenIdInLocalData(ITable<?> table, String id)
      Parameters:
      table -
      id -
      Returns:
      true if the given table contains a Entity with the given id in the local data, false otherwise
    • hasInsertedGivenEntityInLocalData

      boolean hasInsertedGivenEntityInLocalData(ITable<?> table, Entity entity)
      Parameters:
      table -
      entity -
      Returns:
      true if the the given table has inserted the given entity in the local data, false otherwise