unitform.java

来自「医药供应链管理系统」· Java 代码 · 共 80 行

JAVA
80
字号
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.captainli.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/** 
 * MyEclipse Struts
 * Creation date: 10-31-2008
 * 
 * XDoclet definition:
 * @struts.form name="unitForm"
 */
public class UnitForm extends ActionForm {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/*
	 * Generated fields
	 */
	/** u_name property */
	private String u_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 u_name.
	 * @return String
	 */
	public String getU_name() {
		return u_name;
	}

	/** 
	 * Set the u_name.
	 * @param u_name The u_name to set
	 */
	public void setU_name(String u_name) {
		this.u_name = u_name;
	}
	
	public UnitForm(String u_name) {
		super();
		this.u_name = u_name;
	}

	public UnitForm() {
		super();
		// TODO Auto-generated constructor stub
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?