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 OutcomeProbabilities
public double getProbability()
getProbability
in interface OutcomeProbabilities
public AdditionalProbabilities getAdditionalProbabilities()
getAdditionalProbabilities
in interface OutcomeProbabilities
public String getId()
public String getName()
public String getName(Locale locale)
Outcome
public OutcomeDefinition getOutcomeDefinition()
getOutcomeDefinition
in interface Outcome
Copyright © 2016–2025. All rights reserved.