|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspsimon.termcomp.entity.Competition
public class Competition
This class represents an instance of a competition which is to be run by the batch processing component. Inaptly named, as this is now also a container object for tests and will also be the container for personalised experiments.
| Constructor Summary | |
|---|---|
Competition()
|
|
| Method Summary | |
|---|---|
java.lang.Long |
getCompetitionId()
Get the unique identifier for this Competition. |
java.lang.Boolean |
getPublished()
Determines whether this competition is shown in the list of public competitions. |
java.sql.Date |
getStartDate()
Get the date this competition will start/started on. |
java.util.List<TerminationProblem> |
getTermprobs()
Deprecated. since Revision 81, as this is not used. |
ToolImplementation |
getTestedImplementation()
If this is an automated test-run, this field contains the ToolImplementation that was tested. |
java.lang.Boolean |
getTestRun()
Determines whether this is an automated test-run. |
java.util.List<ToolImplementation> |
getTools()
Get the list of Tools entered into this competition. |
void |
setCompetitionId(java.lang.Long competitionId)
Set the unique identifier for this Competition. |
void |
setPublished(java.lang.Boolean published)
Set whether to display this competition in the list of public competitions. |
void |
setStartDate(java.sql.Date startDate)
Set the date the execution of this competition started on. |
void |
setTermprobs(java.util.List<TerminationProblem> termprobs)
Deprecated. Since Revision 81, as this is not actually used. |
void |
setTestedImplementation(ToolImplementation testedImplementation)
Set the ToolImplementation this test-run was executed for. |
void |
setTestRun(java.lang.Boolean testRun)
Set whether this competition is actually an automated test-run. |
void |
setTools(java.util.List<ToolImplementation> tools)
Set the list of Tools participating in this competition. |
java.lang.String |
toString()
An almost human-readable representation of this competition. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Competition()
| Method Detail |
|---|
public java.lang.Long getCompetitionId()
Competition.
Competition. Globally unique.public java.sql.Date getStartDate()
public java.util.List<ToolImplementation> getTools()
Tools entered into this competition. As only a
single implementation of any given Tool can take part in the
competition, this is a List of ToolImplementations rather
than Tools.
ToolImplementations entered in this
competition.public java.util.List<TerminationProblem> getTermprobs()
public java.lang.Boolean getPublished()
public java.lang.Boolean getTestRun()
getPublished() to publicise teams' automated
test results.
Competition object is an automated test-run.public ToolImplementation getTestedImplementation()
ToolImplementation that was tested.
ToolImplementationpublic void setCompetitionId(java.lang.Long competitionId)
Competition. Must be globally
unique, otherwise the database will complain heavily. There is normally
no need to actually use this call in normal programming.
competitionId - The globally unique identifier for this Competition.public void setStartDate(java.sql.Date startDate)
startDate - The date execution of the competition started.public void setTools(java.util.List<ToolImplementation> tools)
Tools participating in this competition.
tools - The list of ToolImplementations competing.public void setTermprobs(java.util.List<TerminationProblem> termprobs)
termprobs - The list of termination problems.getTermprobs()public void setPublished(java.lang.Boolean published)
published - A boolean value.public void setTestRun(java.lang.Boolean testRun)
testRun - A boolean value.public void setTestedImplementation(ToolImplementation testedImplementation)
ToolImplementation this test-run was executed for.
testedImplementation - The ToolImplementation which will be tested.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||