Class BriefingPackage
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.simbrief.BriefingPackage
- All Implemented Interfaces:
- Serializable,- Comparable<Object>,- IDBean,- Cacheable
A bean to store a SimBrief briefing package.
- Since:
- 10.3
- Version:
- 11.2
- Author:
- Luke
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a destination alternate Airport.voidAdds an ETOPS alternate Airport.voidaddPlan(FlightPlan fp) Adds a flight plan to the briefing package.intgetAIRAC()Returns the AIRAC version used for this route.Returns the SimBrief custom airframe ID.intReturns the alternate fuel load.Returns the arrival alternate Airports.intReturns the total baggage weight for this flight.intReturns the per-passenger baggage weight for this flight.intReturns the base fuel load.Returns the base URL for downloadable Flight Plans.Returns the HTML pilot briefing text.intReturns the additional cargo weight for this flight.Returns the generation date of this package.Returns the cruise altitude.intReturns the enroute fuel load.getETOPS()Returns the route ETOPS rating.Returns the ETOPS diversion Airports.Returns the ETOPS equal time point location.Returns the Flight Plans in this briefing package.Returns the briefing package format.intgetPax()Returns the number of passengers booked for this flight.intReturns the briefing release version.Returns the SimBrief request ID.getRoute()Returns the flight route.Returns the arrival Runway.Returns the departure Runway.Returns the SimBrief ID for this package.Returns the SimBrief User ID for this package.Returns the aircraft tail code.intReturns the taxi fuel load.intReturns the total fuel load.getURL()Returns the URL used to download the SimBrief package.getXML()Returns the raw XML generated by SimBrief.voidsetAIRAC(int airac) Updates the AIRAC version used for this route.voidsetAirframeID(String id) Updates the SimBrief custom airframe ID.voidsetAlternateFuel(int fuel) Updates the alternate fuel load.voidsetBaggageWeight(int wt) Updates the total baggage weight for this flight.voidsetBagWeight(int wt) Updates the per-passenger baggage weight for this flight.voidsetBaseFuel(int fuel) Updates the base fuel load.voidsetBasePlanURL(String url) Updates the base Flight Plan URL.voidsetCargoWeight(int wt) Updates the additional cargo weight for this flight.voidsetCreatedOn(Instant dt) Updates the generation date of this package.voidsetCruiseAltitude(String alt) Updates the cruise altitude.voidsetEnrouteFuel(int fuel) Updates the enroute fuel load.voidUpdates the route's ETOPS rating.voidSets the ETOPS equal time midpoint.voidsetPax(int pax) Updates the number of passengers booked on this flight.voidsetReleaseVersion(int v) Updates the SimBrief release version.voidsetRequestID(String id) Updates the SimBrief request ID.voidUpdates the flight route.voidsetRunwayA(String rwy) Updates the arrival Runway.voidsetRunwayD(String rwy) Updates the departure Runway.voidsetSimBriefID(String id) Updates the SimBrief plan ID.voidUpdates the SimBrief User ID.voidsetTailCode(String tc) Updates the aircraft tail code.voidsetTaxiFuel(int fuel) Updates the taxi fuel load.voidUpdates the URL used to download the briefing package.voidUpdates the raw XML generated by SimBrief.Methods inherited from class org.deltava.beans.DatabaseBeancacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateID
- 
Constructor Details- 
BriefingPackageBriefingPackage(int id, PackageFormat fmt) Creates the bean.- Parameters:
- id- the Flight Report database ID
- fmt- the PackageFormat
 
 
- 
- 
Method Details- 
getSimBriefID
- 
getSimBriefUserIDReturns the SimBrief User ID for this package.- Returns:
- the SimBrief user ID
 
- 
getRequestID
- 
getFormat
- 
getReleaseVersionpublic int getReleaseVersion()Returns the briefing release version.- Returns:
- the version
 
- 
getCreatedOnReturns the generation date of this package.- Returns:
- the date/time the package was generated by SimBrief
 
- 
getAIRACpublic int getAIRAC()Returns the AIRAC version used for this route.- Returns:
- the AIRAC version
 
- 
getAlternates
- 
getCruiseAltitude
- 
getRoute
- 
getTailCode
- 
getAirframeID
- 
getETOPS
- 
getETOPSAlternates
- 
getETOPSMidpointReturns the ETOPS equal time point location.- Returns:
- a GeoLocation, or null
 
- 
getRunwayD
- 
getRunwayA
- 
getURLReturns the URL used to download the SimBrief package.- Returns:
- the SimBrief URL
 
