|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectensemble.Prediction_set
public class Prediction_set
This class represents a set of predictions from the database.
Constructor Summary | |
---|---|
Prediction_set(int id,
java.lang.String predName,
int dataID,
java.lang.String username,
java.lang.String description,
boolean excluded)
Creates a new prediction set with the given values. |
Method Summary | |
---|---|
int |
getDataID()
The ID number of the data set the predictions are for. |
java.lang.String |
getDescription()
A description of the prediction set. |
int |
getId()
The ID number of the prediction set |
java.lang.String |
getPredName()
The name of the prediction set. |
java.lang.String |
getUsername()
The name of the user who submitted the prediction set. |
boolean |
isExcluded()
Indicates if the prediction set should be excluded from ensembles. |
static void |
setDb(DatabaseBean db)
Sets the static data member that gives the class access to the database. |
void |
setExcluded(boolean excluded)
Sets flag indicating whether the prediction set should be excluded from ensembles. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Prediction_set(int id, java.lang.String predName, int dataID, java.lang.String username, java.lang.String description, boolean excluded)
id
- The ID number of the prediction setpredName
- The name of the prediction setdataID
- The ID number of the data set the predictions are forusername
- The name of the user who submitted the setdescription
- A description of the prediction setexcluded
- True if the set should be excluded from ensembles, else falseMethod Detail |
---|
public int getDataID()
public java.lang.String getDescription()
public int getId()
public java.lang.String getPredName()
public java.lang.String getUsername()
public boolean isExcluded()
public void setExcluded(boolean excluded) throws java.sql.SQLException, java.io.IOException
excluded
- True to exclude the set, false otherwise
java.sql.SQLException
java.io.IOException
public static void setDb(DatabaseBean db)
db
- The databaseBean for the application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |