Class Station

java.lang.Object
uk.m0nom.adifproc.adif3.contacts.Station

public class Station extends Object
One end of a QSO this captures both station related information and the QSOs that the station has participated in For the purposes of comparison a station is considered unique if it is both the same callsign and location
  • Constructor Details

    • Station

      public Station()
    • Station

      public Station(String callsign, Qso initialQso)
  • Method Details

    • addQso

      public void addQso(Qso qso)
    • addActivity

      public void addActivity(Activity activity)
    • isDoing

      public boolean isDoing(ActivityType type)
    • getActivity

      public Collection<Activity> getActivity(ActivityType type)
    • hasActivity

      public boolean hasActivity()
    • doingSameActivityAs

      public boolean doingSameActivityAs(Station other)
    • equals

      public boolean equals(Object other)
      Stations are considered equal if they have the same callsign and are in the same location (or have no location set)
      Overrides:
      equals in class Object
      Parameters:
      other - Other instance to compare
      Returns:
      true if same callsign and same location
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getKey

      public String getKey()
      Unique key for this station including callsign and either coords/grid or both/neither
      Returns:
      unique key for this station