de.hattrickorganizer.database
Class MatchLineupTeamTable

java.lang.Object
  extended by de.hattrickorganizer.database.MatchLineupTeamTable

public final class MatchLineupTeamTable
extends java.lang.Object


Field Summary
protected  JDBCAdapter adapter
          Database connection
protected  de.hattrickorganizer.database.ColumnDescriptor[] columns
          describes a tableColumn (name, datatype, nullable ..)
static java.lang.String TABLENAME
          tablename
 
Constructor Summary
protected MatchLineupTeamTable(JDBCAdapter adapter)
           
 
Method Summary
 void createTable()
           
protected  int delete(java.lang.String[] whereColumns, java.lang.String[] whereValues)
           
protected  void dropTable()
          Drop the current table
protected  de.hattrickorganizer.database.ColumnDescriptor[] getColumns()
           
protected  java.lang.String[] getCreateIndizeStatements()
           
protected  MatchLineupTeam getMatchLineupTeam(int matchID, int teamID)
          TODO Missing Method Documentation
protected  java.sql.ResultSet getSelectByHrfID(int hrfID)
          TODO Missing Method Documentation
protected  java.lang.String getTableName()
           
protected  java.lang.String getTableType()
           
protected  void initColumns()
           
protected  void setColumns(de.hattrickorganizer.database.ColumnDescriptor[] columns)
           
protected  void storeMatchLineupTeam(MatchLineupTeam team, int matchID)
          TODO Missing Method Documentation
protected  void truncateTable()
          Truncate the current table (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLENAME

public static final java.lang.String TABLENAME
tablename

See Also:
Constant Field Values

columns

protected de.hattrickorganizer.database.ColumnDescriptor[] columns
describes a tableColumn (name, datatype, nullable ..)


adapter

protected JDBCAdapter adapter
Database connection

Constructor Detail

MatchLineupTeamTable

protected MatchLineupTeamTable(JDBCAdapter adapter)
Method Detail

initColumns

protected void initColumns()

getMatchLineupTeam

protected MatchLineupTeam getMatchLineupTeam(int matchID,
                                             int teamID)
TODO Missing Method Documentation

Parameters:
matchID - TODO Missing Method Parameter Documentation
teamID - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

storeMatchLineupTeam

protected void storeMatchLineupTeam(MatchLineupTeam team,
                                    int matchID)
TODO Missing Method Documentation

Parameters:
team - TODO Missing Method Parameter Documentation
matchID - TODO Missing Method Parameter Documentation

getTableType

protected java.lang.String getTableType()

getTableName

protected java.lang.String getTableName()

setColumns

protected void setColumns(de.hattrickorganizer.database.ColumnDescriptor[] columns)

getColumns

protected de.hattrickorganizer.database.ColumnDescriptor[] getColumns()

getCreateIndizeStatements

protected java.lang.String[] getCreateIndizeStatements()

delete

protected int delete(java.lang.String[] whereColumns,
                     java.lang.String[] whereValues)

createTable

public void createTable()

getSelectByHrfID

protected java.sql.ResultSet getSelectByHrfID(int hrfID)
TODO Missing Method Documentation

Parameters:
tableName - TODO Missing Method Parameter Documentation
hrfID - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

dropTable

protected void dropTable()
Drop the current table


truncateTable

protected void truncateTable()
Truncate the current table (i.e. remove all rows)