Package ai.tock.translator
Interface I18nLabelContract
-
- All Implemented Interfaces:
public interface I18nLabelContract
-
-
Method Summary
Modifier and Type Method Description abstract I18nLabelContractwithDefaultLabel(String defaultLabel)abstract I18nLabelContractwithUpdatedI18n(LinkedHashSet<I18nLocalizedLabel> i18n, Integer version)abstract Id<I18nLabel>get_id()abstract StringgetNamespace()abstract StringgetCategory()abstract LinkedHashSet<I18nLocalizedLabel>getI18n()abstract StringgetDefaultLabel()abstract LocalegetDefaultLocale()abstract Set<I18nLocalizedLabel>getDefaultI18n()abstract IntegergetVersion()-
-
Method Detail
-
withDefaultLabel
abstract I18nLabelContract withDefaultLabel(String defaultLabel)
-
withUpdatedI18n
abstract I18nLabelContract withUpdatedI18n(LinkedHashSet<I18nLocalizedLabel> i18n, Integer version)
-
getNamespace
abstract String getNamespace()
-
getCategory
abstract String getCategory()
-
getI18n
abstract LinkedHashSet<I18nLocalizedLabel> getI18n()
-
getDefaultLabel
abstract String getDefaultLabel()
-
getDefaultLocale
abstract Locale getDefaultLocale()
-
getDefaultI18n
abstract Set<I18nLocalizedLabel> getDefaultI18n()
-
getVersion
abstract Integer getVersion()
-
-
-
-