Interface EdmxI18nProvider

All Superinterfaces:
CdsProvider<EdmxI18nProvider>

public interface EdmxI18nProvider extends CdsProvider<EdmxI18nProvider>
An EdmxI18nProvider provides translatable texts for metadata documents.
  • Method Summary

    Modifier and Type
    Method
    Description
    getETag(Locale locale)
    Provides the ETag of the translatable texts for a given locale.
    getTexts(Locale locale)
    Provides the translatable texts for a given locale.

    Methods inherited from interface com.sap.cds.services.runtime.CdsProvider

    setPrevious
  • Method Details

    • getETag

      String getETag(Locale locale)
      Provides the ETag of the translatable texts for a given locale.
      Parameters:
      locale - the locale
      Returns:
      the ETag of the translatable texts in the respective locale.
    • getTexts

      Map<String,String> getTexts(Locale locale)
      Provides the translatable texts for a given locale.
      Parameters:
      locale - the locale
      Returns:
      the i18n keys mapped to the texts in the respective locale.