public interface ItemDefine extends EnumDict<String>
EnumDict.EnumDictJSONDeserializerDEFAULT_WRITE_JSON_OBJECT| Modifier and Type | Method and Description |
|---|---|
String |
getComments()
枚举选项的描述,对一个选项进行详细的描述有时候是必要的.默认值为
EnumDict.getText() |
int |
getOrdinal() |
String |
getText()
枚举字典选项的文本,通常为中文
|
String |
getValue()
枚举选项的值,通常由字母或者数字组成,并且在同一个枚举中值唯一;对应数据库中的值通常也为此值
|
default int |
ordinal()
|
eq, find, find, findByText, findByValue, findList, getByMask, getByMask, getByMask, getI18nCode, getI18nMessage, getMask, getWriteJSONObject, in, in, in, index, isWriteJSONObjectEnabled, maskIn, maskInAny, toMask, writeString getValue()
EnumDictgetValue in interface EnumDict<String>getValue()String getComments()
EnumDictEnumDict.getText()getComments in interface EnumDict<String>int getOrdinal()
Copyright © 2016–2021. All rights reserved.