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

📄 companyidentifierstypecode.java

📁 CRMS客户关系管理系统(JAVA版),这是一个客户关系管理系统。
💻 JAVA
字号:
/* CRMS, customer relationship management systemCopyright (C) 2003  Service To Youth Council		This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.		You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA		For further information contact the SYC ICT department on GPL@syc.net.au98 Kermode StreetNorth AdelaideSouth AustraliaSA 5006 +61 (0)8 8367 0755*//* * CompanySizeCode.java * * Created on 19 Oct 2003 */package crms.util;import java.lang.reflect.*;/** * @author lubo * */public class CompanyIdentifiersTypeCode extends crms.util.AbstractCode {/*	public static final CompanyIdentifiersTypeCode ACCOUNTING = new CompanyIdentifiersTypeCode("ACCOUNTING", "Accounting / Financial Services");	public static final CompanyIdentifiersTypeCode AGRICULTURE_HORTICULTURE = new CompanyIdentifiersTypeCode("AGRHORT", "Agriculture / Horticulture");	public static final CompanyIdentifiersTypeCode AUTOMOTIVE = new CompanyIdentifiersTypeCode("AUTOMOTIVE", "Automotive");	public static final CompanyIdentifiersTypeCode COMMUNICATIONS = new CompanyIdentifiersTypeCode("COMM", "Communications");	public static final CompanyIdentifiersTypeCode COMMUNITY_HEALTH_SERVICES = new CompanyIdentifiersTypeCode("CHS", "Community Services");	public static final CompanyIdentifiersTypeCode CONSRTUCTION = new CompanyIdentifiersTypeCode("CONSRTUCTION", "Construction");	public static final CompanyIdentifiersTypeCode DEFENCE  = new CompanyIdentifiersTypeCode("DEFENCE", "Defence");	public static final CompanyIdentifiersTypeCode EDUCATION_SCIENCE = new CompanyIdentifiersTypeCode("EDUSCI", "Education / Science");	public static final CompanyIdentifiersTypeCode ELECTICAL_ELECTOTECH_ENERGY_WATER = new CompanyIdentifiersTypeCode("EEEWATER", "Electrical, Electrotechnology, Energy and Water");	public static final CompanyIdentifiersTypeCode EMPLOYMENT_SERVICES = new CompanyIdentifiersTypeCode("EMPLOY", "Employment / Recruitment Services");	public static final CompanyIdentifiersTypeCode GOVERNMENT = new CompanyIdentifiersTypeCode("GOVT", "Government");	public static final CompanyIdentifiersTypeCode HOSPTOUR = new CompanyIdentifiersTypeCode("HOSPTOUR", "Hospitality / Tourism");	public static final CompanyIdentifiersTypeCode INFORMATION_TECHNOLOGY = new CompanyIdentifiersTypeCode("INFOTECH", "Information Technology");	public static final CompanyIdentifiersTypeCode LEGAL = new CompanyIdentifiersTypeCode("LEGAL", "Legal Services");	public static final CompanyIdentifiersTypeCode MANAGEMENT_PROFESSIONAL = new CompanyIdentifiersTypeCode("MANAGEMENT", "Management / Professional Services");	public static final CompanyIdentifiersTypeCode MANUFACTURING_ENGINEERING = new CompanyIdentifiersTypeCode("MENG", "Manufacturing / Engineering");	public static final CompanyIdentifiersTypeCode MEDICAL = new CompanyIdentifiersTypeCode("MEDI", "Medical / Health Services");	public static final CompanyIdentifiersTypeCode RETAIL_WHOLESALE = new CompanyIdentifiersTypeCode("RWHOLE", "Retail / Wholesale");	public static final CompanyIdentifiersTypeCode SALES_MARKETING = new CompanyIdentifiersTypeCode("SALES", "Sales / Marketing");	public static final CompanyIdentifiersTypeCode SPORT_RECREATION_ARTS = new CompanyIdentifiersTypeCode("SRA", "Sport, Recreation and Arts");	public static final CompanyIdentifiersTypeCode TRADES_SERVICES = new CompanyIdentifiersTypeCode("TRADSRV", "Trades / Services");	public static final CompanyIdentifiersTypeCode TRANSPORT = new CompanyIdentifiersTypeCode("TRANSPORT", "Transport / Warehousing");	public static final CompanyIdentifiersTypeCode OTHER = new CompanyIdentifiersTypeCode("OTHER", "Other");*/	public static final CompanyIdentifiersTypeCode ACCOUNTING = new CompanyIdentifiersTypeCode("ACCOUNTING", "Accounting / Auditing");	public static final CompanyIdentifiersTypeCode ADMINISTRATIVE = new CompanyIdentifiersTypeCode("ADMINISTRATIVE ", "Administrative Services");	public static final CompanyIdentifiersTypeCode ADVERTISING = new CompanyIdentifiersTypeCode("ADVERTISING ", "Advertising / Marketing / Public Relations");	public static final CompanyIdentifiersTypeCode AGRICULTURE_HORTICULTURE = new CompanyIdentifiersTypeCode("AGRHORT", "Agriculture / Horticulture");	public static final CompanyIdentifiersTypeCode ARCHITECTURE = new CompanyIdentifiersTypeCode("ARCHITECTURE ", "Architectural Services"); 	public static final CompanyIdentifiersTypeCode ARTS = new CompanyIdentifiersTypeCode("ARTS", "Arts / Entertaiment / Media"); 	public static final CompanyIdentifiersTypeCode AUTOMOTIVE = new CompanyIdentifiersTypeCode("AUTOMOTIVE", "Automotive");	public static final CompanyIdentifiersTypeCode BANKING = new CompanyIdentifiersTypeCode("BANKING", "Banking");	public static final CompanyIdentifiersTypeCode BUILDING = new CompanyIdentifiersTypeCode("BUILDING ", "Building / Ground Maintenance");	public static final CompanyIdentifiersTypeCode CONSTRUCTION = new CompanyIdentifiersTypeCode("CONSTRUCTION ", "Construction / Mining");	public static final CompanyIdentifiersTypeCode CONSULTING = new CompanyIdentifiersTypeCode("CONSULTING", "Consulting Services");	public static final CompanyIdentifiersTypeCode CUST = new CompanyIdentifiersTypeCode("CUST", "Customer Services / Call Center");	public static final CompanyIdentifiersTypeCode DEFENCE  = new CompanyIdentifiersTypeCode("DEFENCE", "Defence");	public static final CompanyIdentifiersTypeCode EDUCA = new CompanyIdentifiersTypeCode("EDUCA", "Education / Science / Library");	public static final CompanyIdentifiersTypeCode EEEWATER = new CompanyIdentifiersTypeCode("EEEWATER", "Electrotechnology, Energy and Water");	public static final CompanyIdentifiersTypeCode EMPLOY = new CompanyIdentifiersTypeCode("EMPLOY", "Employment / Recruitment Services");	public static final CompanyIdentifiersTypeCode ENGINEERING = new CompanyIdentifiersTypeCode("ENGINEERING ", "Engineering");	public static final CompanyIdentifiersTypeCode FINANCE = new CompanyIdentifiersTypeCode("FINANCE", "Financial Services");	public static final CompanyIdentifiersTypeCode GOVT = new CompanyIdentifiersTypeCode("GOVT", "Government");	public static final CompanyIdentifiersTypeCode HEALTH = new CompanyIdentifiersTypeCode("HEALTH", "Health Care");	public static final CompanyIdentifiersTypeCode HOSPTOUR = new CompanyIdentifiersTypeCode("HOSPTOUR", "Hospitality / Tourism");	public static final CompanyIdentifiersTypeCode HR = new CompanyIdentifiersTypeCode("HR", "Human Resources");	public static final CompanyIdentifiersTypeCode INFORMATION_TECHNOLOGY = new CompanyIdentifiersTypeCode("INFOTECH", "Information Technology");	public static final CompanyIdentifiersTypeCode LAW = new CompanyIdentifiersTypeCode("LAW", "Law Enforcement / Security");	public static final CompanyIdentifiersTypeCode LEGAL = new CompanyIdentifiersTypeCode("LEGAL", "Legal Services");	public static final CompanyIdentifiersTypeCode MANAGEMENT = new CompanyIdentifiersTypeCode("MANAGEMENT", "Management / Professional Services");	public static final CompanyIdentifiersTypeCode MANU = new CompanyIdentifiersTypeCode("MANU", "Manufacturing / Production");	public static final CompanyIdentifiersTypeCode PUB = new CompanyIdentifiersTypeCode("PUB", "Publishing / Printing");	public static final CompanyIdentifiersTypeCode REAL = new CompanyIdentifiersTypeCode("REAL", "Real Estate");	public static final CompanyIdentifiersTypeCode RWHOLE = new CompanyIdentifiersTypeCode("RWHOLE", "Retail / Wholesale"); 	public static final CompanyIdentifiersTypeCode SALES = new CompanyIdentifiersTypeCode("SALES", "Sales / Marketing");	public static final CompanyIdentifiersTypeCode SRA = new CompanyIdentifiersTypeCode("SRA", "Sport / Recreation");	public static final CompanyIdentifiersTypeCode SUP = new CompanyIdentifiersTypeCode("SUP", "Supply Chain / Logistics");	public static final CompanyIdentifiersTypeCode TELE = new CompanyIdentifiersTypeCode("TELE", "Telecommunications");	public static final CompanyIdentifiersTypeCode TRADES_SERVICES = new CompanyIdentifiersTypeCode("TRADSRV", "Trades / Services");	public static final CompanyIdentifiersTypeCode TRANSPORT = new CompanyIdentifiersTypeCode("TRANSPORT", "Transportation / Warehousing");	public static final CompanyIdentifiersTypeCode OTHER = new CompanyIdentifiersTypeCode("OTHER", "Other");	public CompanyIdentifiersTypeCode() {	}	/** Creates a new instance of CompanySizeCode */	public CompanyIdentifiersTypeCode(String code, String name) {		super(code, name);	}		public static CompanyIdentifiersTypeCode getForCode(String code) {		Class clazz = CompanyIdentifiersTypeCode.class;		Field[] fields = clazz.getDeclaredFields();		try {			for (int i=0; i < fields.length; i++) {				Field f = fields[i];				if (Modifier.isPublic(f.getModifiers()) && AbstractCode.class.isAssignableFrom(f.getDeclaringClass())) {					CompanyIdentifiersTypeCode fieldCode = (CompanyIdentifiersTypeCode) f.get(null);					if (code.trim().equals(fieldCode.getCode()))						return fieldCode;				}			}		} catch (Exception ex) {		}		return null;	}			/*					if (code.trim().equals(AGRICULTURE_HORTICULTURE.getCode())) {				return AGRICULTURE_HORTICULTURE;			} else if (code.trim().equals(AUTOMOTIVE.getCode())) {				return AUTOMOTIVE;			} else if (code.trim().equals(DEFENCE.getCode())) {				return DEFENCE;			} else if (code.trim().equals(ACCOUNTING.getCode())) {				return ACCOUNTING;			} else if (code.trim().equals(COMMUNITY_HEALTH_SERVICES.getCode())) {				return COMMUNITY_HEALTH_SERVICES;			} else if (code.trim().equals(CONSRTUCTION.getCode())) {				return CONSRTUCTION;			} else if (code.trim().equals(COMMUNICATIONS.getCode())) {				return COMMUNICATIONS;			} else if (code.trim().equals(EDUCATION_SCIENCE.getCode())) {				return EDUCATION_SCIENCE;			} else if (code.trim().equals(ELECTICAL_ELECTOTECH_ENERGY_WATER.getCode())) {				return ELECTICAL_ELECTOTECH_ENERGY_WATER;			} else if (code.trim().equals(EMPLOYMENT_SERVICES.getCode())) {				return EMPLOYMENT_SERVICES;			} else if (code.trim().equals(GOVERNMENT.getCode())) {				return GOVERNMENT;			} else if (code.trim().equals(HOSPTOUR.getCode())) {				return HOSPTOUR;			} else if (code.trim().equals(INFORMATION_TECHNOLOGY.getCode())) {				return INFORMATION_TECHNOLOGY;			} else if (code.trim().equals(LEGAL.getCode())) {				return LEGAL;			} else if (code.trim().equals(SALES_MARKETING.getCode())) {				return SALES_MARKETING;			} else if (code.trim().equals(TRADES_SERVICES.getCode())) {				return TRADES_SERVICES;			} else if (code.trim().equals(RETAIL_WHOLESALE.getCode())) {				return RETAIL_WHOLESALE;			} else if (code.trim().equals(SPORT_RECREATION_ARTS.getCode())) {				return SPORT_RECREATION_ARTS;			} else if (code.trim().equals(MANAGEMENT_PROFESSIONAL.getCode())) {				return MANAGEMENT_PROFESSIONAL;			} else if (code.trim().equals(MEDICAL.getCode())) {				return MEDICAL;			} else if (code.trim().equals(MANUFACTURING_ENGINEERING.getCode())) {				return MANUFACTURING_ENGINEERING;			} else if (code.trim().equals(TRANSPORT.getCode())) {				return TRANSPORT;			} else if (code.trim().equals(OTHER.getCode())) {				return OTHER;			} 					return null;		}*/}

⌨️ 快捷键说明

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