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
public class PlayerEntity extends LiveScoutEntityBase implements Serializable
A player in the lineup.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlayerEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttributeEntity>
getAttributes()
List of attributesint
getId()
ID of the player.List<MatchRoleEntity>
getMatchRoles()
List of match rolesString
getName()
Name of the player.String
getNickname()
Gets nicknameInteger
getOrder()
Order of the playerString
getPosition()
Get the position of the player?int
getShirtNumber()
Shirt number.List<String>
getSpecificContracts()
Restrictions may apply due to existing contractual obligations.Team
getTeam()
Team of the player.Boolean
isSubstitute()
Is the player a substitute?-
Methods inherited from class com.sportradar.livedata.sdk.feed.livescout.entities.LiveScoutEntityBase
getEventId
-
-
-
-
Method Detail
-
getId
public int getId()
ID of the player.- Returns:
- id
-
getAttributes
public List<AttributeEntity> getAttributes()
List of attributes- Returns:
- attributes
-
getMatchRoles
public List<MatchRoleEntity> getMatchRoles()
List of match roles- Returns:
- match roles
-
getSpecificContracts
public List<String> 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
public String getName()
Name of the player.- Returns:
- name
-
getNickname
public String getNickname()
Gets nickname- Returns:
- nickname
-
getPosition
public String getPosition()
Get the position of the player?- Returns:
- player position
-
getShirtNumber
public int getShirtNumber()
Shirt number.- Returns:
- shirt number
-
getTeam
public Team getTeam()
Team of the player.- Returns:
- team
-
getOrder
public Integer getOrder()
Order of the player- Returns:
- order
-
isSubstitute
public Boolean isSubstitute()
Is the player a substitute?- Returns:
- substitute
-
-