www.pudn.com > MyPageTest.rar > LoginForm.java


/* 
 * Generated by MyEclipse Struts 
 * Template path: templates/java/JavaClass.vtl 
 */ 
package strut.form; 
 
import javax.servlet.http.HttpServletRequest; 
import org.apache.struts.action.ActionErrors; 
import org.apache.struts.action.ActionMapping; 
import org.apache.struts.validator.ValidatorForm; 
 
/**  
 * MyEclipse Struts 
 * Creation date: 04-05-2008 
 *  
 * XDoclet definition: 
 * @struts.form name="loginForm" 
 */ 
public class LoginForm extends ValidatorForm { 
	/* 
	 * Generated fields 
	 */ 
 
	/** id property */ 
	private Integer id; 
 
	/** name property */ 
	private String name; 
 
	/* 
	 * Generated Methods 
	 */ 
 
	/**  
	 * Method validate 
	 * @param mapping 
	 * @param request 
	 * @return ActionErrors 
	 */ 
	public ActionErrors validate(ActionMapping mapping, 
			HttpServletRequest request) { 
		// TODO Auto-generated method stub 
		return null; 
	} 
 
	/**  
	 * Method reset 
	 * @param mapping 
	 * @param request 
	 */ 
	public void reset(ActionMapping mapping, HttpServletRequest request) { 
		// TODO Auto-generated method stub 
	} 
 
	/**  
	 * Returns the id. 
	 * @return Integer 
	 */ 
	public Integer getId() { 
		return id; 
	} 
 
	/**  
	 * Set the id. 
	 * @param id The id to set 
	 */ 
	public void setId(Integer id) { 
		this.id = id; 
	} 
 
	/**  
	 * Returns the name. 
	 * @return String 
	 */ 
	public String getName() { 
		return name; 
	} 
 
	/**  
	 * Set the name. 
	 * @param name The name to set 
	 */ 
	public void setName(String name) { 
		this.name = name; 
	} 
}