de.hattrickorganizer.model
Class ServerTeam

java.lang.Object
  extended by de.hattrickorganizer.model.ServerTeam
All Implemented Interfaces:
java.io.Serializable

public class ServerTeam
extends java.lang.Object
implements java.io.Serializable

DOCUMENT ME!

Author:
thomas.werth
See Also:
Serialized Form

Constructor Summary
ServerTeam(Aufstellung auf, java.lang.String teamName, java.lang.String managerName, java.util.Vector serverSpieler)
          Creates a new instance of ServerTeam
ServerTeam(java.io.DataInputStream dis)
          Creates a new instance of ServerTeam
 
Method Summary
 int getAnzAbwehr()
          TODO Missing Method Documentation
 int getAnzAufgestellteSpieler()
          TODO Missing Method Documentation
 int getAnzSturm()
          TODO Missing Method Documentation
 int getAnzTW()
          TODO Missing Method Documentation
 float getAWTeamStk()
          TODO Missing Method Documentation
 int[] getElferKicker()
          Getter for property m_aElferKicker.
 float getGesamtStk()
          TODO Missing Method Documentation
 int getKapitaen()
          Getter for property m_iKapitaen.
 int getKicker()
          Getter for property m_iKicker.
 java.lang.String getManagerName()
          Getter for property m_sManagerName.
 byte getMannschaftsteil4Spieler(ServerSpieler player)
          TODO Missing Method Documentation
 float getMFTeamStk()
          TODO Missing Method Documentation
 SpielerPosition[] getPositionen()
          Gibt alle SpielerPositionen als Array zurück
 int getReserveSpielerId4Mannschaftsteil(byte mt)
          TODO Missing Method Documentation
 ServerSpieler getSpielerAufFeld(byte nr)
          liefert einen Spieler der auf dem Platz steht
 ServerSpieler getSpielerById(int id)
          TODO Missing Method Documentation
 SpielerPosition getSpielerPositionObjBySpielerID(int id)
          TODO Missing Method Documentation
 java.util.Vector getStartAufstellung()
          Getter for property m_vStartAufstellung.
 float getSTTeamStk()
          TODO Missing Method Documentation
 java.lang.String getTeamName()
          Getter for property m_sTeamName.
 float getTWTeamStk()
          TODO Missing Method Documentation
 ServerSpieler getZufaelligenSpieler(byte mt)
          TODO Missing Method Documentation
 boolean isSpielerAufFeld(int id)
          TODO Missing Method Documentation
 void save(java.io.DataOutputStream das)
           
 void setElferKicker(int[] m_aElferKicker)
          Setter for property m_aElferKicker.
 void setKapitaen(int m_iKapitaen)
          Setter for property m_iKapitaen.
 void setKicker(int m_iKicker)
          Setter for property m_iKicker.
 void setManagerName(java.lang.String m_sManagerName)
          Setter for property m_sManagerName.
 void setStartAufstellung(java.util.Vector m_vStartAufstellung)
          Setter for property m_vStartAufstellung.
 void setTeamName(java.lang.String m_sTeamName)
          Setter for property m_sTeamName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerTeam

public ServerTeam(Aufstellung auf,
                  java.lang.String teamName,
                  java.lang.String managerName,
                  java.util.Vector serverSpieler)
Creates a new instance of ServerTeam

Parameters:
auf - TODO Missing Constructuor Parameter Documentation
teamName - TODO Missing Constructuor Parameter Documentation
managerName - TODO Missing Constructuor Parameter Documentation
serverSpieler - TODO Missing Constructuor Parameter Documentation

ServerTeam

public ServerTeam(java.io.DataInputStream dis)
Creates a new instance of ServerTeam

Parameters:
dis - TODO Missing Constructuor Parameter Documentation
Method Detail

getAWTeamStk

public final float getAWTeamStk()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

getAnzAbwehr

public final int getAnzAbwehr()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

getAnzAufgestellteSpieler

public final int getAnzAufgestellteSpieler()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

getAnzSturm

public final int getAnzSturm()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

getAnzTW

public final int getAnzTW()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

setElferKicker

public final void setElferKicker(int[] m_aElferKicker)
Setter for property m_aElferKicker.

Parameters:
m_aElferKicker - New value of property m_aElferKicker.

getElferKicker

public final int[] getElferKicker()
Getter for property m_aElferKicker.

Returns:
Value of property m_aElferKicker.

getGesamtStk

public final float getGesamtStk()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

setKapitaen

public final void setKapitaen(int m_iKapitaen)
Setter for property m_iKapitaen.

Parameters:
m_iKapitaen - New value of property m_iKapitaen.

getKapitaen

public final int getKapitaen()
Getter for property m_iKapitaen.

Returns:
Value of property m_iKapitaen.

setKicker

public final void setKicker(int m_iKicker)
Setter for property m_iKicker.

Parameters:
m_iKicker - New value of property m_iKicker.

getKicker

public final int getKicker()
Getter for property m_iKicker.

Returns:
Value of property m_iKicker.

getMFTeamStk

public final float getMFTeamStk()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

setManagerName

public final void setManagerName(java.lang.String m_sManagerName)
Setter for property m_sManagerName.

Parameters:
m_sManagerName - New value of property m_sManagerName.

getManagerName

public final java.lang.String getManagerName()
Getter for property m_sManagerName.

Returns:
Value of property m_sManagerName.

getMannschaftsteil4Spieler

public final byte getMannschaftsteil4Spieler(ServerSpieler player)
TODO Missing Method Documentation

Parameters:
player - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getPositionen

public final SpielerPosition[] getPositionen()
Gibt alle SpielerPositionen als Array zurück

Returns:
TODO Missing Return Method Documentation

getReserveSpielerId4Mannschaftsteil

public final int getReserveSpielerId4Mannschaftsteil(byte mt)
TODO Missing Method Documentation

Parameters:
mt - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getSTTeamStk

public final float getSTTeamStk()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

getSpielerAufFeld

public final ServerSpieler getSpielerAufFeld(byte nr)
liefert einen Spieler der auf dem Platz steht

Parameters:
nr - von 0 - anzAufgestellteSpieler - 1 Achtung TW wird ignoriert! )
Returns:
TODO Missing Return Method Documentation

isSpielerAufFeld

public final boolean isSpielerAufFeld(int id)
TODO Missing Method Documentation

Parameters:
id - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getSpielerById

public final ServerSpieler getSpielerById(int id)
TODO Missing Method Documentation

Parameters:
id - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getSpielerPositionObjBySpielerID

public final SpielerPosition getSpielerPositionObjBySpielerID(int id)
TODO Missing Method Documentation

Parameters:
id - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

setStartAufstellung

public final void setStartAufstellung(java.util.Vector m_vStartAufstellung)
Setter for property m_vStartAufstellung.

Parameters:
m_vStartAufstellung - New value of property m_vStartAufstellung.

getStartAufstellung

public final java.util.Vector getStartAufstellung()
Getter for property m_vStartAufstellung.

Returns:
Value of property m_vStartAufstellung.

getTWTeamStk

public final float getTWTeamStk()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

setTeamName

public final void setTeamName(java.lang.String m_sTeamName)
Setter for property m_sTeamName.

Parameters:
m_sTeamName - New value of property m_sTeamName.

getTeamName

public final java.lang.String getTeamName()
Getter for property m_sTeamName.

Returns:
Value of property m_sTeamName.

getZufaelligenSpieler

public final ServerSpieler getZufaelligenSpieler(byte mt)
TODO Missing Method Documentation

Parameters:
mt - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

save

public final void save(java.io.DataOutputStream das)