com.qa.framework.bean.After Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smart-api-framework Show documentation
Show all versions of smart-api-framework Show documentation
Support web service api automaton test based on testng and httpclient
package com.qa.framework.bean;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Administrator on 2016/6/22.
*/
public class After {
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);
}
}