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.
  • Field Summary

    Fields inherited from class org.litebridge.orm.api.update.model.UpdateSpec

    columnValues

    Fields inherited from class org.litebridge.orm.api.select.impl.AbstractConditionBasedSpec

    conditions, selectExpressionMapper, table
  • Constructor Summary

    Constructors
    Constructor
    Description
    DtoUpdateSpec(Class<?> dtoClass, OrmTable dtoTable, SelectExpressionMapper selectExpressionMapper)
    Creates a new DtoUpdateSpec.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the DTO class.
    Returns the ORM table metadata for the DTO.

    Methods inherited from class org.litebridge.orm.api.update.model.UpdateSpec

    addColumnValue, toUpdate

    Methods inherited from class org.litebridge.orm.api.select.impl.AbstractConditionBasedSpec

    currentConditionGroupSpec, popConditionGroupSpec, pushConditionGroupSpec, table

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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