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
Specification for a DTO update query.
-
Field Summary
Fields inherited from class org.litebridge.orm.api.update.model.UpdateSpec
columnValuesFields inherited from class org.litebridge.orm.api.select.impl.AbstractConditionBasedSpec
conditions, selectExpressionMapper, table -
Constructor Summary
ConstructorsConstructorDescriptionDtoUpdateSpec(Class<?> dtoClass, OrmTable dtoTable, SelectExpressionMapper selectExpressionMapper) Creates a new DtoUpdateSpec. -
Method Summary
Methods inherited from class org.litebridge.orm.api.update.model.UpdateSpec
addColumnValue, toUpdateMethods inherited from class org.litebridge.orm.api.select.impl.AbstractConditionBasedSpec
currentConditionGroupSpec, popConditionGroupSpec, pushConditionGroupSpec, table
-
Constructor Details
-
DtoUpdateSpec
public DtoUpdateSpec(Class<?> dtoClass, OrmTable dtoTable, SelectExpressionMapper selectExpressionMapper) Creates a new DtoUpdateSpec.- Parameters:
dtoClass- the DTO classdtoTable- the DTO tableselectExpressionMapper- the select expression mapper
-
-
Method Details
-
dtoClass
Returns the DTO class.- Returns:
- the DTO class
-
dtoTable
Description copied from interface:DtoDataSpecReturns the ORM table metadata for the DTO.- Specified by:
dtoTablein interfaceDtoDataSpec- Returns:
- the ORM table metadata
-