org.mule.examples.leagues.model
Class Team

java.lang.Object
  extended by org.mule.examples.leagues.model.Team

public class Team
extends Object


Constructor Summary
Team()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Team

public Team()
Method Detail

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.