import java.util.*;
import org.apache.struts.util.LabelValueBean;
public class ContextUtils {
public static final String USER = "user";
public static final String USER_SERVICES = "userServices";
public static final String PRICING = "pricing";
public static final String LOGIN_NAME = "loginName";
public static Vector PAYMENTSTYLE = new Vector();
public static Vector CAREER = new Vector();
public static Vector NATIONALITY = new Vector();
public static Vector USER_STATUS = new Vector();
public static Vector LAB_IP = new Vector();
public static Vector SEX = new Vector();
public static Vector ADM_RIGHTS = new Vector();
public static Vector YEAR = new Vector();
public static Vector MONTH = new Vector();
public static Vector DAY = new Vector();
public static String[] USER_STATUSS = {"","开通","锁定","暂停"};
static {
PAYMENTSTYLE.add(new LabelValueBean("1","现金支付"));
PAYMENTSTYLE.add(new LabelValueBean("2","银行转帐"));
PAYMENTSTYLE.add(new LabelValueBean("3","IP卡充值"));
CAREER.add(new LabelValueBean("1","软件工程师"));
CAREER.add(new LabelValueBean("2","业务经理"));
CAREER.add(new LabelValueBean("3","部门经理"));
CAREER.add(new LabelValueBean("4","销售经理"));
NATIONALITY.add(new LabelValueBean("1","北京"));
NATIONALITY.add(new LabelValueBean("2","天津"));
NATIONALITY.add(new LabelValueBean("3","河北"));
NATIONALITY.add(new LabelValueBean("4","辽宁"));
NATIONALITY.add(new LabelValueBean("5","河南"));
NATIONALITY.add(new LabelValueBean("6","吉林"));
NATIONALITY.add(new LabelValueBean("7","黑龙江"));
NATIONALITY.add(new LabelValueBean("8","内蒙古"));
NATIONALITY.add(new LabelValueBean("9","山东"));
NATIONALITY.add(new LabelValueBean("10","山西"));
NATIONALITY.add(new LabelValueBean("11","陕西"));
NATIONALITY.add(new LabelValueBean("12","甘肃"));
NATIONALITY.add(new LabelValueBean("13","宁夏"));
NATIONALITY.add(new LabelValueBean("14","青海"));
NATIONALITY.add(new LabelValueBean("15","新疆"));
NATIONALITY.add(new LabelValueBean("16","上海"));
NATIONALITY.add(new LabelValueBean("17","江苏"));
NATIONALITY.add(new LabelValueBean("18","浙江"));
NATIONALITY.add(new LabelValueBean("19","安徽"));
NATIONALITY.add(new LabelValueBean("20","广东"));
NATIONALITY.add(new LabelValueBean("21","海南"));
NATIONALITY.add(new LabelValueBean("22","广西"));
NATIONALITY.add(new LabelValueBean("23","云南"));
NATIONALITY.add(new LabelValueBean("24","贵州"));
NATIONALITY.add(new LabelValueBean("25","四川"));
NATIONALITY.add(new LabelValueBean("26","重庆"));
NATIONALITY.add(new LabelValueBean("27","西藏"));
NATIONALITY.add(new LabelValueBean("28","香港"));
NATIONALITY.add(new LabelValueBean("29","澳门"));
NATIONALITY.add(new LabelValueBean("30","福建"));
NATIONALITY.add(new LabelValueBean("31","江西"));
NATIONALITY.add(new LabelValueBean("32","湖南"));
NATIONALITY.add(new LabelValueBean("33","湖北"));
NATIONALITY.add(new LabelValueBean("34","台湾"));
NATIONALITY.add(new LabelValueBean("35","其他"));
USER_STATUS.add(new LabelValueBean("1","开通"));
USER_STATUS.add(new LabelValueBean("2","锁定"));
USER_STATUS.add(new LabelValueBean("3","暂停"));
SEX.add(new LabelValueBean("1","男"));
SEX.add(new LabelValueBean("2","女"));
LAB_IP.add(new LabelValueBean("192.168.0.200","192.168.0.200"));
LAB_IP.add(new LabelValueBean("192.168.0.201","192.168.0.201"));
LAB_IP.add(new LabelValueBean("192.168.0.202","192.168.0.202"));
LAB_IP.add(new LabelValueBean("192.168.0.203","192.168.0.203"));
LAB_IP.add(new LabelValueBean("192.168.0.204","192.168.0.204"));
LAB_IP.add(new LabelValueBean("192.168.0.205","192.168.0.205"));
LAB_IP.add(new LabelValueBean("192.168.0.206","192.168.0.206"));
LAB_IP.add(new LabelValueBean("192.168.0.207","192.168.0.207"));
LAB_IP.add(new LabelValueBean("192.168.0.208","192.168.0.208"));
ADM_RIGHTS.add(new LabelValueBean("只读","1"));
ADM_RIGHTS.add(new LabelValueBean("只写","2"));
ADM_RIGHTS.add(new LabelValueBean("读写","3"));
YEAR.add(new LabelValueBean("2005","2005"));
YEAR.add(new LabelValueBean("2006","2006"));
YEAR.add(new LabelValueBean("2007","2007"));
YEAR.add(new LabelValueBean("2008","2008"));
YEAR.add(new LabelValueBean("2009","2009"));
YEAR.add(new LabelValueBean("2010","2010"));
YEAR.add(new LabelValueBean("2011","2011"));
YEAR.add(new LabelValueBean("2012","2012"));
YEAR.add(new LabelValueBean("2013","2013"));
YEAR.add(new LabelValueBean("2014","2014"));
MONTH.add(new LabelValueBean("1","1"));
MONTH.add(new LabelValueBean("2","2"));
MONTH.add(new LabelValueBean("3","3"));
MONTH.add(new LabelValueBean("4","4"));
MONTH.add(new LabelValueBean("5","5"));
MONTH.add(new LabelValueBean("6","6"));
MONTH.add(new LabelValueBean("7","7"));
MONTH.add(new LabelValueBean("8","8"));
MONTH.add(new LabelValueBean("9","9"));
MONTH.add(new LabelValueBean("10","10"));
MONTH.add(new LabelValueBean("11","11"));
MONTH.add(new LabelValueBean("12","12"));
DAY.add(new LabelValueBean("1","1"));
DAY.add(new LabelValueBean("2","2"));
DAY.add(new LabelValueBean("3","3"));
DAY.add(new LabelValueBean("4","4"));
DAY.add(new LabelValueBean("5","5"));
DAY.add(new LabelValueBean("6","6"));
DAY.add(new LabelValueBean("7","7"));
DAY.add(new LabelValueBean("8","8"));
DAY.add(new LabelValueBean("9","9"));
DAY.add(new LabelValueBean("10","10"));
DAY.add(new LabelValueBean("11","11"));
DAY.add(new LabelValueBean("12","12"));
DAY.add(new LabelValueBean("13","13"));
DAY.add(new LabelValueBean("14","14"));
DAY.add(new LabelValueBean("15","15"));
DAY.add(new LabelValueBean("16","16"));
DAY.add(new LabelValueBean("17","17"));
DAY.add(new LabelValueBean("18","18"));
DAY.add(new LabelValueBean("19","19"));
DAY.add(new LabelValueBean("20","20"));
DAY.add(new LabelValueBean("21","21"));
DAY.add(new LabelValueBean("22","22"));
DAY.add(new LabelValueBean("23","23"));
DAY.add(new LabelValueBean("24","24"));
DAY.add(new LabelValueBean("25","25"));
DAY.add(new LabelValueBean("26","26"));
DAY.add(new LabelValueBean("27","27"));
DAY.add(new LabelValueBean("28","28"));
DAY.add(new LabelValueBean("29","29"));
DAY.add(new LabelValueBean("30","30"));
DAY.add(new LabelValueBean("31","31"));
}
}
import org.apache.struts.util.LabelValueBean;
public class ContextUtils {
public static final String USER = "user";
public static final String USER_SERVICES = "userServices";
public static final String PRICING = "pricing";
public static final String LOGIN_NAME = "loginName";
public static Vector PAYMENTSTYLE = new Vector();
public static Vector CAREER = new Vector();
public static Vector NATIONALITY = new Vector();
public static Vector USER_STATUS = new Vector();
public static Vector LAB_IP = new Vector();
public static Vector SEX = new Vector();
public static Vector ADM_RIGHTS = new Vector();
public static Vector YEAR = new Vector();
public static Vector MONTH = new Vector();
public static Vector DAY = new Vector();
public static String[] USER_STATUSS = {"","开通","锁定","暂停"};
static {
PAYMENTSTYLE.add(new LabelValueBean("1","现金支付"));
PAYMENTSTYLE.add(new LabelValueBean("2","银行转帐"));
PAYMENTSTYLE.add(new LabelValueBean("3","IP卡充值"));
CAREER.add(new LabelValueBean("1","软件工程师"));
CAREER.add(new LabelValueBean("2","业务经理"));
CAREER.add(new LabelValueBean("3","部门经理"));
CAREER.add(new LabelValueBean("4","销售经理"));
NATIONALITY.add(new LabelValueBean("1","北京"));
NATIONALITY.add(new LabelValueBean("2","天津"));
NATIONALITY.add(new LabelValueBean("3","河北"));
NATIONALITY.add(new LabelValueBean("4","辽宁"));
NATIONALITY.add(new LabelValueBean("5","河南"));
NATIONALITY.add(new LabelValueBean("6","吉林"));
NATIONALITY.add(new LabelValueBean("7","黑龙江"));
NATIONALITY.add(new LabelValueBean("8","内蒙古"));
NATIONALITY.add(new LabelValueBean("9","山东"));
NATIONALITY.add(new LabelValueBean("10","山西"));
NATIONALITY.add(new LabelValueBean("11","陕西"));
NATIONALITY.add(new LabelValueBean("12","甘肃"));
NATIONALITY.add(new LabelValueBean("13","宁夏"));
NATIONALITY.add(new LabelValueBean("14","青海"));
NATIONALITY.add(new LabelValueBean("15","新疆"));
NATIONALITY.add(new LabelValueBean("16","上海"));
NATIONALITY.add(new LabelValueBean("17","江苏"));
NATIONALITY.add(new LabelValueBean("18","浙江"));
NATIONALITY.add(new LabelValueBean("19","安徽"));
NATIONALITY.add(new LabelValueBean("20","广东"));
NATIONALITY.add(new LabelValueBean("21","海南"));
NATIONALITY.add(new LabelValueBean("22","广西"));
NATIONALITY.add(new LabelValueBean("23","云南"));
NATIONALITY.add(new LabelValueBean("24","贵州"));
NATIONALITY.add(new LabelValueBean("25","四川"));
NATIONALITY.add(new LabelValueBean("26","重庆"));
NATIONALITY.add(new LabelValueBean("27","西藏"));
NATIONALITY.add(new LabelValueBean("28","香港"));
NATIONALITY.add(new LabelValueBean("29","澳门"));
NATIONALITY.add(new LabelValueBean("30","福建"));
NATIONALITY.add(new LabelValueBean("31","江西"));
NATIONALITY.add(new LabelValueBean("32","湖南"));
NATIONALITY.add(new LabelValueBean("33","湖北"));
NATIONALITY.add(new LabelValueBean("34","台湾"));
NATIONALITY.add(new LabelValueBean("35","其他"));
USER_STATUS.add(new LabelValueBean("1","开通"));
USER_STATUS.add(new LabelValueBean("2","锁定"));
USER_STATUS.add(new LabelValueBean("3","暂停"));
SEX.add(new LabelValueBean("1","男"));
SEX.add(new LabelValueBean("2","女"));
LAB_IP.add(new LabelValueBean("192.168.0.200","192.168.0.200"));
LAB_IP.add(new LabelValueBean("192.168.0.201","192.168.0.201"));
LAB_IP.add(new LabelValueBean("192.168.0.202","192.168.0.202"));
LAB_IP.add(new LabelValueBean("192.168.0.203","192.168.0.203"));
LAB_IP.add(new LabelValueBean("192.168.0.204","192.168.0.204"));
LAB_IP.add(new LabelValueBean("192.168.0.205","192.168.0.205"));
LAB_IP.add(new LabelValueBean("192.168.0.206","192.168.0.206"));
LAB_IP.add(new LabelValueBean("192.168.0.207","192.168.0.207"));
LAB_IP.add(new LabelValueBean("192.168.0.208","192.168.0.208"));
ADM_RIGHTS.add(new LabelValueBean("只读","1"));
ADM_RIGHTS.add(new LabelValueBean("只写","2"));
ADM_RIGHTS.add(new LabelValueBean("读写","3"));
YEAR.add(new LabelValueBean("2005","2005"));
YEAR.add(new LabelValueBean("2006","2006"));
YEAR.add(new LabelValueBean("2007","2007"));
YEAR.add(new LabelValueBean("2008","2008"));
YEAR.add(new LabelValueBean("2009","2009"));
YEAR.add(new LabelValueBean("2010","2010"));
YEAR.add(new LabelValueBean("2011","2011"));
YEAR.add(new LabelValueBean("2012","2012"));
YEAR.add(new LabelValueBean("2013","2013"));
YEAR.add(new LabelValueBean("2014","2014"));
MONTH.add(new LabelValueBean("1","1"));
MONTH.add(new LabelValueBean("2","2"));
MONTH.add(new LabelValueBean("3","3"));
MONTH.add(new LabelValueBean("4","4"));
MONTH.add(new LabelValueBean("5","5"));
MONTH.add(new LabelValueBean("6","6"));
MONTH.add(new LabelValueBean("7","7"));
MONTH.add(new LabelValueBean("8","8"));
MONTH.add(new LabelValueBean("9","9"));
MONTH.add(new LabelValueBean("10","10"));
MONTH.add(new LabelValueBean("11","11"));
MONTH.add(new LabelValueBean("12","12"));
DAY.add(new LabelValueBean("1","1"));
DAY.add(new LabelValueBean("2","2"));
DAY.add(new LabelValueBean("3","3"));
DAY.add(new LabelValueBean("4","4"));
DAY.add(new LabelValueBean("5","5"));
DAY.add(new LabelValueBean("6","6"));
DAY.add(new LabelValueBean("7","7"));
DAY.add(new LabelValueBean("8","8"));
DAY.add(new LabelValueBean("9","9"));
DAY.add(new LabelValueBean("10","10"));
DAY.add(new LabelValueBean("11","11"));
DAY.add(new LabelValueBean("12","12"));
DAY.add(new LabelValueBean("13","13"));
DAY.add(new LabelValueBean("14","14"));
DAY.add(new LabelValueBean("15","15"));
DAY.add(new LabelValueBean("16","16"));
DAY.add(new LabelValueBean("17","17"));
DAY.add(new LabelValueBean("18","18"));
DAY.add(new LabelValueBean("19","19"));
DAY.add(new LabelValueBean("20","20"));
DAY.add(new LabelValueBean("21","21"));
DAY.add(new LabelValueBean("22","22"));
DAY.add(new LabelValueBean("23","23"));
DAY.add(new LabelValueBean("24","24"));
DAY.add(new LabelValueBean("25","25"));
DAY.add(new LabelValueBean("26","26"));
DAY.add(new LabelValueBean("27","27"));
DAY.add(new LabelValueBean("28","28"));
DAY.add(new LabelValueBean("29","29"));
DAY.add(new LabelValueBean("30","30"));
DAY.add(new LabelValueBean("31","31"));
}
}