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

📄 company.java

📁 CRMS客户关系管理系统(JAVA版),这是一个客户关系管理系统。
💻 JAVA
字号:
	/* CRMS, customer relationship management system	Copyright (C) 2003  Service To Youth Council	This program is free software; you can redistribute it and/or modify	it under the terms of the GNU General Public License as published by	the Free Software Foundation; either version 2 of the License, or	(at your option) any later version.	This program is distributed in the hope that it will be useful,	but WITHOUT ANY WARRANTY; without even the implied warranty of	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the	GNU General Public License for more details.	You should have received a copy of the GNU General Public License	along with this program; if not, write to the Free Software	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA	For further information contact the SYC ICT department on GPL@syc.net.au	98 Kermode Street	North Adelaide	South Australia	SA 5006 	+61 (0)8 8367 0755	*//* * Company.java * * Created on 26 March 2003, 05:05 */package crms.vo;import crms.util.*;import java.util.*;/** * * @author  dmurphy */public class Company {		private String companyName = null;	private int companyID = -1;	private String phone = null;	private String notes = null;	private String owner = null;	private ArrayList ABN = null;	private ArrayList ACN = null;	private ArrayList email = null;	private ArrayList URL = null;	private boolean deleted = false;	private boolean incomplete = false;	private CompanySizeCode companySize = null;	private CompanyIdentifiersTypeCode companyType = null;	private ArrayList locations = null;	// only used for search criteria	private String fax = null;	private String address = null;	private String suburb = null;	private String state = null;	private String country = null;	private String postcode = null;	private Permission permissions = null;		/** Place holder company object for lists that represents an "All	 * Companies" selection	 */	public static Company ALL_COMPANIES = new Company("- All -",-1);			/** Place holder company object for lists that represents an "No	 * Company" selection	 */	public static Company NO_COMPANY = new Company("- None -", 0);			/** Creates a new instance of Company */	public Company() { }		public Company(String name, int id) {		this.companyName = name;		this.companyID = id;	}			public void setCompanyName(String name) {		this.companyName = name;	}		public String getCompanyName() {		return companyName;	}		public void setCompanyID(int id) {		this.companyID = id;	}		public int getCompanyID() {		return companyID;	}// START OF TO BE CUT	public void setPhone(String number) {		this.phone = number;	}		public String getPhone() {		return phone;	}		public void setFax(String number) {		this.fax = number;	}		public String getFax() {		return fax;	}		public void setAddress(String address) {		this.address = address;	}		public String getAddress() {		return address;	}		public void setSuburb(String suburb) {		this.suburb = suburb;	}	public void setCountry(String country) {		this.country = country;	}	public String getCountry() {		return country;	}		public String getSuburb() {		return suburb;	}		public void setState(String state) {		this.state = state;	}		public String getState() {		return state;	}		public void setPostcode(String postcode) {		this.postcode = postcode;	}		public String getPostcode() {		return postcode;	}// END OF TO BE CUT STUFF		public void setABN(ArrayList abn) {		this.ABN = abn;	}	public ArrayList getABN() {		return ABN;	}		public void setACN(ArrayList acn) {		this.ACN = acn;	}	public ArrayList getACN() {		return ACN;	}		public void setEmail(ArrayList email) {		this.email = email;	}	public ArrayList getEmail() {		return email;	}		public void setURL(ArrayList url) {		this.URL = url;	}	public ArrayList getURL() {		return URL;	}		public void setNotes(String notes) {		this.notes = notes;	}		public String getNotes() {		return notes;	}		public void setOwner(String owner) {		this.owner = owner;	}		public String getOwner() {		return owner;	}		public void setDeleted(boolean deleted) {		this.deleted = deleted;   	}		public boolean getDeleted() {		return deleted;   	}		public String toString() {		return "name="+getCompanyName()+",size="+getCompanySize();	}	/**	 * @return	 */	public CompanySizeCode getCompanySize() {		return companySize;	}	/**	 * @return	 */	public CompanyIdentifiersTypeCode getCompanyType() {		return companyType; 	}	/**	 * @param code	 */	public void setCompanySize(CompanySizeCode code) {		companySize = code;	}	/**	 * @param code	 */	public void setCompanyType(CompanyIdentifiersTypeCode code) {		companyType = code;	}	public boolean getIncomplete() {		return incomplete;	}	public void setIncomplete(boolean new_incomplete) {		incomplete = new_incomplete;	}	public ArrayList getLocations() {		return locations;	}	public void setLocations(ArrayList new_locations) {		locations = new_locations;	}	// utility temporary storage so that we may access	public Permission getPermission() {		return permissions;	}	public void setPermission(Permission permissions) {		this.permissions = permissions;	}	}

⌨️ 快捷键说明

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