|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hattrickorganizer.database.DBAdapter
public class DBAdapter
Adapter to make some basic DBZugriff functions accessible for plugins.
Constructor Summary | |
---|---|
DBAdapter()
|
Method Summary | |
---|---|
int |
getHrfIDSameTraining(java.sql.Timestamp time)
Returns an HRF before the matchData and after previous TrainingTime. |
ITeam |
getTeam(int hrfID)
Returns the Team object for the given hrf dataset. |
int |
getTrainerType(int hrfID)
Returns the trainer code for the specified hrf. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBAdapter()
Method Detail |
---|
public int getHrfIDSameTraining(java.sql.Timestamp time)
getHrfIDSameTraining
in interface IDBAdapter
timestamp
- matchData
public ITeam getTeam(int hrfID)
getTeam
in interface IDBAdapter
hrfID
- HRF for which to load Team
public int getTrainerType(int hrfID)
getTrainerType
in interface IDBAdapter
hrfID
- HRF for which to load TrainerType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |