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

com.qa.framework.bean.Before Maven / Gradle / Ivy

There is a newer version: 2.5
Show newest version
package com.qa.framework.bean;


import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/6/22.
 */
public class Before {
    private List functions;
    private List sqls;


    /**
     * Gets sqls.
     *
     * @return the sqls
     */
    public List getSqls() {
        return sqls;
    }

    /**
     * Sets sqls.
     *
     * @param sqls the sqls
     */
    public void setSqls(List sqls) {
        this.sqls = sqls;
    }

    /**
     * Add sql.
     *
     * @param sql the sql
     */
    public void addSql(Sql sql) {
        if (sqls == null) {
            sqls = new ArrayList();
        }
        sqls.add(sql);
    }

    /**
     * Gets functions.
     *
     * @return the functions
     */
    public List getFunctions() {
        return functions;
    }

    /**
     * Sets functions.
     *
     * @param functions the functions
     */
    public void setFunctions(List functions) {
        this.functions = functions;
    }

    /**
     * Add function.
     *
     * @param function the function
     */
    public void addFunction(Function function) {
        if (functions == null) {
            functions = new ArrayList();
        }
        functions.add(function);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy