it.tidalwave.role
Interface LocalizedDisplayable

Package class diagram package LocalizedDisplayable
All Superinterfaces:
Displayable
All Known Subinterfaces:
MutableLocalizedDisplayable
All Known Implementing Classes:
DefaultDisplayable, DefaultMutableDisplayable

public interface LocalizedDisplayable
extends Displayable

A specialized Displayable which can manage names in multiple Locales.

Version:
$Id$
Author:
Fabrizio Giudici
Status: stable API

Field Summary
static Class<LocalizedDisplayable> LocalizedDisplayable
           
 
Fields inherited from interface it.tidalwave.role.Displayable
DEFAULT, Displayable
 
Method Summary
 String getDisplayName(Locale locale)
          Returns the display name in the given Locale.
 Map<Locale,String> getDisplayNames()
          Returns all the display names in Map where they are indexed by Locale.
 SortedSet<Locale> getLocales()
          Returns the supported Locales.
 
Methods inherited from interface it.tidalwave.role.Displayable
getDisplayName
 

Field Detail

LocalizedDisplayable

static final Class<LocalizedDisplayable> LocalizedDisplayable
Method Detail

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


Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.