Interface Player

All Known Subinterfaces:
Assist, Competitor, CompetitorPlayer, EventPlayer, GoalScorer, PlayerProfile, TeamCompetitor
All Known Implementing Classes:
AssistImpl, CompetitorImpl, CompetitorPlayerImpl, EventPlayerImpl, GoalScorerImpl, PlayerImpl, PlayerProfileImpl, TeamCompetitorImpl

public interface Player
An interface providing methods to access player details
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the unique Urn identifier representing the current Player instance
    getName(Locale locale)
    Returns the name of the player in the specified language
    Returns an unmodifiable map of available translated names
  • Method Details

    • getId

      Urn getId()
      Returns the unique Urn identifier representing the current Player instance
      Returns:
      - the unique Urn identifier representing the current Player instance
    • getNames

      Map<Locale,String> getNames()
      Returns an unmodifiable map of available translated names
      Returns:
      - an unmodifiable map of available translated names
    • getName

      String getName(Locale locale)
      Returns the name of the player in the specified language
      Parameters:
      locale - - a Locale specifying the language of the returned name
      Returns:
      - the name of the player in the specified language