Class DtoUpdateSpec

java.lang.Object
org.litebridge.orm.api.select.impl.AbstractConditionBasedSpec
org.litebridge.orm.api.update.model.UpdateSpec
org.litebridge.orm.api.dto.update.DtoUpdateSpec
All Implemented Interfaces:
DtoDataSpec

public final class DtoUpdateSpec extends UpdateSpec implements DtoDataSpec
Specification for a DTO update query.
  • Constructor Details

    • DtoUpdateSpec

      public DtoUpdateSpec(Class<?> dtoClass, OrmTable dtoTable, SelectExpressionMapper selectExpressionMapper)
      Creates a new DtoUpdateSpec.
      Parameters:
      dtoClass - the DTO class
      dtoTable - the DTO table
      selectExpressionMapper - the select expression mapper
  • Method Details

    • dtoClass

      public Class<?> dtoClass()
      Returns the DTO class.
      Returns:
      the DTO class
    • dtoTable

      public OrmTable dtoTable()
      Description copied from interface: DtoDataSpec
      Returns the ORM table metadata for the DTO.
      Specified by:
      dtoTable in interface DtoDataSpec
      Returns:
      the ORM table metadata