Class PlayerEntity

    • Constructor Detail

      • PlayerEntity

        public PlayerEntity()
    • 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