public class MarketMappingDataImpl extends Object implements MarketMappingData
Modifier and Type | Method and Description |
---|---|
boolean |
canMap(int producerId,
Urn sportId,
Map<String,String> specifiers)
Indicates if the mapping data is usable with the provided values
|
String |
getMarketId()
Returns the market id
|
Integer |
getMarketSubTypeId()
Returns the market sub type id
|
int |
getMarketTypeId()
Returns the market type id
|
Map<String,OutcomeMappingData> |
getOutcomeMappings()
Returns a
Map of valid outcome mappings for this MarketMappingData |
Set<Integer> |
getProducerIds()
The associated producer ids
|
String |
getSovTemplate()
Returns the "special odds value"
|
Urn |
getSportId()
The sport id for which the mapping data is valid
|
String |
getValidFor()
Returns a
String describing for which specifier values the mapping is valid |
String |
toString() |
public Set<Integer> getProducerIds()
MarketMappingData
getProducerIds
in interface MarketMappingData
public Urn getSportId()
MarketMappingData
getSportId
in interface MarketMappingData
public String getMarketId()
MarketMappingData
getMarketId
in interface MarketMappingData
public int getMarketTypeId()
MarketMappingData
getMarketTypeId
in interface MarketMappingData
public Integer getMarketSubTypeId()
MarketMappingData
getMarketSubTypeId
in interface MarketMappingData
public String getSovTemplate()
MarketMappingData
getSovTemplate
in interface MarketMappingData
public String getValidFor()
MarketMappingData
String
describing for which specifier values the mapping is validgetValidFor
in interface MarketMappingData
String
describing for which specifier values the mapping is validpublic Map<String,OutcomeMappingData> getOutcomeMappings()
MarketMappingData
Map
of valid outcome mappings for this MarketMappingData
getOutcomeMappings
in interface MarketMappingData
Map
of valid outcome mappingspublic boolean canMap(int producerId, Urn sportId, Map<String,String> specifiers)
MarketMappingData
canMap
in interface MarketMappingData
producerId
- a valid producerIdsportId
- a valid Urn
sport identifierspecifiers
- a Map
of feed message specifierstrue
if the mapping data is valid for the provided values; otherwise false
Copyright © 2016–2025. All rights reserved.