Class ChildRaceCi
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.ci.ChildRaceCi
- Direct Known Subclasses:
ParentRaceCi
A child race representation used by caching components
-
Constructor Summary
ConstructorsConstructorDescriptionChildRaceCi(com.sportradar.uf.sportsapi.datamodel.SapiSportEventChildren.SapiSportEvent sportEvent, Locale locale) Initializes a new instance of theChildRaceCiclass -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the specified object is equal to the current objectgetId()Returns theUrnof the represented sport entitygetName()Returns the name of the race represented by the current instanceReturns aDatespecifying the scheduled start date for the sport event associated with the current instanceReturns aDatespecifying the scheduled end time of the sport event associated with the current instancegetType()Returns aSportEventTypespecifying the type of the associated sport event or a null reference if property is not applicable for the associated raceinthashCode()Serves as the default hash function
-
Constructor Details
-
ChildRaceCi
public ChildRaceCi(com.sportradar.uf.sportsapi.datamodel.SapiSportEventChildren.SapiSportEvent sportEvent, Locale locale) Initializes a new instance of theChildRaceCiclass- Parameters:
sportEvent- -SapiSportEventChildren.SapiSportEventinstance containing information about the child racelocale- -Localespecifying the language of the sportEvent
-
-
Method Details
-
getType
Returns aSportEventTypespecifying the type of the associated sport event or a null reference if property is not applicable for the associated race- Returns:
- - a
SportEventTypespecifying the type of the associated sport event or a null reference if property is not applicable for the associated race
-
getName
Returns the name of the race represented by the current instance- Returns:
- - the name of the race represented by the current instance
-
getSchedule
Returns aDatespecifying the scheduled start date for the sport event associated with the current instance- Returns:
- - a
Datespecifying the scheduled start date for the sport event associated with the current instance
-
getScheduleEnd
Returns aDatespecifying the scheduled end time of the sport event associated with the current instance- Returns:
- - a
Datespecifying the scheduled end time of the sport event associated with the current instance
-
getId
Returns theUrnof the represented sport entity- Returns:
- - the
Urnof the represented sport entity
-
equals
Determines whether the specified object is equal to the current object -
hashCode
public int hashCode()Serves as the default hash function
-