Class DXRecord

java.lang.Object
org.ka2ddo.yaac.aprs.DXRecord
All Implemented Interfaces:
Serializable

public class DXRecord extends Object implements Serializable
This class represents one record of a DX report gated to APRS from a DXcluster.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The bearing from the DX reporting station in degrees from True North.
    float
    Distance from DX reporting station in the specified units.
    The units of distance used by the distance value.\
    boolean
    Record came from a logfile playback, not from a real-time connection.
    double
    Latitude of DX reporting station.
    double
    Longitude of DX reporting station.
    Callsign of station reported as DX.
    Callsign of station reporting DX.
    long
    Date/time of DX event in Java milliseconds since midnight Jan 1, 1970 UTC.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DXRecord(String callsign)
    Create a DXRecord for the specified reported station.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Report if the DXRecord is completely filled in.
    Returns a string representation of the object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • timestamp

      public long timestamp
      Date/time of DX event in Java milliseconds since midnight Jan 1, 1970 UTC.
    • reportingStation

      public String reportingStation
      Callsign of station reporting DX.
    • reportedStation

      public String reportedStation
      Callsign of station reported as DX.
    • distance

      public float distance
      Distance from DX reporting station in the specified units.
      See Also:
    • distanceUnit

      public DistanceUnit distanceUnit
      The units of distance used by the distance value.\
      See Also:
    • bearing

      public int bearing
      The bearing from the DX reporting station in degrees from True North.
    • latitude

      public double latitude
      Latitude of DX reporting station.
    • longitude

      public double longitude
      Longitude of DX reporting station.
    • isPlayback

      public boolean isPlayback
      Record came from a logfile playback, not from a real-time connection.
  • Constructor Details

    • DXRecord

      public DXRecord(String callsign)
      Create a DXRecord for the specified reported station.
      Parameters:
      callsign - String of reported station's callsign
  • Method Details

    • isFilledIn

      public boolean isFilledIn()
      Report if the DXRecord is completely filled in.
      Returns:
      boolean true if all fields of record are filled in
    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.