Class RoutePlotQuestion
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.DatabaseBlobBean
org.deltava.beans.ImageBean
org.deltava.beans.testing.Question
org.deltava.beans.testing.MultiChoiceQuestion
org.deltava.beans.testing.RoutePlotQuestion
- All Implemented Interfaces:
Serializable, Comparable<Object>, IDBean, RoutePair, MultipleChoice, RoutePlot, Cacheable
A bean to store route plotting Examination questions.
- Since:
- 2.3
- Version:
- 12.0
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ImageBean
ImageBean.ImageFormatNested classes/interfaces inherited from interface RoutePair
RoutePair.RoutePairImpl -
Field Summary
Fields inherited from class DatabaseBlobBean
_buffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the arrival Airport.Returns the departure Airport.voidUpdates the arrival Airport.voidUpdates the departure Airport.Methods inherited from class MultiChoiceQuestion
addChoice, getChoices, getExactMatch, getMaxAnswerLengthMethods inherited from class Question
compareTo, getAnswer, getCorrectAnswer, getImageType, getNumber, getQuestion, getReference, isCorrect, setAnswer, setCorrect, setCorrectAnswer, setNumber, setReferenceMethods inherited from class ImageBean
checkParam, getFormat, getHasImage, getHeight, getSize, getWidth, load, load, setFormat, setHeight, setSize, setWidthMethods inherited from class DatabaseBlobBean
clear, getInputStream, isLoadedMethods inherited from class DatabaseBean
cacheKey, equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPoint
-
Constructor Details
-
RoutePlotQuestion
Creates a new route plotting Question bean.- 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
-