public class Team extends Object
| Constructor and Description |
|---|
Team() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGoalsAgainst(int goalsAgainst) |
void |
addGoalsInFavor(int goalsInFavor) |
void |
drawMatch() |
boolean |
equals(Object o) |
int |
getGoalsAgainst() |
int |
getGoalsInFavor() |
String |
getHomeCity() |
String |
getId() |
int |
getMatchesDraw() |
int |
getMatchesLost() |
int |
getMatchesPlayed() |
int |
getMatchesWon() |
String |
getName() |
int |
getPoints() |
String |
getStadium() |
int |
hashCode() |
void |
incrementMatchesPlayed() |
void |
lostMatch() |
void |
revertDrawMatch() |
void |
revertLostMatch() |
void |
revertWonMatch() |
void |
setGoalsAgainst(int goalsAgainst) |
void |
setGoalsInFavor(int goalsInFavor) |
void |
setHomeCity(String homeCity) |
void |
setId(String id) |
void |
setMatchesDraw(int matchesDraw) |
void |
setMatchesLost(int matchesLost) |
void |
setMatchesPlayed(int matchesPlayed) |
void |
setMatchesWon(int matchesWon) |
void |
setName(String name) |
void |
setPoints(int points) |
void |
setStadium(String stadium) |
void |
wonMatch() |
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public String getHomeCity()
public void setHomeCity(String homeCity)
public String getStadium()
public void setStadium(String stadium)
public int getMatchesPlayed()
public void incrementMatchesPlayed()
public void setMatchesPlayed(int matchesPlayed)
public int getPoints()
public void setPoints(int points)
public int getMatchesWon()
public void wonMatch()
public void revertWonMatch()
public void drawMatch()
public void revertDrawMatch()
public void lostMatch()
public void revertLostMatch()
public void setMatchesWon(int matchesWon)
public int getMatchesLost()
public void setMatchesLost(int matchesLost)
public int getMatchesDraw()
public void setMatchesDraw(int matchesDraw)
public void addGoalsInFavor(int goalsInFavor)
public void addGoalsAgainst(int goalsAgainst)
public int getGoalsInFavor()
public void setGoalsInFavor(int goalsInFavor)
public int getGoalsAgainst()
public void setGoalsAgainst(int goalsAgainst)
Copyright © 2021. All rights reserved.