Interface Stage

All Superinterfaces:
Competition, SportEvent
All Known Implementing Classes:
StageImpl

public interface Stage extends Competition
Defines methods implemented by classes representing sport events of stage type
  • Method Details

    • getSport

      SportSummary getSport()
      Returns a SportSummary instance representing the sport associated with the current instance
      Returns:
      a SportSummary instance representing the sport associated with the current instance
    • getCategory

      CategorySummary getCategory()
      Returns a CategorySummary representing the category associated with the current instance
      Returns:
      a CategorySummary representing the category associated with the current instance
    • getParentStage

      Stage getParentStage()
      Returns a Stage representing the parent stage of the stage represented by the current instance
      Returns:
      a Stage representing the parent stage of the stage represented by the current instance or a null reference if the represented stage does not have the parent stage
    • getStages

      List<Stage> getStages()
      Returns a List of Stage instances representing stages of the multi-stage stage
      Returns:
      a List of Stage instances representing stages of the multi-stage stage, if available
    • getStageType

      StageType getStageType()
      Returns a StageType indicating the type of the associated stage
      Returns:
      a StageType indicating the type of the associated stage
    • getAdditionalParentStages

      default List<Stage> getAdditionalParentStages()
      Returns a list of additional ids of the parent stages of the current instance or a null reference if the represented stage does not have the parent stages
      Returns:
      a list of additional ids of the parent stages of the current instance or a null reference if the represented stage does not have the parent stages
    • getStatus

      default StageStatus getStatus()
      Returns a StageStatus containing information about the progress of the stage associated with the current instance
      Specified by:
      getStatus in interface Competition
      Returns:
      - a StageStatus containing information about the progress of the stage associated with the current instance