java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.FixtureImpl
All Implemented Interfaces:
Fixture

public class FixtureImpl extends Object implements Fixture
A representation of a fixture A Fixture is a sport event that has been arranged for a particular time and place
See Also:
  • Constructor Details

    • FixtureImpl

      public FixtureImpl(com.sportradar.uf.sportsapi.datamodel.SapiFixture fixture)
      Initializes a new instance of the FixtureImpl
      Parameters:
      fixture - - SapiFixture used to create the new instance
    • FixtureImpl

      public FixtureImpl(ExportableFixtureCi exportable)
  • Method Details

    • getStartTime

      public Date getStartTime()
      Returns the Date instance specifying when the fixture is scheduled to start
      Specified by:
      getStartTime in interface Fixture
      Returns:
      - the Date instance specifying when the fixture is scheduled to start
    • isStartTimeConfirmed

      public boolean isStartTimeConfirmed()
      Returns the value indicating whether the start time of the fixture has been confirmed
      Specified by:
      isStartTimeConfirmed in interface Fixture
      Returns:
      - the value indicating whether the start time of the fixture has been confirmed
    • getStartTimeTbd

      public Boolean getStartTimeTbd()
      An indication if the start tam is yet to be defined
      Specified by:
      getStartTimeTbd in interface Fixture
      Returns:
      an indication if the start tam is yet to be defined
    • getNextLiveTime

      public Date getNextLiveTime()
      Returns the Date instance specifying the live time in case the fixture was re-schedule, or a null reference if the fixture was not re-scheduled
      Specified by:
      getNextLiveTime in interface Fixture
      Returns:
      - the Date instance specifying the live time in case the fixture was re-schedule, or a null reference if the fixture was not re-scheduled
    • getExtraInfo

      public Map<String,String> getExtraInfo()
      Returns an unmodifiable Map containing additional information about the fixture
      Specified by:
      getExtraInfo in interface Fixture
      Returns:
      - an unmodifiable Map containing additional information about the fixture
      See Also:
      • ImmutableMap
    • getTvChannels

      public List<TvChannel> getTvChannels()
      Returns an unmodifiable List representing TV channels covering the sport event
      Specified by:
      getTvChannels in interface Fixture
      Returns:
      - an unmodifiable List representing TV channels covering the sport event
      See Also:
      • ImmutableList
    • getCoverageInfo

      public CoverageInfo getCoverageInfo()
      Returns the CoverageInfo instance specifying what coverage is available for the sport event
      Specified by:
      getCoverageInfo in interface Fixture
      Returns:
      - the CoverageInfo instance specifying what coverage is available for the sport event
    • getProducerInfo

      public ProducerInfo getProducerInfo()
      Returns the ProducerInfo instance providing sportradar related information about the sport event associated
      Specified by:
      getProducerInfo in interface Fixture
      Returns:
      - the ProducerInfo instance providing sportradar related information about the sport event associated
    • getReferences

      public Reference getReferences()
      Returns the reference ids
      Specified by:
      getReferences in interface Fixture
      Returns:
      - the reference ids
    • getReplacedBy

      public Urn getReplacedBy()
      Returns the Urn identifier of the replacement event
      Specified by:
      getReplacedBy in interface Fixture
      Returns:
      the Urn identifier of the replacement event
    • getScheduledStartTimeChanges

      public List<ScheduledStartTimeChange> getScheduledStartTimeChanges()
      Returns the list of all ScheduledStartTimeChange to start time
      Specified by:
      getScheduledStartTimeChanges in interface Fixture
      Returns:
      the list of all ScheduledStartTimeChange to start time
    • getParentStageId

      public Urn getParentStageId()
      Returns an id of the parent stage associated with the current instance
      Specified by:
      getParentStageId in interface Fixture
      Returns:
      id of the parent stage associated with the current instance
    • getAdditionalParentsIds

      public List<Urn> getAdditionalParentsIds()
      Returns the list specifying the additional parent ids associated with the current instance
      Specified by:
      getAdditionalParentsIds in interface Fixture
      Returns:
      the list specifying the additional parent ids associated with the current instance
    • toString

      public String toString()
      Returns a String describing the current Fixture instance
      Overrides:
      toString in class Object
      Returns:
      - a String describing the current Fixture instance
    • export

      public ExportableFixtureCi export()