public class OutcomeDescriptionImpl extends Object implements OutcomeDescription
| Constructor and Description |
|---|
OutcomeDescriptionImpl(String id,
Map<Locale,String> names) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription(Locale locale)
Returns the outcome name translated in the provided
Locale |
String |
getId()
Returns the outcome identifier
|
Collection<Locale> |
getLocales()
Returns a list of
Locale cached in this instance |
String |
getName(Locale locale)
Returns the outcome name translated in the provided
Locale |
public String getId()
OutcomeDescriptiongetId in interface OutcomeDescriptionpublic String getName(Locale locale)
OutcomeDescriptionLocalegetName in interface OutcomeDescriptionlocale - the Locale in which the outcome name should be returnedLocalepublic String getDescription(Locale locale)
OutcomeDescriptionLocalegetDescription in interface OutcomeDescriptionlocale - the Locale in which the outcome name should be returnedLocalepublic Collection<Locale> getLocales()
Locale cached in this instancegetLocales in interface OutcomeDescriptionLocaleCopyright © 2016–2025. All rights reserved.