/* * $Header: $ * $Revision: $ * $Date: $ * * SimpleBusiness.java * * Aug 18, 2006 * */ package org.codehaus.mojo; /** * Simple business to test with * @author Todd Nine * */ public class SimpleBusiness { /** * Check the values of the bean * @param bean * @return */ public boolean checkValues(SimpleBean bean){ if(bean.getIntValue() < 0 || bean.getIntValue() > 10){ return false; } if(bean.getStringValue() == null || bean.getStringValue().length() == 0){ return false; } return true; } }