Enum Class DataExtensionEnum

java.lang.Object
java.lang.Enum<DataExtensionEnum>
org.ka2ddo.aprs.DataExtensionEnum
All Implemented Interfaces:
Serializable, Comparable<DataExtensionEnum>, Constable, EnumWithImageName

public enum DataExtensionEnum extends Enum<DataExtensionEnum> implements EnumWithImageName
This defines hashmap keys for various optional data extensions supported by APRS messages. Note these are separate from WeatherEnum keys (even if they have the same ordinal value).
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Color code (usually an Integer) for APRS area "symbols" (APRS protocol specification chapter 7).
    Latitude offset (usually a Double) for APRS area "symbols" (APRS protocol specification chapter 7).
    Longitude offset (usually a Double) for APRS area "symbols" (APRS protocol specification chapter 7).
    Shape code character for APRS area "symbols" (APRS protocol specification chapter 7).
    Bearing for direction-finding.
    Compression type code for compressed position messages (APRS protocol specification chapter 9).
    Four-digit Direction-Finding Signal.
    Text abbreviations for digipeater aliases to be reported in station beacon message.
    Flow rate (as reported by a river gauge) in cubic feet per second.
    Frequency for a repeater or monitoring station in MHz (Double).
    Last GPS sentence type used to provide position information.
    Indoor relative humidity in percent.
    The current indoor temperature in degrees Fahrenheit (as reported by Peet Bros Ultimeter weather stations).
    Width of APRS area "line" (APRS protocol specification chapter 7).
    Three digits of Number/Range/Quality for direction finding.
    NWSMultiline object extracted from a MessageMessage.
    Four-digit PHG string (APRS protocol specification chapter 7).
    Four-digit range in statute miles (APRS protocol specification chapter 7), stored as an Integer.
    Repeater offset in 10s of kHz, signed for the shift direction (0 means simplex).
    Text string for display on an APRS signpost symbol (APRS protocol specification chapter 11).
    Base91 Telemetry data extracted from a PositionMessage's comment, per the proposed extension documented in http://he.fi/doc/aprs-base91-comment-telemetry.txt.
    Sub-audible tone encoding.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the relative path name of the image file for this enum value.
    boolean
    Indicate if enum-indicated data could ever be in a standardized part of an APRS message.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static DataExtensionEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DataExtensionEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isInMessage

      public boolean isInMessage()
      Indicate if enum-indicated data could ever be in a standardized part of an APRS message.
      Returns:
      boolean true if this data type could appear in an APRS message
    • getImagePath

      public String getImagePath()
      Return the relative path name of the image file for this enum value.
      Specified by:
      getImagePath in interface EnumWithImageName
      Returns:
      path name String, or a two-character APRS symbol table ID and code