public interface CodeEnum extends I18nAware, CodeAware
I18nAware.I18nSource| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getCode()
business code
|
@NotNull String |
getHint()
default message or template
|
default @Nullable Object[] |
getI18nArgs()
the args of template
|
default @NotNull String |
getI18nCode()
the i18n code, also template id
|
default @NotNull String |
getI18nHint()
the default message or template (if no template by code)
|
applyLocale, getI18nArgsIf, getI18nArgsOr, getI18nCodeIf, getI18nCodeOr, getI18nHintIf, getI18nHintOr, toI18nString, toI18nString, toI18nString, toString, toString, toString@NotNull @NotNull String getCode()
@NotNull @NotNull String getHint()
@NotNull default @NotNull String getI18nCode()
I18nAwaregetI18nCode in interface I18nAware@NotNull default @NotNull String getI18nHint()
I18nAwaregetI18nHint in interface I18nAware@Nullable default @Nullable Object[] getI18nArgs()
I18nAwaregetI18nArgs in interface I18nAwareCopyright © 2025. All rights reserved.