|
||||||||||
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 DocumentationMethod Detail |
---|
public final float getAWTeamStk(java.util.Vector spieler, boolean mitForm)
getAWTeamStk
in interface ILineUp
spieler
- TODO Missing Constructuor Parameter DocumentationmitForm
- TODO Missing Constructuor Parameter Documentation
public final float getAttackSTK()
getAttackSTK
in interface ILineUp
public final float getAttackSTK(java.util.Vector spieler)
getAttackSTK
in interface ILineUp
spieler
- TODO Missing Constructuor Parameter Documentation
public final void setAttitude(int m_iAttitude)
setAttitude
in interface ILineUp
m_iAttitude
- New value of property m_iAttitude.public final int getAttitude()
getAttitude
in interface ILineUp
public final void setAutoKapitaen(java.util.Vector spieler)
setAutoKapitaen
in interface ILineUp
spieler
- TODO Missing Constructuor Parameter Documentationpublic final void setAutoKicker(java.util.Vector spieler)
setAutoKicker
in interface ILineUp
spieler
- TODO Missing Constructuor Parameter Documentationpublic final float getAvgExpierence()
getAvgExpierence
in interface ILineUp
public final float getAverageExperience()
public final int[] getBestElferKicker()
getBestElferKicker
in interface ILineUp
public final double getCentralAttackRating()
getCentralAttackRating
in interface ILineUp
public final double getCentralDefenseRating()
getCentralDefenseRating
in interface ILineUp
public final float getGesamtStaerke(java.util.Vector spieler, boolean mitForm)
getGesamtStaerke
in interface ILineUp
spieler
- TODO Missing Constructuor Parameter DocumentationmitForm
- TODO Missing Constructuor Parameter Documentation
public final int getHATStats()
getHATStats
in interface ILineUp
public final void setKapitaen(int m_iKapitaen)
setKapitaen
in interface ILineUp
m_iKapitaen
- New value of property m_iKapitaen.public final int getKapitaen()
getKapitaen
in interface ILineUp
public final void setKicker(int m_iKicker)
setKicker
in interface ILineUp
m_iKicker
- New value of property m_iKicker.public final int getKicker()
getKicker
in interface ILineUp
public final float getKonterSTK()
getKonterSTK
in interface ILineUp
public final float getKonterSTK(java.util.Vector spieler)
getKonterSTK
in interface ILineUp
spieler
- TODO Missing Constructuor Parameter Documentation
public final double getLeftAttackRating()
getLeftAttackRating
in interface ILineUp
public final double getLeftDefenseRating()
getLeftDefenseRating
in interface ILineUp
public final float getLoddarStats()
getLoddarStats
in interface ILineUp
public 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 ILineUp
spieler
- TODO Missing Constructuor Parameter DocumentationmitForm
- TODO Missing Constructuor Parameter Documentation
public final double getMidfieldRating()
getMidfieldRating
in interface ILineUp
public static java.lang.String getNameForSystem(byte system)
system
- TODO Missing Constructuor Parameter Documentation
public final byte getEffectivePos4PositionID(int positionsid)
getEffectivePos4PositionID
in interface ILineUp
positionsid
- TODO Missing Method Parameter Documentation
public final void setHeimspiel(short location)
setHeimspiel
in interface ILineUp
m_sHeimspiel
- New value of property m_sHeimspiel.public final short getHeimspiel()
getHeimspiel
in interface ILineUp
public final int getIntValue4Rating(double rating)
ILineUp
getIntValue4Rating
in interface ILineUp
rating
- TODO Missing Constructuor Parameter Documentation
public ISpieler getPlayerByPositionID(int positionsid)
getPlayerByPositionID
in interface ILineUp
positionsid
- 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 ILineUp
public final float getPressingSTK(java.util.Vector spieler)
getPressingSTK
in interface ILineUp
spieler
- TODO Missing Constructuor Parameter Documentation
public final double getRightAttackRating()
getRightAttackRating
in interface ILineUp
public final double getRightDefenseRating()
getRightDefenseRating
in interface ILineUp
public final float getSTTeamStk(java.util.Vector spieler, boolean mitForm)
getSTTeamStk
in interface ILineUp
spieler
- TODO Missing Constructuor Parameter DocumentationmitForm
- TODO Missing Constructuor Parameter Documentation
public final byte setSpielerAtPosition(int positionsid, int spielerid, byte tactic)
setSpielerAtPosition
in interface ILineUp
positionsid
- 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 ILineUp
spielerId
- TODO Missing Constructuor Parameter Documentation
public final boolean isSpielerInAnfangsElf(int spielerId)
isSpielerInAnfangsElf
in interface ILineUp
spielerId
- TODO Missing Constructuor Parameter Documentation
public final boolean isSpielerInReserve(int spielerId)
isSpielerInReserve
in interface ILineUp
spielerId
- TODO Missing Constructuor Parameter Documentation
public final java.lang.String getSystemName(byte system)
getSystemName
in interface ILineUp
system
- TODO Missing Constructuor Parameter Documentation
public final float getTWTeamStk(java.util.Vector spieler, boolean mitForm)
getTWTeamStk
in interface ILineUp
spieler
- TODO Missing Constructuor Parameter DocumentationmitForm
- TODO Missing Constructuor Parameter Documentation
public final byte getTactic4PositionID(int positionsid)
getTactic4PositionID
in interface ILineUp
positionsid
- TODO Missing Method Parameter Documentation
public final float getTacticLevel(int type)
ILineUp
getTacticLevel
in interface ILineUp
type
- TODO Missing Constructuor Parameter Documentation
public final void setTacticType(int m_iTacticType)
setTacticType
in interface ILineUp
m_iTacticType
- New value of property m_iTacticType.public final int getTacticType()
getTacticType
in interface ILineUp
public final int getTeamErfahrung4AktuellesSystem()
getTeamErfahrung4AktuellesSystem
in interface ILineUp
public 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 ILineUp
spieler
- 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 ILineUp
public final void flipSide()
public final void load(java.lang.String name)
load
in interface ILineUp
name
- 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 ILineUp
public final void resetReserveBank()
public final void save(java.lang.String name)
save
in interface ILineUp
name
- 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 |