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 org.deltava.beans.ImageBean
ImageBean.ImageFormat
Nested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the arrival Airport.Returns the departure Airport.void
Updates the arrival Airport.void
Updates the departure Airport.Methods inherited from class org.deltava.beans.testing.MultiChoiceQuestion
addChoice, getChoices, getExactMatch, getMaxAnswerLength
Methods inherited from class org.deltava.beans.testing.Question
compareTo, getAnswer, getCorrectAnswer, getImageType, getNumber, getQuestion, getReference, isCorrect, setAnswer, setCorrect, setCorrectAnswer, setNumber, setReference
Methods inherited from class org.deltava.beans.ImageBean
checkParam, getFormat, getHasImage, getHeight, getSize, getWidth, load, load, setFormat, setHeight, setSize, setWidth
Methods inherited from class org.deltava.beans.DatabaseBlobBean
clear, getInputStream, isLoaded
Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, equals, getHexID, getID, hashCode, setID, validateID, validateID
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.deltava.beans.schedule.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:RoutePair
Returns the arrival Airport.- Specified by:
getAirportA
in interfaceRoutePair
- Returns:
- the arrival Airport
-
getAirportD
Description copied from interface:RoutePair
Returns the departure Airport.- Specified by:
getAirportD
in interfaceRoutePair
- Returns:
- the departure Airport
-
setAirportA
Description copied from interface:RoutePlot
Updates the arrival Airport.- Specified by:
setAirportA
in interfaceRoutePlot
- Parameters:
a
- the arrival Airport bean
-
setAirportD
Description copied from interface:RoutePlot
Updates the departure Airport.- Specified by:
setAirportD
in interfaceRoutePlot
- Parameters:
a
- the departure Airport bean
-