org.mule.examples.leagues.model
Class Team
java.lang.Object
org.mule.examples.leagues.model.Team
- All Implemented Interfaces:
- Serializable
public class Team
- extends Object
- implements Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
Team()
|
Team
public Team()
getId
public String getId()
setId
public void setId(String id)
getName
public String getName()
setName
public void setName(String name)
getHomeCity
public String getHomeCity()
setHomeCity
public void setHomeCity(String homeCity)
getStadium
public String getStadium()
setStadium
public void setStadium(String stadium)
getMatchesPlayed
public int getMatchesPlayed()
incrementMatchesPlayed
public void incrementMatchesPlayed()
setMatchesPlayed
public void setMatchesPlayed(int matchesPlayed)
getPoints
public int getPoints()
setPoints
public void setPoints(int points)
getMatchesWon
public int getMatchesWon()
wonMatch
public void wonMatch()
revertWonMatch
public void revertWonMatch()
drawMatch
public void drawMatch()
revertDrawMatch
public void revertDrawMatch()
lostMatch
public void lostMatch()
revertLostMatch
public void revertLostMatch()
setMatchesWon
public void setMatchesWon(int matchesWon)
getMatchesLost
public int getMatchesLost()
setMatchesLost
public void setMatchesLost(int matchesLost)
getMatchesDraw
public int getMatchesDraw()
setMatchesDraw
public void setMatchesDraw(int matchesDraw)
addGoalsInFavor
public void addGoalsInFavor(int goalsInFavor)
addGoalsAgainst
public void addGoalsAgainst(int goalsAgainst)
getGoalsInFavor
public int getGoalsInFavor()
setGoalsInFavor
public void setGoalsInFavor(int goalsInFavor)
getGoalsAgainst
public int getGoalsAgainst()
setGoalsAgainst
public void setGoalsAgainst(int goalsAgainst)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2013. All rights reserved.