Interface PlayerProfileCi

All Superinterfaces:
CacheItem

public interface PlayerProfileCi extends CacheItem
Defines methods used to access cached player data
  • Method Details

    • getFullNames

      Map<Locale,String> getFullNames(List<Locale> locales)
      Returns the Map containing translated full names of the player
      Parameters:
      locales - a List specifying the required languages
      Returns:
      the Map containing translated full names of the player
    • getNationalities

      Map<Locale,String> getNationalities(List<Locale> locales)
      Returns the Map containing translated nationalities of the player
      Parameters:
      locales - a List specifying the required languages
      Returns:
      the Map containing translated nationalities of the player
    • getType

      String getType()
      Returns the value describing the type(e.g. forward, defense, ...) of the player represented by current instance
      Returns:
      - the value describing the type(e.g. forward, defense, ...) of the player represented by current instance
    • getDateOfBirth

      Date getDateOfBirth()
      Returns the Date specifying the date of birth of the player associated with the current instance
      Returns:
      - the Date specifying the date of birth of the player associated with the current instance
    • getHeight

      Integer getHeight()
      Returns the height in centimeters of the player represented by the current instance or a null reference if height is not known
      Returns:
      - the height in centimeters of the player represented by the current instance or a null reference if height is not known
    • getWeight

      Integer getWeight()
      Returns the weight in kilograms of the player represented by the current instance or a null reference if weight is not known
      Returns:
      - the weight in kilograms of the player represented by the current instance or a null reference if weight is not known
    • getCountryCode

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

      Integer getJerseyNumber()
      Returns the player jersey number
      Returns:
      the jersey number if available; otherwise null
    • getNickname

      String getNickname()
      Returns the player nickname
      Returns:
      the player nickname if available; otherwise null
    • getAbbreviations

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

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

      Urn getCompetitorId()
      Get the competitor id this player belongs to
      Returns:
      the competitor id this player belongs to
    • merge

      <T> void merge(T endpointData, Locale dataLocale, Urn competitorId)
    • getCachedLocales

      List<Locale> getCachedLocales()
      Get the list of cached locales
      Returns:
      the list of cached locales