Enum Class TypeEnum
- 所有已实现的接口:
Serializable,Comparable<TypeEnum>,java.lang.constant.Constable
字段类型枚举
定义飞书表格支持的字段类型,用于在实体类注解中指定字段的数据类型
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明日期类型多选类型多个文本(逗号分割)类型数字类型单选类型文本类型文本文件类型文本链接类型 -
方法概要
-
枚举常量详细资料
-
SINGLE_SELECT
单选类型 -
MULTI_SELECT
多选类型 -
TEXT
文本类型 -
NUMBER
数字类型 -
DATE
日期类型 -
TEXT_FILE
文本文件类型 -
MULTI_TEXT
多个文本(逗号分割)类型 -
TEXT_URL
文本链接类型
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getCode
获取类型编码- 返回:
- 类型编码字符串
-
getDesc
获取类型描述- 返回:
- 类型描述字符串
-
getByCode
根据编码获取枚举值- 参数:
code- 类型编码- 返回:
- 对应的枚举值,未找到返回null
-