|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public enum ShAreaBjw { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | BJW_310101("310101", "黄浦区", "huangpu"), | 
|---|
|  |  |  | BJW_310104("310104", "徐汇区", "xuhui"), | 
|---|
|  |  |  | BJW_310105("310105", "长宁区", "changning"), | 
|---|
|  |  |  | BJW_310106("310106", "静安区", "jingan"), | 
|---|
|  |  |  | BJW_310107("310107", "普陀区", "pituo"), | 
|---|
|  |  |  | BJW_310109("310109", "虹口区", "honhkou"), | 
|---|
|  |  |  | BJW_310110("310110", "杨浦区", "yangpu"), | 
|---|
|  |  |  | BJW_310112("310112", "闵行区", "minhang"), | 
|---|
|  |  |  | BJW_310113("310113", "宝山区", "baoshan"), | 
|---|
|  |  |  | BJW_310114("310114", "嘉定区", "jiading"), | 
|---|
|  |  |  | BJW_310115("310115", "浦东新区", "pudong"), | 
|---|
|  |  |  | BJW_310116("310116", "金山区", "jinshan"), | 
|---|
|  |  |  | BJW_310117("310117", "松江区", "songjiang"), | 
|---|
|  |  |  | BJW_310118("310118", "青浦区", "qingpu"), | 
|---|
|  |  |  | BJW_310120("310120", "奉贤区", "fengxian"), | 
|---|
|  |  |  | BJW_310151("310151", "崇明区", "chongming"); | 
|---|
|  |  |  | BJW_310112("310112", "闵行区", "minhang"), | 
|---|
|  |  |  | BJW_310113("310113", "宝山区", "baoshan"), | 
|---|
|  |  |  | BJW_310114("310114", "嘉定区", "jiading"), | 
|---|
|  |  |  | BJW_310115("310115", "浦东新区", "pudong"), | 
|---|
|  |  |  | BJW_310116("310116", "金山区", "jinshan"), | 
|---|
|  |  |  | BJW_310117("310117", "松江区", "songjiang"), | 
|---|
|  |  |  | BJW_310118("310118", "青浦区", "qingpu"), | 
|---|
|  |  |  | BJW_310120("310120", "奉贤区", "fengxian"), | 
|---|
|  |  |  | BJW_310151("310151", "崇明区", "chongming"); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private String code; | 
|---|
|  |  |  | private String name; | 
|---|
|  |  |  | private String bjw; | 
|---|
|  |  |  | private String code; | 
|---|
|  |  |  | private String name; | 
|---|
|  |  |  | private String bjw; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ShAreaBjw(String code, String name, String bjw) { | 
|---|
|  |  |  | this.code = code; | 
|---|
|  |  |  | this.name = name; | 
|---|
|  |  |  | this.bjw = bjw; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ShAreaBjw(String code, String name, String bjw) { | 
|---|
|  |  |  | this.code = code; | 
|---|
|  |  |  | this.name = name; | 
|---|
|  |  |  | this.bjw = bjw; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getCode() { | 
|---|
|  |  |  | return code; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public String getCode() { | 
|---|
|  |  |  | return code; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getName() { | 
|---|
|  |  |  | return name; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public String getName() { | 
|---|
|  |  |  | return name; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getBjw() { | 
|---|
|  |  |  | return bjw; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public String getBjw() { | 
|---|
|  |  |  | return bjw; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static String getName(String code) { | 
|---|
|  |  |  | if(null == code) return null; | 
|---|
|  |  |  | public static String getName(String code) { | 
|---|
|  |  |  | if (null == code) return null; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310101.getCode().equals(code)) return ShAreaBjw.BJW_310101.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310104.getCode().equals(code)) return ShAreaBjw.BJW_310104.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310105.getCode().equals(code)) return ShAreaBjw.BJW_310105.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310106.getCode().equals(code)) return ShAreaBjw.BJW_310106.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310107.getCode().equals(code)) return ShAreaBjw.BJW_310107.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310109.getCode().equals(code)) return ShAreaBjw.BJW_310109.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310110.getCode().equals(code)) return ShAreaBjw.BJW_310110.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310112.getCode().equals(code)) return ShAreaBjw.BJW_310112.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310113.getCode().equals(code)) return ShAreaBjw.BJW_310113.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310114.getCode().equals(code)) return ShAreaBjw.BJW_310114.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310115.getCode().equals(code)) return ShAreaBjw.BJW_310115.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310116.getCode().equals(code)) return ShAreaBjw.BJW_310116.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310117.getCode().equals(code)) return ShAreaBjw.BJW_310117.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310118.getCode().equals(code)) return ShAreaBjw.BJW_310118.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310120.getCode().equals(code)) return ShAreaBjw.BJW_310120.getName(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310151.getCode().equals(code)) return ShAreaBjw.BJW_310151.getName(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310112.getCode().equals(code)) return ShAreaBjw.BJW_310112.getName(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310113.getCode().equals(code)) return ShAreaBjw.BJW_310113.getName(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310114.getCode().equals(code)) return ShAreaBjw.BJW_310114.getName(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310115.getCode().equals(code)) return ShAreaBjw.BJW_310115.getName(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310116.getCode().equals(code)) return ShAreaBjw.BJW_310116.getName(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310117.getCode().equals(code)) return ShAreaBjw.BJW_310117.getName(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310118.getCode().equals(code)) return ShAreaBjw.BJW_310118.getName(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310120.getCode().equals(code)) return ShAreaBjw.BJW_310120.getName(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310151.getCode().equals(code)) return ShAreaBjw.BJW_310151.getName(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return code; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return code; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static String getBjw(String code) { | 
|---|
|  |  |  | if(null == code) return null; | 
|---|
|  |  |  | public static String getBjw(String code) { | 
|---|
|  |  |  | if (null == code) return null; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310101.getCode().equals(code)) return ShAreaBjw.BJW_310101.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310104.getCode().equals(code)) return ShAreaBjw.BJW_310104.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310105.getCode().equals(code)) return ShAreaBjw.BJW_310105.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310106.getCode().equals(code)) return ShAreaBjw.BJW_310106.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310107.getCode().equals(code)) return ShAreaBjw.BJW_310107.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310109.getCode().equals(code)) return ShAreaBjw.BJW_310109.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310110.getCode().equals(code)) return ShAreaBjw.BJW_310110.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310112.getCode().equals(code)) return ShAreaBjw.BJW_310112.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310113.getCode().equals(code)) return ShAreaBjw.BJW_310113.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310114.getCode().equals(code)) return ShAreaBjw.BJW_310114.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310115.getCode().equals(code)) return ShAreaBjw.BJW_310115.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310116.getCode().equals(code)) return ShAreaBjw.BJW_310116.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310117.getCode().equals(code)) return ShAreaBjw.BJW_310117.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310118.getCode().equals(code)) return ShAreaBjw.BJW_310118.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310120.getCode().equals(code)) return ShAreaBjw.BJW_310120.getBjw(); | 
|---|
|  |  |  | if(ShAreaBjw.BJW_310151.getCode().equals(code)) return ShAreaBjw.BJW_310151.getBjw(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310112.getCode().equals(code)) return ShAreaBjw.BJW_310112.getBjw(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310113.getCode().equals(code)) return ShAreaBjw.BJW_310113.getBjw(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310114.getCode().equals(code)) return ShAreaBjw.BJW_310114.getBjw(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310115.getCode().equals(code)) return ShAreaBjw.BJW_310115.getBjw(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310116.getCode().equals(code)) return ShAreaBjw.BJW_310116.getBjw(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310117.getCode().equals(code)) return ShAreaBjw.BJW_310117.getBjw(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310118.getCode().equals(code)) return ShAreaBjw.BJW_310118.getBjw(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310120.getCode().equals(code)) return ShAreaBjw.BJW_310120.getBjw(); | 
|---|
|  |  |  | if (ShAreaBjw.BJW_310151.getCode().equals(code)) return ShAreaBjw.BJW_310151.getBjw(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return code; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return code; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|