Class RefereeCi
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.ci.RefereeCi
A referee representation used by caching components
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the specified object is equal to the current objectexport()getId()Returns theUrnof the represented sport entitygetName()Returns the name of the refereegetNationality(Locale locale) Returns the nationality of the referee in the specified languageinthashCode()Serves as the default hash functionvoidMerges the information from the providedSapiRefereeinto the current instance
-
Method Details
-
merge
Merges the information from the providedSapiRefereeinto the current instance- Parameters:
referee- -SapiRefereecontaining information about the refereelocale- -Localespecifying the language of the referee
-
getName
Returns the name of the referee- Returns:
- - the name of the referee
-
getNationality
Returns the nationality of the referee in the specified language- Parameters:
locale- -Localespecifying the language of the returned nationality- Returns:
- - The nationality of the referee in the specified language if it exists. Null otherwise.
-
export
-
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
-