de.hattrickorganizer.model.lineup
Class LigaTabelle

java.lang.Object
  extended by de.hattrickorganizer.model.lineup.LigaTabelle
All Implemented Interfaces:
ILigaTabelle

public class LigaTabelle
extends java.lang.Object
implements ILigaTabelle

DOCUMENT ME!

Author:
thomas.werth

Field Summary
protected  int m_iLigaId
          TODO Missing Parameter Documentation
protected  int m_iLigaLandId
          TODO Missing Parameter Documentation
protected  int m_iMaxAnzahlSpielklassen
          Maximale ANzahl an Spielklassen
protected  int m_iSpielklasse
          TODO Missing Parameter Documentation
protected  java.lang.String m_sLigaLandName
          TODO Missing Parameter Documentation
protected  java.lang.String m_sLigaName
          TODO Missing Parameter Documentation
protected  java.util.Vector m_vEintraege
          TODO Missing Parameter Documentation
 
Constructor Summary
LigaTabelle()
          Creates a new instance of LigaTabelle
 
Method Summary
 void addEintrag(LigaTabellenEintrag lte)
          TODO Missing Method Documentation
 java.util.Vector getEintraege()
          TODO Missing Method Documentation
 ILigaTabellenEintrag getEintragByTeamId(int teamId)
          liefert den Eintrag zu einem Team
 int getLigaId()
          Getter for property m_iLigaId.
 int getLigaLandId()
          Getter for property m_iLigaLandId.
 java.lang.String getLigaLandName()
          Getter for property m_sLigaLandName.
 java.lang.String getLigaName()
          Getter for property m_sLigaName.
 int getMaxAnzahlSpielklassen()
          Getter for property m_iMaxAnzahlSpielklassen.
 int getSpielklasse()
          Getter for property m_iSpielklasse.
 byte getTeamPlatzTendenz(int teamId, ILigaTabelle compare)
          liefert tendenz zur Platzierung des Teams im Vergleich mit der angegebenen Tabelle -1 == abgerutscht, 0 = gleich, 1 == aufgestiegen
 void setLigaId(int m_iLigaId)
          Setter for property m_iLigaId.
 void setLigaLandId(int m_iLigaLandId)
          Setter for property m_iLigaLandId.
 void setLigaLandName(java.lang.String m_sLigaLandName)
          Setter for property m_sLigaLandName.
 void setLigaName(java.lang.String m_sLigaName)
          Setter for property m_sLigaName.
 void setMaxAnzahlSpielklassen(int m_iMaxAnzahlSpielklassen)
          Setter for property m_iMaxAnzahlSpielklassen.
 void setSpielklasse(int m_iSpielklasse)
          Setter for property m_iSpielklasse.
 void sort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_sLigaLandName

protected java.lang.String m_sLigaLandName
TODO Missing Parameter Documentation


m_sLigaName

protected java.lang.String m_sLigaName
TODO Missing Parameter Documentation


m_vEintraege

protected java.util.Vector m_vEintraege
TODO Missing Parameter Documentation


m_iLigaId

protected int m_iLigaId
TODO Missing Parameter Documentation


m_iLigaLandId

protected int m_iLigaLandId
TODO Missing Parameter Documentation


m_iMaxAnzahlSpielklassen

protected int m_iMaxAnzahlSpielklassen
Maximale ANzahl an Spielklassen


m_iSpielklasse

protected int m_iSpielklasse
TODO Missing Parameter Documentation

Constructor Detail

LigaTabelle

public LigaTabelle()
Creates a new instance of LigaTabelle

Method Detail

getEintraege

public final java.util.Vector getEintraege()
TODO Missing Method Documentation

Specified by:
getEintraege in interface ILigaTabelle
Returns:
TODO Missing Return Method Documentation

getEintragByTeamId

public final ILigaTabellenEintrag getEintragByTeamId(int teamId)
liefert den Eintrag zu einem Team

Specified by:
getEintragByTeamId in interface ILigaTabelle
Parameters:
teamId - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

setLigaId

public final void setLigaId(int m_iLigaId)
Setter for property m_iLigaId.

Parameters:
m_iLigaId - New value of property m_iLigaId.

getLigaId

public final int getLigaId()
Getter for property m_iLigaId.

Specified by:
getLigaId in interface ILigaTabelle
Returns:
Value of property m_iLigaId.

setLigaLandId

public final void setLigaLandId(int m_iLigaLandId)
Setter for property m_iLigaLandId.

Parameters:
m_iLigaLandId - New value of property m_iLigaLandId.

getLigaLandId

public final int getLigaLandId()
Getter for property m_iLigaLandId.

Specified by:
getLigaLandId in interface ILigaTabelle
Returns:
Value of property m_iLigaLandId.

setLigaLandName

public final void setLigaLandName(java.lang.String m_sLigaLandName)
Setter for property m_sLigaLandName.

Parameters:
m_sLigaLandName - New value of property m_sLigaLandName.

getLigaLandName

public final java.lang.String getLigaLandName()
Getter for property m_sLigaLandName.

Specified by:
getLigaLandName in interface ILigaTabelle
Returns:
Value of property m_sLigaLandName.

setLigaName

public final void setLigaName(java.lang.String m_sLigaName)
Setter for property m_sLigaName.

Parameters:
m_sLigaName - New value of property m_sLigaName.

getLigaName

public final java.lang.String getLigaName()
Getter for property m_sLigaName.

Specified by:
getLigaName in interface ILigaTabelle
Returns:
Value of property m_sLigaName.

setMaxAnzahlSpielklassen

public final void setMaxAnzahlSpielklassen(int m_iMaxAnzahlSpielklassen)
Setter for property m_iMaxAnzahlSpielklassen.

Parameters:
m_iMaxAnzahlSpielklassen - New value of property m_iMaxAnzahlSpielklassen.

getMaxAnzahlSpielklassen

public final int getMaxAnzahlSpielklassen()
Getter for property m_iMaxAnzahlSpielklassen.

Specified by:
getMaxAnzahlSpielklassen in interface ILigaTabelle
Returns:
Value of property m_iMaxAnzahlSpielklassen.

setSpielklasse

public final void setSpielklasse(int m_iSpielklasse)
Setter for property m_iSpielklasse.

Parameters:
m_iSpielklasse - New value of property m_iSpielklasse.

getSpielklasse

public final int getSpielklasse()
Getter for property m_iSpielklasse.

Specified by:
getSpielklasse in interface ILigaTabelle
Returns:
Value of property m_iSpielklasse.

getTeamPlatzTendenz

public final byte getTeamPlatzTendenz(int teamId,
                                      ILigaTabelle compare)
liefert tendenz zur Platzierung des Teams im Vergleich mit der angegebenen Tabelle -1 == abgerutscht, 0 = gleich, 1 == aufgestiegen

Specified by:
getTeamPlatzTendenz in interface ILigaTabelle
Parameters:
teamId - TODO Missing Constructuor Parameter Documentation
compare - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

addEintrag

public final void addEintrag(LigaTabellenEintrag lte)
TODO Missing Method Documentation

Parameters:
lte - TODO Missing Method Parameter Documentation

sort

public final void sort()
Specified by:
sort in interface ILigaTabelle