Enum UserGender
-
- All Implemented Interfaces:
-
java.io.Serializable,pro.fessional.mirana.data.CodeAware,pro.fessional.mirana.i18n.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 UserGender implements ConstantEnum, StandardI18nEnum
- Since:
2024-02-05
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static String$SUPERpublic final static String$MALEpublic final static String$FEMALEpublic final static String$UNKNOWNpublic 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 UserGendervalueOf(int id)static UserGenderidOf(Integer id, UserGender elz)static UserGendercodeOf(String code, UserGender elz)static UserGendernameOf(String name, UserGender elz)static Array<UserGender>values()Returns an array containing the constants of this enum type, in the order they're declared. static UserGendervalueOf(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.i18n.CodeEnum
getCode, getHint, getI18nArgs, getI18nHint -
Methods inherited from class pro.fessional.mirana.i18n.I18nAware
applyLocale, getI18nArgsIf, getI18nArgsOr, getI18nCodeIf, getI18nCodeOr, getI18nHintIf, getI18nHintOr, toI18nString -
Methods inherited from class pro.fessional.mirana.data.CodeAware
getCodeIf, getCodeOr -
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 UserGender valueOf(int id)
-
idOf
@Contract(value = "_, !null -> !null") static UserGender idOf(Integer id, UserGender elz)
-
codeOf
@Contract(value = "_, !null -> !null") static UserGender codeOf(String code, UserGender elz)
-
nameOf
@Contract(value = "_, !null -> !null") static UserGender nameOf(String name, UserGender elz)
-
values
static Array<UserGender> 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 UserGender 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()
-
-
-
-