Enum GrantType
-
- 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 GrantType implements ConstantEnum, StandardI18nEnum
- Since:
2024-02-05
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static String$SUPERpublic final static String$PERMpublic final static String$ROLEpublic 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 GrantTypevalueOf(int id)static GrantTypeidOf(Integer id, GrantType elz)static GrantTypecodeOf(String code, GrantType elz)static GrantTypenameOf(String name, GrantType elz)static Array<GrantType>values()Returns an array containing the constants of this enum type, in the order they're declared. static GrantTypevalueOf(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()
-
values
static Array<GrantType> 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 GrantType 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()
-
-
-
-