public interface PlayerProfile extends Player
Modifier and Type | Method and Description |
---|---|
String |
getCountryCode()
Returns a
String representation of a country code |
Date |
getDateOfBirth()
Returns the
Date specifying the date of birth of the player associated with the current instance |
String |
getFullName(Locale locale)
Returns the player full name in the specified language
|
default String |
getGender()
Returns gender of the player
|
Integer |
getHeight()
Returns the height in centimeters of the player represented by the current instance or a null reference if height is not known
|
Integer |
getJerseyNumber()
Returns the player jersey number
|
Map<Locale,String> |
getNationalities()
Returns an unmodifiable
Map containing player's nationality in different languages |
String |
getNationality(Locale locale)
Returns the nationality of the player in the requested
Locale |
String |
getNickname()
Returns the player nickname
|
String |
getType()
Returns the value describing the type(e.g.
|
Integer |
getWeight()
Returns the weight in kilograms of the player represented by the current instance or a null reference if weight is not known
|
String getFullName(Locale locale)
locale
- - Locale
specifying the language of the returned player nameString getType()
Date getDateOfBirth()
Date
specifying the date of birth of the player associated with the current instanceDate
specifying the date of birth of the player associated with the current instanceInteger getHeight()
Integer getWeight()
String getCountryCode()
String
representation of a country codeString
representation of a country codeString getNationality(Locale locale)
Locale
Map<Locale,String> getNationalities()
Map
containing player's nationality in different languagesMap
containing player's nationality in different languagesInteger getJerseyNumber()
String getNickname()
default String getGender()
Copyright © 2016–2025. All rights reserved.