public enum Industry extends Enum<Industry>
| 枚举常量和说明 |
|---|
ADS_MEDIA
广告/媒体
|
BUILDING_REALESTATE
房地产/建筑
|
COMPUTER
计算机/互联网/通信/电子
|
EDUCATION_TRAIN_CONSULT
教育/培训/咨询
|
ENERGY_MATERIAL
能源/材料
|
FINANCE
金融/银行/保险
|
GOV_NGO
政府/NGO
|
MEDICAL_PHARMACY
医疗/制药
|
SERVICE
服务业(餐饮、酒店、休闲、美容、体育等)
|
TRADE_CONSUMPTION_MANUFACTURE
贸易/消费/制造
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDisplayName() |
static Industry |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Industry[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Industry FINANCE
public static final Industry COMPUTER
public static final Industry TRADE_CONSUMPTION_MANUFACTURE
public static final Industry MEDICAL_PHARMACY
public static final Industry ADS_MEDIA
public static final Industry BUILDING_REALESTATE
public static final Industry EDUCATION_TRAIN_CONSULT
public static final Industry SERVICE
public static final Industry ENERGY_MATERIAL
public static final Industry GOV_NGO
public static Industry[] values()
for (Industry c : Industry.values()) System.out.println(c);
public static Industry valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getDisplayName()
Copyright © 2016. All rights reserved.