All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.neogroup.warp.data.query.DeleteQuery Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version

package org.neogroup.warp.data.query;

import org.neogroup.warp.data.query.conditions.ConditionGroup;
import org.neogroup.warp.data.query.traits.HasTable;
import org.neogroup.warp.data.query.traits.HasWhereConditions;

public class DeleteQuery extends Query implements
        HasTable,
        HasWhereConditions {

    private String tableName;
    private ConditionGroup whereConditionGroup;

    public DeleteQuery() {
        this.tableName = null;
        this.whereConditionGroup = new ConditionGroup();
    }

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public DeleteQuery setTableName(String tableName) {
        this.tableName = tableName;
        return this;
    }

    @Override
    public ConditionGroup getWhereConditions() {
        return whereConditionGroup;
    }

    @Override
    public DeleteQuery setWhereConditions(ConditionGroup conditionGroup) {
        this.whereConditionGroup = conditionGroup;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy