Class UpdateSpec

java.lang.Object
org.litebridgedb.orm.api.update.model.UpdateSpec
Direct Known Subclasses:
DtoUpdateSpec

public class UpdateSpec extends Object
Base specification for constructing a SQL DELETE statement.
  • Field Details

    • table

      protected @Nullable Table table
    • columnValues

      protected final List<ColumnValue> columnValues
    • whereConditions

      protected @Nullable List<org.litebridgedb.orm.api.select.model.ConditionSpec> whereConditions
  • Constructor Details

    • UpdateSpec

      public UpdateSpec()
  • Method Details

    • getTable

      public Table getTable()
    • setTable

      public void setTable(Table table)
    • getWhereConditions

      public @Nullable List<org.litebridgedb.orm.api.select.model.ConditionSpec> getWhereConditions()
    • setWhereConditions

      public void setWhereConditions(@Nullable List<org.litebridgedb.orm.api.select.model.ConditionSpec> whereConditions)
    • newWhereCondition

      public org.litebridgedb.orm.api.select.model.ConditionSpec newWhereCondition(Column column)
    • addColumnValue

      public void addColumnValue(ColumnValue columnValue)
    • toUpdate

      public Update toUpdate()