- 
getBasePlanURL
- 
getFlightPlansReturns the Flight Plans in this briefing package.- Returns:
- a Collection of FlightPlans
 
- 
getXML
- 
getBaseFuelpublic int getBaseFuel()Returns the base fuel load.- Returns:
- fuel the fuel in pounds
 
- 
getTaxiFuelpublic int getTaxiFuel()Returns the taxi fuel load.- Returns:
- fuel the fuel in pounds
 
- 
getEnrouteFuelpublic int getEnrouteFuel()Returns the enroute fuel load.- Returns:
- fuel the fuel in pounds
 
- 
getAlternateFuelpublic int getAlternateFuel()Returns the alternate fuel load.- Returns:
- fuel the fuel in pounds
 
- 
getTotalFuelpublic int getTotalFuel()Returns the total fuel load.- Returns:
- the fuel in pounds
 
- 
getBriefingText
- 
getPaxpublic int getPax()Returns the number of passengers booked for this flight.- Returns:
- the number of passengers
 
- 
getBaggageWeightpublic int getBaggageWeight()Returns the total baggage weight for this flight.- Returns:
- the weight in pounds
 
- 
getBagWeightpublic int getBagWeight()Returns the per-passenger baggage weight for this flight.- Returns:
- the weight in pounds
 
- 
getCargoWeightpublic int getCargoWeight()Returns the additional cargo weight for this flight.- Returns:
- the weight in pounds
 
- 
addPlanAdds a flight plan to the briefing package.- Parameters:
- fp- a FlightPlan
 
- 
setCreatedOnUpdates the generation date of this package.- Parameters:
- dt- the date/time the package was generated by SimBrief
 
- 
setSimBriefID
- 
setReleaseVersionpublic void setReleaseVersion(int v) Updates the SimBrief release version.- Parameters:
- v- the version
 
- 
setSimBriefUserIDUpdates the SimBrief User ID.- Parameters:
- id- the SimBrief user ID
 
- 
setRequestIDUpdates the SimBrief request ID.- Parameters:
- id- the SimBrief request ID
 
- 
setAIRACpublic void setAIRAC(int airac) Updates the AIRAC version used for this route.- Parameters:
- airac- the AIRAC version
 
- 
addAirportLAdds a destination alternate Airport.- Parameters:
- a- the Airport
 
- 
addETOPSAlternateAdds an ETOPS alternate Airport.- Parameters:
- a- the Airport
 
- 
setETOPSMidpoint
- 
setCruiseAltitudeUpdates the cruise altitude.- Parameters:
- alt- the altitude in feet
 
- 
setRoute
- 
setETOPS
- 
setTailCode
- 
setAirframeIDUpdates the SimBrief custom airframe ID.- Parameters:
- id- the ID
 
- 
setRunwayDUpdates the departure Runway.- Parameters:
- rwy- the departure runway name
 
- 
setRunwayAUpdates the arrival Runway.- Parameters:
- rwy- the arrival runway name
 
- 
setURLUpdates the URL used to download the briefing package.- Parameters:
- url- the SimBrief URL
 
- 
setBasePlanURL
- 
setXMLUpdates the raw XML generated by SimBrief.- Parameters:
- doc- the XML Document
 
- 
setBaseFuelpublic void setBaseFuel(int fuel) Updates the base fuel load.- Parameters:
- fuel- the fuel in pounds
 
- 
setTaxiFuelpublic void setTaxiFuel(int fuel) Updates the taxi fuel load.- Parameters:
- fuel- the fuel in pounds
 
- 
setEnrouteFuelpublic void setEnrouteFuel(int fuel) Updates the enroute fuel load.- Parameters:
- fuel- the fuel in pounds
 
- 
setAlternateFuelpublic void setAlternateFuel(int fuel) Updates the alternate fuel load.- Parameters:
- fuel- the fuel in pounds
 
- 
setPaxpublic void setPax(int pax) Updates the number of passengers booked on this flight.- Parameters:
- pax- the number of passengers
 
- 
setBaggageWeightpublic void setBaggageWeight(int wt) Updates the total baggage weight for this flight.- Parameters:
- wt- the weight in pounds
 
- 
setBagWeightpublic void setBagWeight(int wt) Updates the per-passenger baggage weight for this flight.- Parameters:
- wt- the weight in pounds
 
- 
setCargoWeightpublic void setCargoWeight(int wt) Updates the additional cargo weight for this flight.- Parameters:
- wt- the weight in pounds
 
 
-