Interface MTranslatedTextType

All Known Implementing Classes:
MTranslatedText

@Immutable public interface MTranslatedTextType
A text with zero or more alternative translations.
  • Method Details

    • language

      @Default default MLanguageCode language()
      Returns:
      The base language
    • text

      String text()
      Returns:
      The text in the base language
    • translations

      Map<MLanguageCode, String> translations()
      Returns:
      The translations
    • all

      default Map<MLanguageCode, String> all()
      Returns:
      All texts including the base text and translations