|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.hattrickorganizer.model.Aufstellung
public class Aufstellung
DOCUMENT ME!
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_NAME
TODO Missing Parameter Documentation |
static java.lang.String |
DEFAULT_NAMELAST
TODO Missing Parameter Documentation |
static int |
NO_HRF_VERBINDUNG
TODO Missing Parameter Documentation |
| Fields inherited from interface plugins.ILineUp |
|---|
AW_MF_ST, AW_ST_MF, MF_AW_ST, MF_ST_AW, ST_AW_MF, ST_MF_AW, SYS_343, SYS_352, SYS_433, SYS_442, SYS_451, SYS_532, SYS_541, SYS_MURKS |
| Constructor Summary | |
|---|---|
Aufstellung()
Creates a new Aufstellung object. |
|
Aufstellung(java.util.Properties properties)
Creates a new instance of Aufstellung |
|
| Method Summary | |
|---|---|
void |
AufstellungsSystemLoeschen(java.lang.String name)
TODO Missing Method Documentation |
void |
checkAufgestellteSpieler()
pr�ft ob die aufgestellten Spieler noch implements KAder sind |
void |
doAufstellung(java.util.Vector spieler,
byte reihenfolge,
boolean mitForm,
boolean idealPosFirst,
boolean ignoreVerletzung,
boolean ignoreSperren,
float wetterBonus,
int wetter)
erstellt die automatische Aufstellung |
void |
dump()
|
Aufstellung |
duplicate()
Cloned diese Aufstellung, erzeugt neues Objekt |
byte |
ermittelSystem()
ermittelt das aktuelle System |
void |
flipSide()
TODO Missing Method Documentation |
float |
getAttackSTK()
ermittelt die Gesamt KonterStk der aufgestellten Spieler |
float |
getAttackSTK(java.util.Vector spieler)
ermittelt die Gesamt KonterStk der aufgestellten Spieler |
int |
getAttitude()
Getter for property m_iAttitude. |
float |
getAverageExperience()
Get the average experience of all players in lineup using the formula from kopsterkespits: teamxp = ((sum of teamxp + xp of captain)/12)*(1-(7-leadership of captain)*5%) |
float |
getAvgExpierence()
returns average Expierence of all players in lineup |
float |
getAWTeamStk(java.util.Vector spieler,
boolean mitForm)
errechnet die Gesamt AW St�rke |
int[] |
getBestElferKicker()
errechnet anhand der aktuellen Aufstellung die besten Elfersch�tzen |
double |
getCentralAttackRating()
Predicts Central Attack-Rating |
double |
getCentralDefenseRating()
Predicts cd-Rating |
byte |
getEffectivePos4PositionID(int positionsid)
TODO Missing Method Documentation |
float |
getGesamtStaerke(java.util.Vector spieler,
boolean mitForm)
errechnet die Gesamt Stärke |
int |
getHATStats()
TODO Missing Method Documentation |
short |
getHeimspiel()
Get the location constant for the match (home/away/awayderby) TODO: determine away derby (aik) !!! |
int |
getIntValue4Rating(double rating)
Creates a int from 1-80 for a Rating, to use it at IHelper.getNameForBewertung() |
int |
getKapitaen()
Getter for property m_iKapitaen. |
int |
getKicker()
Getter for property m_iKicker. |
float |
getKonterSTK()
ermittelt die Gesamt KonterStk der aufgestellten Spieler |
float |
getKonterSTK(java.util.Vector spieler)
ermittelt die Gesamt KonterStk der aufgestellten Spieler |
double |
getLeftAttackRating()
Predicts LeftAttack-Rating |
double |
getLeftDefenseRating()
Predicts ld-Rating |
float |
getLoddarStats()
TODO Missing Method Documentation |
float |
getMFTeamStk(java.util.Vector spieler,
boolean mitForm)
errechnet die Gesamt MF St�rke |
double |
getMidfieldRating()
Predicts MF-Rating |
static java.lang.String |
getNameForSystem(byte system)
Gibt den Namen f�r das System zur�ck |
ISpieler |
getPlayerByPositionID(int positionsid)
TODO Missing Method Documentation |
SpielerPosition |
getPositionById(int id)
Gibt die Spielerposition zu der Id zur�ck |
SpielerPosition |
getPositionBySpielerId(int spielerid)
Gibt die Spielerposition zu der SpielerId zur�ck |
java.util.Vector |
getPositionen()
Getter for property m_vPositionen. |
float |
getPressingSTK()
ermittelt die Gesamt PressingStk der aufgestellten Spieler original Formel von Pressing Spezialist |
float |
getPressingSTK(java.util.Vector spieler)
ermittelt die Gesamt PressingStk der aufgestellten Spieler original Formel von Pressing Spezialist |
double |
getRightAttackRating()
Predicts Right-Attack-Rating |
double |
getRightDefenseRating()
Predicts rd-Rating |
float |
getSTTeamStk(java.util.Vector spieler,
boolean mitForm)
errechnet die Gesamt ST St�rke |
java.lang.String |
getSystemName(byte system)
Gibt den Namen f�r das System zur�ck |
byte |
getTactic4PositionID(int positionsid)
TODO Missing Method Documentation |
float |
getTacticLevel(int type)
DOCUMENT ME! |
int |
getTacticType()
Getter for property m_iTacticType. |
int |
getTeamErfahrung4AktuellesSystem()
liefert die Team erfahrung des Systems |
float |
getTWTeamStk(java.util.Vector spieler,
boolean mitForm)
errechnet die Gesamt TW St�rke |
float |
HQ(double x)
TODO Missing Method Documentation |
int |
HTfloat2int(double x)
TODO Missing Method Documentation |
boolean |
isSpielerAufgestellt(int spielerId)
ist der SPieler aufgestellt |
boolean |
isSpielerInAnfangsElf(int spielerId)
spielt der Spieler von Beginn an |
boolean |
isSpielerInReserve(int spielerId)
sitzt der SPierl auf der Bank |
void |
load(java.lang.String name)
l�dt dei Aufstellung |
void |
load4HRF()
l�dt dei Aufstellung |
void |
loadAufstellungsSystem(java.lang.String name)
L�dt ein System aus der Datenbank ein |
void |
resetAufgestellteSpieler()
l�scht die aufgestellten Spieler |
void |
resetReserveBank()
l�scht die Reservespieler |
void |
save(java.lang.String name)
spiechert die gesamte Aufstellung unter dem angegebenen Namen ab |
void |
save4HRF()
spiechert die gesamte Aufstellung unter dem angegebenen Namen ab |
void |
saveAufstellungsSystem(java.lang.String name)
speichert das aktuelle System unter dem "name" in der DB |
void |
setAttitude(int m_iAttitude)
Setter for property m_iAttitude. |
void |
setAutoKapitaen(java.util.Vector spieler)
bestimmt automatisch den Kapit�n |
void |
setAutoKicker(java.util.Vector spieler)
bestimmt den Standard sch�tzen |
void |
setHeimspiel(short location)
Setter for property m_sHeimspiel. |
void |
setKapitaen(int m_iKapitaen)
Setter for property m_iKapitaen. |
void |
setKicker(int m_iKicker)
Setter for property m_iKicker. |
void |
setPositionen(java.util.Vector m_vPositionen)
Setter for property m_vPositionen. |
void |
setSpielerAtPosition(int positionsid,
int spielerid)
Setzt einen Spieler in eine Position und sorgt daf�r, da� er nicht noch woanders aufgestellt ist |
byte |
setSpielerAtPosition(int positionsid,
int spielerid,
byte tactic)
Setzt einen Spieler in eine Position und sorgt daf�r, da� er nicht noch woanders aufgestellt ist |
void |
setTacticType(int m_iTacticType)
Setter for property m_iTacticType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_NAME
public static final java.lang.String DEFAULT_NAMELAST
public static final int NO_HRF_VERBINDUNG
| Constructor Detail |
|---|
public Aufstellung()
public Aufstellung(java.util.Properties properties)
throws java.lang.Exception
properties - TODO Missing Constructuor Parameter Documentation
java.lang.Exception - TODO Missing Constructuor Exception Documentation| Method Detail |
|---|
public final float getAWTeamStk(java.util.Vector spieler,
boolean mitForm)
getAWTeamStk in interface ILineUpspieler - TODO Missing Constructuor Parameter DocumentationmitForm - TODO Missing Constructuor Parameter Documentation
public final float getAttackSTK()
getAttackSTK in interface ILineUppublic final float getAttackSTK(java.util.Vector spieler)
getAttackSTK in interface ILineUpspieler - TODO Missing Constructuor Parameter Documentation
public final void setAttitude(int m_iAttitude)
setAttitude in interface ILineUpm_iAttitude - New value of property m_iAttitude.public final int getAttitude()
getAttitude in interface ILineUppublic final void setAutoKapitaen(java.util.Vector spieler)
setAutoKapitaen in interface ILineUpspieler - TODO Missing Constructuor Parameter Documentationpublic final void setAutoKicker(java.util.Vector spieler)
setAutoKicker in interface ILineUpspieler - TODO Missing Constructuor Parameter Documentationpublic final float getAvgExpierence()
getAvgExpierence in interface ILineUppublic final float getAverageExperience()
public final int[] getBestElferKicker()
getBestElferKicker in interface ILineUppublic final double getCentralAttackRating()
getCentralAttackRating in interface ILineUppublic final double getCentralDefenseRating()
getCentralDefenseRating in interface ILineUp
public final float getGesamtStaerke(java.util.Vector spieler,
boolean mitForm)
getGesamtStaerke in interface ILineUpspieler - TODO Missing Constructuor Parameter DocumentationmitForm - TODO Missing Constructuor Parameter Documentation
public final int getHATStats()
getHATStats in interface ILineUppublic final void setKapitaen(int m_iKapitaen)
setKapitaen in interface ILineUpm_iKapitaen - New value of property m_iKapitaen.public final int getKapitaen()
getKapitaen in interface ILineUppublic final void setKicker(int m_iKicker)
setKicker in interface ILineUpm_iKicker - New value of property m_iKicker.public final int getKicker()
getKicker in interface ILineUppublic final float getKonterSTK()
getKonterSTK in interface ILineUppublic final float getKonterSTK(java.util.Vector spieler)
getKonterSTK in interface ILineUpspieler - TODO Missing Constructuor Parameter Documentation
public final double getLeftAttackRating()
getLeftAttackRating in interface ILineUppublic final double getLeftDefenseRating()
getLeftDefenseRating in interface ILineUppublic final float getLoddarStats()
getLoddarStats in interface ILineUppublic final float HQ(double x)
x - TODO Missing Method Parameter Documentation
public final int HTfloat2int(double x)
x - TODO Missing Method Parameter Documentation
public final float getMFTeamStk(java.util.Vector spieler,
boolean mitForm)
getMFTeamStk in interface ILineUpspieler - TODO Missing Constructuor Parameter DocumentationmitForm - TODO Missing Constructuor Parameter Documentation
public final double getMidfieldRating()
getMidfieldRating in interface ILineUppublic static java.lang.String getNameForSystem(byte system)
system - TODO Missing Constructuor Parameter Documentation
public final byte getEffectivePos4PositionID(int positionsid)
getEffectivePos4PositionID in interface ILineUppositionsid - TODO Missing Method Parameter Documentation
public final void setHeimspiel(short location)
setHeimspiel in interface ILineUpm_sHeimspiel - New value of property m_sHeimspiel.public final short getHeimspiel()
getHeimspiel in interface ILineUppublic final int getIntValue4Rating(double rating)
ILineUp
getIntValue4Rating in interface ILineUprating - TODO Missing Constructuor Parameter Documentation
public ISpieler getPlayerByPositionID(int positionsid)
getPlayerByPositionID in interface ILineUppositionsid - TODO Missing Method Parameter Documentation
public final SpielerPosition getPositionById(int id)
id - TODO Missing Constructuor Parameter Documentation
public final SpielerPosition getPositionBySpielerId(int spielerid)
spielerid - TODO Missing Constructuor Parameter Documentation
public final void setPositionen(java.util.Vector m_vPositionen)
m_vPositionen - New value of property m_vPositionen.public final java.util.Vector getPositionen()
public final float getPressingSTK()
getPressingSTK in interface ILineUppublic final float getPressingSTK(java.util.Vector spieler)
getPressingSTK in interface ILineUpspieler - TODO Missing Constructuor Parameter Documentation
public final double getRightAttackRating()
getRightAttackRating in interface ILineUppublic final double getRightDefenseRating()
getRightDefenseRating in interface ILineUp
public final float getSTTeamStk(java.util.Vector spieler,
boolean mitForm)
getSTTeamStk in interface ILineUpspieler - TODO Missing Constructuor Parameter DocumentationmitForm - TODO Missing Constructuor Parameter Documentation
public final byte setSpielerAtPosition(int positionsid,
int spielerid,
byte tactic)
setSpielerAtPosition in interface ILineUppositionsid - TODO Missing Constructuor Parameter Documentationspielerid - TODO Missing Constructuor Parameter Documentationtactic - TODO Missing Constructuor Parameter Documentation
public final void setSpielerAtPosition(int positionsid,
int spielerid)
positionsid - TODO Missing Constructuor Parameter Documentationspielerid - TODO Missing Constructuor Parameter Documentationpublic final boolean isSpielerAufgestellt(int spielerId)
isSpielerAufgestellt in interface ILineUpspielerId - TODO Missing Constructuor Parameter Documentation
public final boolean isSpielerInAnfangsElf(int spielerId)
isSpielerInAnfangsElf in interface ILineUpspielerId - TODO Missing Constructuor Parameter Documentation
public final boolean isSpielerInReserve(int spielerId)
isSpielerInReserve in interface ILineUpspielerId - TODO Missing Constructuor Parameter Documentation
public final java.lang.String getSystemName(byte system)
getSystemName in interface ILineUpsystem - TODO Missing Constructuor Parameter Documentation
public final float getTWTeamStk(java.util.Vector spieler,
boolean mitForm)
getTWTeamStk in interface ILineUpspieler - TODO Missing Constructuor Parameter DocumentationmitForm - TODO Missing Constructuor Parameter Documentation
public final byte getTactic4PositionID(int positionsid)
getTactic4PositionID in interface ILineUppositionsid - TODO Missing Method Parameter Documentation
public final float getTacticLevel(int type)
ILineUp
getTacticLevel in interface ILineUptype - TODO Missing Constructuor Parameter Documentation
public final void setTacticType(int m_iTacticType)
setTacticType in interface ILineUpm_iTacticType - New value of property m_iTacticType.public final int getTacticType()
getTacticType in interface ILineUppublic final int getTeamErfahrung4AktuellesSystem()
getTeamErfahrung4AktuellesSystem in interface ILineUppublic final void AufstellungsSystemLoeschen(java.lang.String name)
name - TODO Missing Method Parameter Documentationpublic final void checkAufgestellteSpieler()
checkAufgestellteSpieler in interface ILineUp
public final void doAufstellung(java.util.Vector spieler,
byte reihenfolge,
boolean mitForm,
boolean idealPosFirst,
boolean ignoreVerletzung,
boolean ignoreSperren,
float wetterBonus,
int wetter)
doAufstellung in interface ILineUpspieler - die aufszustellenden Spielerreihenfolge - Reihenfolge in der die Mannschaftsteile besetzt werden sollenmitForm - Formber�cksichtigungidealPosFirst - IdealPosition ber�cksichtigen ?ignoreVerletzung - TODO Missing Constructuor Parameter DocumentationignoreSperren - TODO Missing Constructuor Parameter DocumentationwetterBonus - TODO Missing Constructuor Parameter Documentationwetter - TODO Missing Constructuor Parameter Documentationpublic final void dump()
public final Aufstellung duplicate()
public final byte ermittelSystem()
ermittelSystem in interface ILineUppublic final void flipSide()
public final void load(java.lang.String name)
load in interface ILineUpname - TODO Missing Constructuor Parameter Documentationpublic final void load4HRF()
public final void loadAufstellungsSystem(java.lang.String name)
name - TODO Missing Constructuor Parameter Documentationpublic final void resetAufgestellteSpieler()
resetAufgestellteSpieler in interface ILineUppublic final void resetReserveBank()
public final void save(java.lang.String name)
save in interface ILineUpname - TODO Missing Constructuor Parameter Documentationpublic final void save4HRF()
public final void saveAufstellungsSystem(java.lang.String name)
name - TODO Missing Constructuor Parameter Documentation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||