public enum BusinessTypeEnum extends Enum<BusinessTypeEnum>
| 限定符和类型 | 方法和说明 |
|---|---|
static BusinessTypeEnum |
getByType(Integer type) |
String |
getName() |
Integer |
getType() |
static BusinessTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static BusinessTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final BusinessTypeEnum SALE
public static final BusinessTypeEnum SERVICE
public static final BusinessTypeEnum SHIPMENT
public static BusinessTypeEnum[] values()
for (BusinessTypeEnum c : BusinessTypeEnum.values()) System.out.println(c);
public static BusinessTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static BusinessTypeEnum getByType(Integer type)
public String getName()
public Integer getType()
Copyright © 2026 Pivotal Software, Inc.. All rights reserved.