java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.ci.ChildRaceCi
com.sportradar.unifiedodds.sdk.internal.caching.ci.ParentRaceCi

public class ParentRaceCi extends ChildRaceCi
A parent race representation used by caching components
  • Constructor Details

    • ParentRaceCi

      public ParentRaceCi(com.sportradar.uf.sportsapi.datamodel.SapiParentStage parentStage, Locale locale)
      Initializes a new instance of the ParentRaceCi class
      Parameters:
      parentStage - - SapiParentStage instance containing information about the child race
      locale - - Locale specifying the language of the sportEvent
  • Method Details

    • getId

      public Urn getId()
      Returns the Urn of the represented sport entity
      Returns:
      - the Urn of the represented sport entity
    • equals

      public boolean equals(Object obj)
      Determines whether the specified object is equal to the current object
      Overrides:
      equals in class Object
      Parameters:
      obj - - the object to compare with the current object
      Returns:
      - true if the specified object is equal to the current object. otherwise, false
    • hashCode

      public int hashCode()
      Serves as the default hash function
      Overrides:
      hashCode in class Object
      Returns:
      - a hash code for the current object