net.codescore.dbo
Class Problem
java.lang.Object
org.apache.cayenne.CayenneDataObject
net.codescore.dbo.CDO
net.codescore.dbo.auto._Problem
net.codescore.dbo.Problem
- All Implemented Interfaces:
- Serializable, Comparable<CDO>, ContextObject, DataObject, Persistent, Validating, XMLSerializable
public class Problem
- extends _Problem
- See Also:
- Serialized Form
| Fields inherited from class net.codescore.dbo.auto._Problem |
ACTIVE_PROPERTY, COMMENTS_PROPERTY, COMPETITIONS_PROPERTY, DESCRIPTION_PROPERTY, DIFFICULTY_PROPERTY, FIGURES_PROPERTY, NAME_PROPERTY, PROBLEMID_PK_COLUMN, SAMPLE_INPUT_PROPERTY, SAMPLE_OUTPUT_PROPERTY, SOLUTIONS_PROPERTY, SUBMISSIONS_PROPERTY, TAGS_PROPERTY, TEST_CASES_PROPERTY, UNIX_NAME_PROPERTY |
| Fields inherited from class net.codescore.dbo.CDO |
log |
| Methods inherited from class net.codescore.dbo.auto._Problem |
addToComments, addToCompetitions, addToFigures, addToSolutions, addToSubmissions, addToTags, addToTestCases, getActive, getComments, getCompetitions, getDescription, getDifficulty, getFigures, getName, getSampleInput, getSampleOutput, getSolutions, getSubmissions, getTags, getTestCases, getUnixName, removeFromComments, removeFromCompetitions, removeFromFigures, removeFromSolutions, removeFromSubmissions, removeFromTags, removeFromTestCases, setActive, setDescription, setDifficulty, setName, setSampleInput, setSampleOutput, setUnixName |
| Methods inherited from class org.apache.cayenne.CayenneDataObject |
addToManyTarget, appendProperties, decodeFromXML, encodeAsXML, fetchFinished, getDataContext, getObjectContext, getObjectId, getObjEntity, getPersistenceState, getSnapshotVersion, readNestedProperty, readProperty, readPropertyDirectly, removeToManyTarget, setDataContext, setObjectContext, setObjectId, setPersistenceState, setReverseRelationship, setSnapshotVersion, setToOneTarget, toString, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writePropertyDirectly |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
Problem
public Problem()
getTeamSubmissions
public List<TeamSubmission> getTeamSubmissions(Team t)
getTagList
public String getTagList()
hasTeamSolved
public boolean hasTeamSolved(Team t,
Competition c)
- True if a team has submitted a correct answer for this problem.
- Parameters:
t -
- Returns:
Copyright 2008 © Adam Cornett, Andrew Conner All Rights Reserved.