Class ArchivedRoute
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.acars.ArchivedRoute
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,IDBean
,Route
,Cacheable
A bean to store archivted route data and AIRAC version.
- Since:
- 8.6
- Version:
- 8.6
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateID
-
Constructor Details
-
ArchivedRoute
public ArchivedRoute(int id, int airacVersion) Creates the bean.- Parameters:
id
- the ACARS flight IDairacVersion
- the AIRAC version in effect
-
-
Method Details
-
getAIRACVersion
public int getAIRACVersion()Returns the AIRAC version in effect.- Returns:
- the version code
-
getWaypoints
Description copied from interface:Route
Returns the waypoints for this Route.- Specified by:
getWaypoints
in interfaceRoute
- Returns:
- a LinkedList of Intersections
-
getSize
-
getRoute
-