public enum TransferType extends Enum<TransferType>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
String |
getDescription() |
static TransferType |
parse(int code)
根据枚举code值解析得到对应的枚举类型.
|
static TransferType |
parse(String name)
根据枚举名称解析枚举类型(不区分大小写).
|
void |
setCode(int code) |
void |
setDescription(String description) |
static TransferType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TransferType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final TransferType UNKNOWN
public static final TransferType BASE64
public static final TransferType URL
public static final TransferType FILE_WSID
public static TransferType[] values()
for (TransferType c : TransferType.values()) System.out.println(c);
public static TransferType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static TransferType parse(int code)
code - 枚举状态码public static TransferType parse(String name)
name - 枚举名称public int getCode()
public void setCode(int code)
public String getDescription()
public void setDescription(String description)
Copyright © 2023. All rights reserved.