Interface LocalizedDescribed
-
- All Known Subinterfaces:
TransactionCode
public interface LocalizedDescribed
Represents an object with a localized description- Since:
- 12.31
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescription(java.util.Locale locale)
Returns the description of this object in the specified language.java.util.Map<java.util.Locale,java.lang.String>
getLocalizedDescriptions()
Returns the localized descriptions of this object.
-
-
-
Method Detail
-
getDescription
java.lang.String getDescription(java.util.Locale locale)
Returns the description of this object in the specified language. If the specified language is not supported the configured default language of the novomind iAGENT system will be used instead. Please note that only the language attribute of the givenLocale
is used.- Parameters:
locale
- the locale with the language used to localize the description of this object- Returns:
- the description of this object in the specified language
- Since:
- 12.31
-
getLocalizedDescriptions
java.util.Map<java.util.Locale,java.lang.String> getLocalizedDescriptions()
Returns the localized descriptions of this object. Please note that only the language attribute of theLocale
s is used.- Returns:
- a map with all localized descriptions of this object
- Since:
- 12.31
-
-