Interface LocalizedDisplayable

All Superinterfaces:
Displayable
All Known Subinterfaces:
MutableLocalizedDisplayable

public interface LocalizedDisplayable extends Displayable
A specialized Displayable which can manage names in multiple Locales.
Author:
Fabrizio Giudici
Status: stable API
Stereotype:
Role
  • Field Details

  • Method Details

    • getDisplayName

      @Nonnull String getDisplayName(@Nonnull Locale locale)
      Returns the display name in the given Locale.
      Parameters:
      locale - the Locale
      Returns:
      the display name
    • getDisplayNames

      @Nonnull Map<Locale,String> getDisplayNames()
      Returns all the display names in Map where they are indexed by Locale.
      Returns:
      the display names
    • getLocales

      @Nonnull SortedSet<Locale> getLocales()
      Returns the supported Locales.
      Returns:
      the available Locales