public class OutcomeProbabilitiesImpl extends Object implements OutcomeProbabilities
| Modifier and Type | Method and Description | 
|---|---|
AdditionalProbabilities | 
getAdditionalProbabilities()
Additional probability attributes for markets which potentially will be (partly) refunded 
 | 
String | 
getId()
Returns the outcome id 
 | 
String | 
getName()
Returns the outcome name 
 | 
String | 
getName(Locale locale)
Returns the outcome name translated in the provided locale 
 | 
Map<Locale,String> | 
getNames(List<Locale> locales)  | 
OutcomeDefinition | 
getOutcomeDefinition()
Returns the description of this outcome 
 | 
double | 
getProbability()
The probability for this outcome (how likely is this outcome) 
 | 
boolean | 
isActive()
If this outcome is deactivated this will return false 
 | 
public boolean isActive()
isActive in interface OutcomeProbabilitiespublic double getProbability()
getProbability in interface OutcomeProbabilitiespublic AdditionalProbabilities getAdditionalProbabilities()
getAdditionalProbabilities in interface OutcomeProbabilitiespublic String getId()
public String getName()
public String getName(Locale locale)
Outcomepublic OutcomeDefinition getOutcomeDefinition()
getOutcomeDefinition in interface OutcomeCopyright © 2016–2025. All rights reserved.