Class MergedStationData

java.lang.Object
net.adambruce.dsn.now.model.merged.MergedStationData

public final class MergedStationData extends Object
Merged ground station information from the DSN configuration and state endpoints.
  • Constructor Details

    • MergedStationData

      public MergedStationData(String name, String friendlyName, Double longitude, Double latitude, Instant time, ZoneOffset timeZoneOffset, List<MergedDishData> dishes)
      Creates a new MergedStationData instance.
      Parameters:
      name - the name of the ground station
      friendlyName - the friendly name of the ground station
      longitude - the longitude of the ground station
      latitude - the latitude of the ground station
      time - the time at the ground station
      timeZoneOffset - the timezone offset relative to UTC
      dishes - the dishes located at this ground station
  • Method Details

    • getName

      public String getName()
      the name of the ground station
      Returns:
      the name of the ground station
    • getFriendlyName

      public String getFriendlyName()
      the friendly name of the ground station
      Returns:
      the friendly name of the ground station
    • getLongitude

      public Double getLongitude()
      the longitude of the ground station
      Returns:
      the longitude of the ground station
    • getLatitude

      public Double getLatitude()
      the latitude of the ground station
      Returns:
      the latitude of the ground station
    • getTime

      public Instant getTime()
      the time at the ground station
      Returns:
      the time at the ground station
    • getTimeZoneOffset

      public ZoneOffset getTimeZoneOffset()
      the timezone offset relative to UTC
      Returns:
      the timezone offset relative to UTC
    • getDishes

      public List<MergedDishData> getDishes()
      the dishes located at this ground station
      Returns:
      the dishes located at this ground station
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object