Class MarketMappingDataImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.markets.MarketMappingDataImpl
- All Implemented Interfaces:
MarketMappingData
Created on 14/06/2017.
// TODO @eti: Javadoc
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if the mapping data is usable with the provided valuesReturns the market idReturns the market sub type idintReturns the market type idReturns aMapof valid outcome mappings for thisMarketMappingDataThe associated producer idsReturns the "special odds value"The sport id for which the mapping data is validReturns aStringdescribing for which specifier values the mapping is validtoString()
-
Method Details
-
getProducerIds
Description copied from interface:MarketMappingDataThe associated producer ids- Specified by:
getProducerIdsin interfaceMarketMappingData- Returns:
- the producer ids for which the mappings are valid
-
getSportId
Description copied from interface:MarketMappingDataThe sport id for which the mapping data is valid- Specified by:
getSportIdin interfaceMarketMappingData- Returns:
- the sport id for which the mapping data is valid
-
getMarketId
Description copied from interface:MarketMappingDataReturns the market id- Specified by:
getMarketIdin interfaceMarketMappingData- Returns:
- the market id
-
getMarketTypeId
public int getMarketTypeId()Description copied from interface:MarketMappingDataReturns the market type id- Specified by:
getMarketTypeIdin interfaceMarketMappingData- Returns:
- the market type id
-
getMarketSubTypeId
Description copied from interface:MarketMappingDataReturns the market sub type id- Specified by:
getMarketSubTypeIdin interfaceMarketMappingData- Returns:
- the market sub type id
-
getSovTemplate
Description copied from interface:MarketMappingDataReturns the "special odds value"- Specified by:
getSovTemplatein interfaceMarketMappingData- Returns:
- the "special odds value"
-
getValidFor
Description copied from interface:MarketMappingDataReturns aStringdescribing for which specifier values the mapping is valid- Specified by:
getValidForin interfaceMarketMappingData- Returns:
- a
Stringdescribing for which specifier values the mapping is valid
-
getOutcomeMappings
Description copied from interface:MarketMappingDataReturns aMapof valid outcome mappings for thisMarketMappingData- Specified by:
getOutcomeMappingsin interfaceMarketMappingData- Returns:
- a
Mapof valid outcome mappings
-
canMap
Description copied from interface:MarketMappingDataIndicates if the mapping data is usable with the provided values- Specified by:
canMapin interfaceMarketMappingData- Parameters:
producerId- a valid producerIdsportId- a validUrnsport identifierspecifiers- aMapof feed message specifiers- Returns:
trueif the mapping data is valid for the provided values; otherwisefalse
-
toString
-