Class AircraftPolicyOptions
java.lang.Object
org.deltava.beans.schedule.AircraftPolicyOptions
- All Implemented Interfaces:
Serializable
,Cloneable
,Auditable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the object ID for this auditable object.getCode()
Returns the virtual airline code for these options.getETOPS()
Returns whether the aircraft is ETOPS-qualified.int
Returns the Aircraft's minimum landing runway length.int
getRange()
Returns the maximum range of the aircraft.int
getSeats()
Returns the number of seats on the aircraft.int
Returns the Aircraft's minimum takeoff runway length.boolean
Returns whether this aircraft can use soft runways.void
Updates whether this aircraft is ETOPS-rated.void
setLandingRunwayLength
(int len) Updates the minimum landing runway length of the Aircraft.void
setRange
(int range) Updates the maximum range of the aircraft.void
setSeats
(int seats) Updates the number of seats on the aircraft.void
setTakeoffRunwayLength
(int len) Updates the minimum takeoff runway length of the Aircraft.void
setUseSoftRunways
(boolean sr) Updates whether this aircraft can use soft runways.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.deltava.beans.Auditable
getAuditType, isCrossApp
-
Constructor Details
-
AircraftPolicyOptions
-
-
Method Details
-
getCode
-
getRange
public int getRange()Returns the maximum range of the aircraft.- Returns:
- the range in miles
- See Also:
-
getUseSoftRunways
public boolean getUseSoftRunways()Returns whether this aircraft can use soft runways.- Returns:
- TRUE if soft runways available, otherwise FALSE
- See Also:
-
getETOPS
Returns whether the aircraft is ETOPS-qualified.- Returns:
- TRUE if this is ETOPS-rated, otherwise FALSE
- See Also:
-
getSeats
public int getSeats()Returns the number of seats on the aircraft.- Returns:
- the number of seats
- See Also:
-
getTakeoffRunwayLength
public int getTakeoffRunwayLength()Returns the Aircraft's minimum takeoff runway length.- Returns:
- the runway length in feet
- See Also:
-
getLandingRunwayLength
public int getLandingRunwayLength()Returns the Aircraft's minimum landing runway length.- Returns:
- the runway length in feet
- See Also:
-
setRange
public void setRange(int range) Updates the maximum range of the aircraft.- Parameters:
range
- the range in miles- See Also:
-
setETOPS
Updates whether this aircraft is ETOPS-rated.- Parameters:
e
- the ETOPS classification
-
setUseSoftRunways
public void setUseSoftRunways(boolean sr) Updates whether this aircraft can use soft runways.- Parameters:
sr
- TRUE if soft runways available, otherwise FALSE- See Also:
-
setTakeoffRunwayLength
public void setTakeoffRunwayLength(int len) Updates the minimum takeoff runway length of the Aircraft.- Parameters:
len
- the runway length in feet- See Also:
-
setLandingRunwayLength
public void setLandingRunwayLength(int len) Updates the minimum landing runway length of the Aircraft.- Parameters:
len
- the runway length in feet- See Also:
-
setSeats
public void setSeats(int seats) Updates the number of seats on the aircraft.- Parameters:
seats
- the number of seats- See Also:
-
getAuditID
Description copied from interface:Auditable
Returns the object ID for this auditable object.- Specified by:
getAuditID
in interfaceAuditable
- Returns:
- the ID
-