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

io.github.livr.FunctionKeeper Maven / Gradle / Ivy

Go to download

Language Independent Validation Rules (v2.0) Springframework annotation validator support

The newest version!
package io.github.livr;


import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.function.Function;


/**
 * Created by vladislavbaluk on 10/3/2017.
 */
public class FunctionKeeper {
    public FunctionKeeper(Map args, Function function) {
        this.args = args;
        this.function = function;
    }

    private Object value;
    private Map args;
    private Function function;
    private List fieldResultArr = new ArrayList<>();

    public Map getArgs() {
        return args;
    }

    public void setArgs(Map args) {
        this.args = args;
    }

    public Function getFunction() {
        return function;
    }

    public void setFunction(Function function) {
        this.function = function;
    }

    public List getFieldResultArr() {
        return fieldResultArr;
    }

    public void setFieldResultArr(List fieldResultArr) {
        this.fieldResultArr = fieldResultArr;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }
}