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()
OutcomeDescription
getId
in interface OutcomeDescription
public String getName(Locale locale)
OutcomeDescription
Locale
getName
in interface OutcomeDescription
locale
- the Locale
in which the outcome name should be returnedLocale
public String getDescription(Locale locale)
OutcomeDescription
Locale
getDescription
in interface OutcomeDescription
locale
- the Locale
in which the outcome name should be returnedLocale
public Collection<Locale> getLocales()
Locale
cached in this instancegetLocales
in interface OutcomeDescription
Locale
Copyright © 2016–2025. All rights reserved.