* @since v1.a.0
*
*/
public class MVCConfigBeanCreator {
public static ActionConfigBean getActionBean() {
ActionConfigBean mvcBean = null;
mvcBean = new ActionConfigBean();
List<ResultConfigBean> rlist = new ArrayList<ResultConfigBean>();
ResultConfigBean result = new ResultConfigBean();
rlist.add(result);
mvcBean.setResult(rlist);
List<ValidatorConfigBean> vlist = new ArrayList<ValidatorConfigBean>();
ValidatorConfigBean validator = new ValidatorConfigBean();
List<FieldConfigBean> fieldList = new ArrayList<FieldConfigBean>();
FieldConfigBean field = new FieldConfigBean();
List<ParamConfigBean> paramList = new ArrayList<ParamConfigBean>();
ParamConfigBean param = new ParamConfigBean();
paramList.add(param);
field.setParam(paramList);
fieldList.add(field);
validator.setField(fieldList);
vlist.add(validator);
mvcBean.setValidator(vlist);
mvcBean.setParam(paramList);
return mvcBean;
}