@Dict(value="user-setting-permission") public enum UserSettingPermission extends Enum<UserSettingPermission> implements EnumDict<String>
EnumDict.EnumDictJSONDeserializerDEFAULT_WRITE_JSON_OBJECT| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
枚举选项的值,通常由字母或者数字组成,并且在同一个枚举中值唯一;对应数据库中的值通常也为此值
|
static UserSettingPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserSettingPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfeq, find, find, findByText, findByValue, findList, getByMask, getByMask, getByMask, getComments, getI18nCode, getI18nMessage, getMask, getText, getWriteJSONObject, in, in, in, index, isWriteJSONObjectEnabled, maskIn, maskInAny, ordinal, toMask, writepublic static final UserSettingPermission NONE
public static final UserSettingPermission R
public static final UserSettingPermission W
public static final UserSettingPermission RW
public static UserSettingPermission[] values()
for (UserSettingPermission c : UserSettingPermission.values()) System.out.println(c);
public static UserSettingPermission valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016–2021. All rights reserved.