Package org.deltava.beans.simbrief
Class Airframe
java.lang.Object
org.deltava.beans.simbrief.Airframe
- All Implemented Interfaces:
Serializable
,Comparable<Airframe>
A bean to store SimBrief airframe information.
- Since:
- 10.4
- Version:
- 10.4
- Author:
- Luke
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getID()
Returns the SimBrief airframe ID.Returns the date this airframe was last used in a SimBrief dispatch package.Returns the aircraft tail code.int
Returns the number of times this airframe has been used in a SimBrief dispatch package.void
setLastUse
(Instant dt) Updates the date this airframe was last used in a SimBrief dispatch package.void
setUseCount
(int cnt) Updates the number of times this airframe has been used in a SimBrief dispatch package.
-
Constructor Details
-
Airframe
-
-
Method Details
-
getID
-
getTailCode
-
getUseCount
public int getUseCount()Returns the number of times this airframe has been used in a SimBrief dispatch package.- Returns:
- the number of flights
-
getLastUse
Returns the date this airframe was last used in a SimBrief dispatch package.- Returns:
- the last usage date/time
-
setUseCount
public void setUseCount(int cnt) Updates the number of times this airframe has been used in a SimBrief dispatch package.- Parameters:
cnt
- the number of flights
-
setLastUse
Updates the date this airframe was last used in a SimBrief dispatch package.- Parameters:
dt
- the last usage date/time
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Airframe>
-