Class RoutePlotQuestionProfile
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.DatabaseBlobBean
org.deltava.beans.ImageBean
org.deltava.beans.testing.Question
org.deltava.beans.testing.QuestionProfile
org.deltava.beans.testing.MultiChoiceQuestionProfile
org.deltava.beans.testing.RoutePlotQuestionProfile
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Object>,Auditable,IDBean,RoutePair,MultipleChoice,PassStatistics,RoutePlot,ViewEntry,Cacheable
A bean to store route plotting question data.
- Since:
- 2.3
- Version:
- 12.0
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.deltava.beans.ImageBean
ImageBean.ImageFormatNested classes/interfaces inherited from interface org.deltava.beans.schedule.RoutePair
RoutePair.RoutePairImpl -
Field Summary
Fields inherited from class org.deltava.beans.DatabaseBlobBean
_buffer -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new route plotting question profile. -
Method Summary
Modifier and TypeMethodDescriptionReturns the arrival Airport.Returns the departure Airport.Returns the CSS row class name if included in a view table.voidUpdates the arrival Airport.voidUpdates the departure Airport.Converts this profile into aMultiChoiceQuestionbean.Methods inherited from class org.deltava.beans.testing.MultiChoiceQuestionProfile
addChoice, getChoices, setChoices, setCorrectAnswerMethods inherited from class org.deltava.beans.testing.QuestionProfile
addAirline, addExam, compareTo, getActive, getAirlines, getAuditID, getExams, getOwner, getPassCount, getTotal, setActive, setAirlines, setCorrectAnswers, setExams, setNumber, setOwner, setQuestion, setTotalAnswersMethods inherited from class org.deltava.beans.testing.Question
getAnswer, getCorrectAnswer, getExactMatch, getImageType, getNumber, getQuestion, getReference, isCorrect, setAnswer, setCorrect, setReferenceMethods inherited from class org.deltava.beans.ImageBean
checkParam, getFormat, getHasImage, getHeight, getSize, getWidth, load, load, setFormat, setHeight, setSize, setWidthMethods inherited from class org.deltava.beans.DatabaseBlobBean
clear, getInputStream, isLoadedMethods inherited from class org.deltava.beans.DatabaseBean
cacheKey, equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.deltava.beans.Auditable
getAuditType, isCrossAppMethods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPoint
-
Constructor Details
-
RoutePlotQuestionProfile
Creates a new route plotting question profile.- Parameters:
text- the Question text- Throws:
NullPointerException- if text is null
-
-
Method Details
-
getAirportA
Description copied from interface:RoutePairReturns the arrival Airport.- Specified by:
getAirportAin interfaceRoutePair- Returns:
- the arrival Airport
-
getAirportD
Description copied from interface:RoutePairReturns the departure Airport.- Specified by:
getAirportDin interfaceRoutePair- Returns:
- the departure Airport
-
setAirportA
Description copied from interface:RoutePlotUpdates the arrival Airport.- Specified by:
setAirportAin interfaceRoutePlot- Parameters:
a- the arrival Airport bean
-
setAirportD
Description copied from interface:RoutePlotUpdates the departure Airport.- Specified by:
setAirportDin interfaceRoutePlot- Parameters:
a- the departure Airport bean
-
getRowClassName
Description copied from class:QuestionProfileReturns the CSS row class name if included in a view table.- Specified by:
getRowClassNamein interfaceViewEntry- Overrides:
getRowClassNamein classQuestionProfile- Returns:
- the CSS class name
-
toQuestion
Description copied from class:MultiChoiceQuestionProfileConverts this profile into aMultiChoiceQuestionbean. The choices will be rearranged in random order.- Overrides:
toQuestionin classMultiChoiceQuestionProfile- Returns:
- a Question bean
-