Interface ITableDtoMapper

All Known Implementing Classes:
TableDtoMapper

public interface ITableDtoMapper
Author:
Silvan Wyss
  • Method Details

    • mapSqlRecordsWithNameAndDataTypeToTableDto

      TableDto mapSqlRecordsWithNameAndDataTypeToTableDto(String tableName, IContainer<ISqlRecord> sqlRecordsWithNameAndDataType)
      Parameters:
      tableName -
      sqlRecordsWithNameAndDataType -
      Returns:
      a new TableDto from the given sqlRecordsWithNameAndDataType.
      Throws:
      RuntimeException - if the given sqlRecordsWithNameAndDataType is null.
      RuntimeException - if the given one of the given sqlRecordsWithNameAndDataType is null.
    • mapSqlRecordsWithTableNameAndNameAndDataTypeToTableDtos

      IContainer<TableDto> mapSqlRecordsWithTableNameAndNameAndDataTypeToTableDtos(IContainer<ISqlRecord> sqlRecordsWithTableNameAndNameAndDataType)
      Parameters:
      sqlRecordsWithTableNameAndNameAndDataType -
      Returns:
      new TableDtos from the given sqlRecordsWithTableNameAndNameAndDataType.
      Throws:
      RuntimeException - if the given sqlRecordsWithTableNameAndNameAndDataType is null.
      RuntimeException - if the given one of the given sqlRecordsWithTableNameAndNameAndDataType is null.