Class OceanicNOTAM
java.lang.Object
org.deltava.beans.schedule.OceanicNOTAM
- All Implemented Interfaces:
Comparable<OceanicNOTAM>,OceanicTrackInfo
A bean to store NOTAMs containing Oceanic route data.
- Since:
- 1.0
- Version:
- 11.6
- Author:
- Luke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.beans.navdata.OceanicTrackInfo
OceanicTrackInfo.Direction, OceanicTrackInfo.Type -
Constructor Summary
ConstructorsConstructorDescriptionOceanicNOTAM(OceanicTrackInfo.Type type, Instant dt) Initializes the NOTAM bean. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(OceanicNOTAM or2) getDate()Returns the effective date of the Oceanic.Returns the retrieval date of the track data.getRoute()Returns the route NOTAM text.Returns the source hostname where this NOTAM was downloaded from.getType()Returns the route type code.inthashCode()voidUpdates the NOTAM effective date.voidsetFetchDate(Instant dt) Updates the retrieval date of this NOTAM.voidUpdates the NOTAM contents.voidUpdates the NOTAM source hostname.voidsetType(OceanicTrackInfo.Type type) Updates the route type.toString()
-
Constructor Details
-
Method Details
-
getDate
Description copied from interface:OceanicTrackInfoReturns the effective date of the Oceanic.- Specified by:
getDatein interfaceOceanicTrackInfo- Returns:
- the route date
-
getType
Description copied from interface:OceanicTrackInfoReturns the route type code.- Specified by:
getTypein interfaceOceanicTrackInfo- Returns:
- the route type
-
getFetchDate
Returns the retrieval date of the track data.- Returns:
- the retrieval date/time
-
getSource
Returns the source hostname where this NOTAM was downloaded from.- Returns:
- the hostname
- See Also:
-
getRoute
-
setDate
Updates the NOTAM effective date.- Parameters:
d- the NOTAM date- See Also:
-
setSource
Updates the NOTAM source hostname.- Parameters:
srcHost- the host this NOTAM was downloaded from- Throws:
NullPointerException- if srcHost is null- See Also:
-
setRoute
Updates the NOTAM contents.- Parameters:
routeData- the NOTAM contents- See Also:
-
setFetchDate
Updates the retrieval date of this NOTAM.- Parameters:
dt- the retrieval date/time- See Also:
-
compareTo
- Specified by:
compareToin interfaceComparable<OceanicNOTAM>
-
hashCode
-
toString
-