Enum UserStatus
-
- All Implemented Interfaces:
-
java.io.Serializable,pro.fessional.mirana.data.CodeEnum,pro.fessional.mirana.i18n.I18nAware,pro.fessional.wings.faceless.enums.ConstantEnum,pro.fessional.wings.faceless.enums.StandardI18nEnum
@Generated(value = "wings faceless codegen") public enum UserStatus implements ConstantEnum, StandardI18nEnum
- Since:
2024-02-05
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static String$SUPERpublic final static String$UNINITpublic final static String$ACTIVEpublic final static String$INFIRMpublic final static String$UNSAFEpublic final static String$DANGERpublic final static String$FROZENpublic final static String$LOCKEDpublic final static String$CLOSEDpublic final static String$HIDDENpublic final static booleanuseIdAsKeypublic final intidpublic final Stringcodepublic final Stringhintpublic final Stringinfopublic final Stringukey
-
Method Summary
Modifier and Type Method Description StringgetType()StringgetBase()StringgetKind()StringgetI18nCode()static UserStatusvalueOf(int id)static UserStatusidOf(Integer id, UserStatus elz)static UserStatuscodeOf(String code, UserStatus elz)static UserStatusnameOf(String name, UserStatus elz)static Array<UserStatus>values()Returns an array containing the constants of this enum type, in the order they're declared. static UserStatusvalueOf(String name)Returns the enum constant of this type with the specified name. intgetId()StringgetCode()StringgetHint()StringgetInfo()StringgetUkey()-
Methods inherited from class pro.fessional.wings.faceless.enums.ConstantEnum
getId, getInfo, getSuperId, isStandard, isSuper, sameSuper -
Methods inherited from class pro.fessional.wings.faceless.enums.StandardI18nEnum
getUkey -
Methods inherited from class pro.fessional.mirana.data.CodeEnum
getCode, getHint, getI18nHint -
Methods inherited from class pro.fessional.mirana.i18n.I18nAware
getI18nArgs, toI18nString, toI18nStringArgs -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getI18nCode
@NotNull() String getI18nCode()
-
valueOf
@Nullable() static UserStatus valueOf(int id)
-
idOf
@Contract(value = "_, !null -> !null") static UserStatus idOf(Integer id, UserStatus elz)
-
codeOf
@Contract(value = "_, !null -> !null") static UserStatus codeOf(String code, UserStatus elz)
-
nameOf
@Contract(value = "_, !null -> !null") static UserStatus nameOf(String name, UserStatus elz)
-
values
static Array<UserStatus> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static UserStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
getId
int getId()
-
-
-
-