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

com.anwen.mongo.model.BuildUpdate Maven / Gradle / Ivy

There is a newer version: 2.1.5
Show newest version
package com.anwen.mongo.model;

import com.anwen.mongo.conditions.interfaces.condition.CompareCondition;
import com.mongodb.BasicDBObject;

/**
 * @author anwen
 */
public class BuildUpdate {

    private CompareCondition currentCompareCondition;

    private BasicDBObject updateBasicDBObject;

    public BuildUpdate(CompareCondition currentCompareCondition, BasicDBObject updateBasicDBObject) {
        this.currentCompareCondition = currentCompareCondition;
        this.updateBasicDBObject = updateBasicDBObject;
    }

    public CompareCondition getCurrentCompareCondition() {
        return currentCompareCondition;
    }

    public void setCurrentCompareCondition(CompareCondition currentCompareCondition) {
        this.currentCompareCondition = currentCompareCondition;
    }

    public BasicDBObject getUpdateBasicDBObject() {
        return updateBasicDBObject;
    }

    public void setUpdateBasicDBObject(BasicDBObject updateBasicDBObject) {
        this.updateBasicDBObject = updateBasicDBObject;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy