⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 companysearchform.java

📁 j2ee源码
💻 JAVA
字号:
package com.leeman.wkexs.master.company.web;

import java.util.ArrayList;

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

import com.leeman.wkexs.web.base.BaseSearchForm;

public class CompanySearchForm extends BaseSearchForm {

	private String company_name = null;
	private String company_id = null;
	private String telephone = null;
	private String company_address = null;
	private String email = null;
	private String fax = null;
	private String base_currency = null;
	private String active = null;
	private String postal_cd = null;
	
	private ArrayList activeList = null;
	private ArrayList currencyList = null;

	/**
	 * Get company_name
	 * @return String
	 */
	public String getCompany_name() {
		return company_name;
	}

	/**
	 * Set company_name
	 * @param <code>String</code>
	 */
	public void setCompany_name(String c) {
		this.company_name = c;
	}

	/**
	 * Get company_id
	 * @return String
	 */
	public String getCompany_id() {
		return company_id;
	}

	/**
	 * Set company_id
	 * @param <code>String</code>
	 */
	public void setCompany_id(String c) {
		this.company_id = c;
	}

	/**
	 * Get telephone
	 * @return String
	 */
	public String getTelephone() {
		return telephone;
	}

	/**
	 * Set telephone
	 * @param <code>String</code>
	 */
	public void setTelephone(String t) {
		this.telephone = t;
	}

	/**
	 * Get company_address
	 * @return String
	 */
	public String getCompany_address() {
		return company_address;
	}

	/**
	 * Set company_address
	 * @param <code>String</code>
	 */
	public void setCompany_address(String c) {
		this.company_address = c;
	}

	/**
	 * Get email
	 * @return String
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * Set email
	 * @param <code>String</code>
	 */
	public void setEmail(String e) {
		this.email = e;
	}

	/**
	 * Get fax
	 * @return String
	 */
	public String getFax() {
		return fax;
	}

	/**
	 * Set fax
	 * @param <code>String</code>
	 */
	public void setFax(String f) {
		this.fax = f;
	}

	/**
	 * Get base_currency
	 * @return String
	 */
	public String getBase_currency() {
		return base_currency;
	}

	/**
	 * Set base_currency
	 * @param <code>String</code>
	 */
	public void setBase_currency(String b) {
		this.base_currency = b;
	}

	/**
	 * Get active
	 * @return String
	 */
	public String getActive() {
		return active;
	}

	/**
	 * Set active
	 * @param <code>String</code>
	 */
	public void setActive(String a) {
		this.active = a;
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {

		// Reset values are provided as samples only. Change as appropriate.
		company_name = null;
		company_id = null;
		telephone = null;
		company_address = null;
		email = null;
		fax = null;
		base_currency = null;
		active = null;
		activeList = null;
		currencyList = null;
		postal_cd = null;
	}

	public ActionErrors validate(
		ActionMapping mapping,
		HttpServletRequest request) {

		ActionErrors errors = new ActionErrors();
		// Validate the fields in your form, adding
		// adding each error to this.errors as found, e.g.

		// if ((field == null) || (field.length() == 0)) {
		//   errors.add("field", new org.apache.struts.action.ActionError("error.field.required"));
		// }
		return errors;

	}
	/**
	 * @return
	 */
	public ArrayList getActiveList() {
		return activeList;
	}

	/**
	 * @param list
	 */
	public void setActiveList(ArrayList list) {
		activeList = list;
	}

	/**
	 * @return
	 */
	public ArrayList getCurrencyList() {
		return currencyList;
	}

	/**
	 * @param list
	 */
	public void setCurrencyList(ArrayList list) {
		currencyList = list;
	}

	/**
	 * @return
	 */
	public String getPostal_cd() {
		return postal_cd;
	}

	/**
	 * @param string
	 */
	public void setPostal_cd(String string) {
		postal_cd = string;
	}

}

⌨️ 快捷键说明

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