Class TeamLineup

java.lang.Object
com.sportdataapi.data.TeamLineup

public class TeamLineup
extends java.lang.Object
Provides the lineup for a team.
Author:
ralph
  • Constructor Summary

    Constructors 
    Constructor Description
    TeamLineup()
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getFormation()
    Returns the formation.
    java.util.List<Player> getPlayers()
    Returns the players.
    int getTeamId()
    Returns the teamId.
    boolean isFormationConfirmed()
    Returns the formationConfirmed.
    void setFormation​(java.lang.String formation)
    Sets the formation.
    void setFormationConfirmed​(boolean formationConfirmed)
    Sets the formationConfirmed.
    void setPlayers​(java.util.List<Player> players)
    Sets the players.
    void setTeamId​(int teamId)
    Sets the teamId.
    java.lang.String toString()

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getTeamId

      public int getTeamId()
      Returns the teamId.
      Returns:
      the teamId
    • setTeamId

      public void setTeamId​(int teamId)
      Sets the teamId.
      Parameters:
      teamId - the teamId to set
    • getFormation

      public java.lang.String getFormation()
      Returns the formation.
      Returns:
      the formation
    • setFormation

      public void setFormation​(java.lang.String formation)
      Sets the formation.
      Parameters:
      formation - the formation to set
    • isFormationConfirmed

      public boolean isFormationConfirmed()
      Returns the formationConfirmed.
      Returns:
      the formationConfirmed
    • setFormationConfirmed

      public void setFormationConfirmed​(boolean formationConfirmed)
      Sets the formationConfirmed.
      Parameters:
      formationConfirmed - the formationConfirmed to set
    • getPlayers

      public java.util.List<Player> getPlayers()
      Returns the players.
      Returns:
      the players
    • setPlayers

      public void setPlayers​(java.util.List<Player> players)
      Sets the players.
      Parameters:
      players - the players to set
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object