Interface CompetitorCi

All Superinterfaces:
CacheItem

public interface CompetitorCi extends CacheItem
Defines methods used to access competitor information
  • Method Details

    • getCountryNames

      Map<Locale,String> getCountryNames(List<Locale> locales)
      Returns the Map containing translated country names
      Parameters:
      locales - a List specifying the required languages
      Returns:
      the Map containing translated country names
    • getAbbreviations

      Map<Locale,String> getAbbreviations(List<Locale> locales)
      Returns the Map containing translated competitor abbreviations
      Parameters:
      locales - a List specifying the required languages
      Returns:
      the Map containing translated competitor abbreviations
    • isVirtual

      Boolean isVirtual()
      Returns a value indicating whether represented competitor is virtual
      Returns:
      - a value indicating whether represented competitor is virtual
    • getCountryCode

      String getCountryCode()
      Returns a String representation of a country code
      Returns:
      - a String representation of a country code
    • getReferenceId

      ReferenceIdCi getReferenceId()
      Returns the reference ids associated with the current instance
      Returns:
      - the reference ids associated with the current instance
    • getAssociatedPlayerIds

      List<Urn> getAssociatedPlayerIds(List<Locale> locales)
      Returns a List of associated player ids
      Parameters:
      locales - the locales in which the players data should be pre-fetched
      Returns:
      List of associated player ids
    • getAssociatedPlayerJerseyNumbers

      Map<Urn,Integer> getAssociatedPlayerJerseyNumbers(List<Locale> locales)
      Returns a Map of associated player jersey numbers
      Parameters:
      locales - the locales in which the players data should be pre-fetched
      Returns:
      Map of associated player jersey numbers
    • getJerseys

      List<JerseyCi> getJerseys()
      Returns a List of known competitor jerseys
      Returns:
      List of known competitor jerseys
    • getManager

      ManagerCi getManager(List<Locale> locales)
      Returns the associated competitor manager
      Parameters:
      locales - the locales in which the data should be translated
      Returns:
      the associated competitor manager
    • getVenue

      VenueCi getVenue(List<Locale> locales)
      Return the associated competitor home venue
      Parameters:
      locales - the locales in which the data should be translated
      Returns:
      the associated competitor home venue
    • getGender

      String getGender()
      Get the gender of the player
      Returns:
      the gender
    • getAgeGroup

      String getAgeGroup()
      Get the age group of the player
      Returns:
      the age group
    • getRaceDriver

      RaceDriverProfileCi getRaceDriver()
      Returns race driver of the competitor
      Returns:
      the race driver of the competitor if available; otherwise null
    • getLastTimeCompetitorProfileIsFetched

      Date getLastTimeCompetitorProfileIsFetched()
      Last time (if any) competitor profile was fetched
      Returns:
      Last time (if any) competitor profile was fetched
    • getCultureCompetitorProfileFetched

      List<Locale> getCultureCompetitorProfileFetched()
      The list of locales used to fetch competitor profiles
      Returns:
      the list of locales used to fetch competitor profiles
    • getState

      String getState()
      Returns state/province of the country
      Returns:
      state
    • getSportId

      Urn getSportId()
      Returns id of the associated sport
      Returns:
      sport id
    • getCategoryId

      Urn getCategoryId()
      Returns id of the associated category
      Returns:
      category id
    • getShortName

      String getShortName()
      Return the short name
      Returns:
      the short name
    • getDivision

      DivisionCi getDivision()