de.hattrickorganizer.model
Class TeamLineup

java.lang.Object
  extended by de.hattrickorganizer.model.TeamLineup
All Implemented Interfaces:
ITeamLineup

public class TeamLineup
extends java.lang.Object
implements ITeamLineup

Hattrick Lineup Object

Author:
Draghetto HO

Field Summary
 
Fields inherited from interface plugins.ITeamLineup
ATTACK, DEFENCE, KEEPER, MIDFIELD
 
Constructor Summary
TeamLineup()
          Creates a new Lineup object.
 
Method Summary
 void add(java.lang.String playerId, int area)
          Add a player to the lineup
 java.util.List getArea(int area)
          Returns the list of players that plays in the specified area
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamLineup

public TeamLineup()
Creates a new Lineup object.

Method Detail

getArea

public final java.util.List getArea(int area)
Returns the list of players that plays in the specified area

Specified by:
getArea in interface ITeamLineup
Parameters:
area -
Returns:
list of players

add

public final void add(java.lang.String playerId,
                      int area)
Add a player to the lineup

Specified by:
add in interface ITeamLineup
Parameters:
playerId -
area -