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

com.github.rutledgepaulv.qbuilders.nodes.ComparisonNode Maven / Gradle / Ivy

/*
 *
 *  *  com.github.rutledgepaulv.qbuilders.nodes.ComparisonNode
 *  *  *
 *  *  * Copyright (C) 2016 Paul Rutledge 
 *  *  *
 *  *  * This software may be modified and distributed under the terms
 *  *  * of the MIT license.  See the LICENSE file for details.
 *  *
 *
 */

package com.github.rutledgepaulv.qbuilders.nodes;

import com.github.rutledgepaulv.qbuilders.operators.ComparisonOperator;
import com.github.rutledgepaulv.qbuilders.structures.FieldPath;

import java.util.Collection;

public final class ComparisonNode extends AbstractNode {

    private FieldPath path;
    private ComparisonOperator operator;
    private Collection values;

    public ComparisonNode(LogicalNode parent) {
        super(parent);
    }

    public FieldPath getField() {
        return path;
    }

    public void setField(FieldPath field) {
        this.path = field;
    }

    public ComparisonOperator getOperator() {
        return operator;
    }

    public void setOperator(ComparisonOperator operator) {
        this.operator = operator;
    }

    public Collection getValues() {
        return values;
    }

    public void setValues(Collection values) {
        this.values = values;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy