Class EliteProgram

java.lang.Object
org.deltava.beans.econ.EliteProgram
All Implemented Interfaces:
Serializable

public class EliteProgram extends Object implements Serializable
A bean to store data about an Elite program. This is used to share data with the ACARS server which does not have access to each virtual airlne's SystemData object.
Since:
11.1
Version:
11.1
Author:
Luke
See Also:
  • Constructor Details

    • EliteProgram

      public EliteProgram(String name)
      Creates the bean.
      Parameters:
      name - the program name
  • Method Details

    • getName

      public String getName()
      Returns the program name.
      Returns:
      the name
    • getDistanceUnit

      public String getDistanceUnit()
      Returns the distance unit name.
      Returns:
      the unit name
    • getPointUnit

      public String getPointUnit()
      Returns the point unit name.
      Returns:
      the unit name
    • setUnits

      public void setUnits(String dst, String pts)
      Updates the unit names.
      Parameters:
      dst - the distance unit name
      pts - the point unit name