Class PlayerEntity
java.lang.Object
com.sportradar.livedata.sdk.feed.livescout.entities.LiveScoutEntityBase
com.sportradar.livedata.sdk.feed.livescout.entities.PlayerEntity
- All Implemented Interfaces:
Serializable
A player in the lineup.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList of attributesintgetId()ID of the player.List of match rolesgetName()Name of the player.Gets nicknamegetOrder()Order of the playerGet the position of the player?intShirt number.Restrictions may apply due to existing contractual obligations.getTeam()Team of the player.Is the player a substitute?Methods inherited from class com.sportradar.livedata.sdk.feed.livescout.entities.LiveScoutEntityBase
getEventId
-
Constructor Details
-
PlayerEntity
public PlayerEntity()
-
-
Method Details
-
getId
public int getId()ID of the player.- Returns:
- id
-
getAttributes
List of attributes- Returns:
- attributes
-
getMatchRoles
List of match roles- Returns:
- match roles
-
getSpecificContracts
Restrictions may apply due to existing contractual obligations. For example people with 2-way contract cannot have open player markets.- Returns:
- names of specific contracts
-
getName
Name of the player.- Returns:
- name
-
getNickname
Gets nickname- Returns:
- nickname
-
getPosition
Get the position of the player?- Returns:
- player position
-
getShirtNumber
public int getShirtNumber()Shirt number.- Returns:
- shirt number
-
getTeam
Team of the player.- Returns:
- team
-
getOrder
Order of the player- Returns:
- order
-
isSubstitute
Is the player a substitute?- Returns:
- substitute
-