Interface EnumDescription

All Superinterfaces:
ComboAlias
All Known Implementing Classes:
AccomplishUnit, AirbusFlaps, ApplicantStatus, ApplicantStatus, AssignmentStatus, Chart.Type, CharterRequest.RequestStatus, ClientType, DispatchType, EliteUnit, FlightScore, FlightStatus, FlightType, GateType, GateZone, HistoryType, Inclusion, Issue.IssueType, IssueArea, IssuePriority, IssueSecurity, IssueStatus, IssueStatus, JobStatus, LandingRating, MapType, NotifyActionType, OnTime, PackageFormat, PilotStatus, Prerequisite, PurgeOptions, ScheduleSource, Status, Status, TankType, TourStatus, UpdateChannel, UpgradeReason, Warning

public interface EnumDescription extends ComboAlias
An interface for Enumerations with propercased descriptions.
Since:
9.0
Version:
9.0
Author:
Luke
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns the alias to use in the HTML <OPTION> element.
    default String
    Returns the visible name to use in the HTML <OPTION> element.
    default String
    The propercased description.
    The enumeration name.
  • Method Details

    • name

      String name()
      The enumeration name.
      Returns:
      the name
    • getDescription

      default String getDescription()
      The propercased description.
      Returns:
      the description
    • getComboAlias

      default String getComboAlias()
      Description copied from interface: ComboAlias
      Returns the alias to use in the HTML <OPTION> element.
      Specified by:
      getComboAlias in interface ComboAlias
      Returns:
      The alias for this entry
    • getComboName

      default String getComboName()
      Description copied from interface: ComboAlias
      Returns the visible name to use in the HTML <OPTION> element.
      Specified by:
      getComboName in interface ComboAlias
      Returns:
      The visible name for this entry