Class MergedTargetData

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

public final class MergedTargetData extends Object
Merged target / spacecraft information from the DSN configuration and state endpoints.
  • Constructor Details

    • MergedTargetData

      public MergedTargetData(String name, Long id, Long upLegRange, Long downLegRange, Duration roundTripLightTime, String explorerName, String friendlyAcronym, String friendlyName, Boolean thumbnail)
      Creates a new MergedTargetData instance.
      Parameters:
      name - the name of the spacecraft
      id - the ID of the target
      upLegRange - the up leg range (m)
      downLegRange - the down leg range (m)
      roundTripLightTime - the Round Trip Light Time (RTLT)
      explorerName - the explorer name of the spacecraft
      friendlyAcronym - the friendly acronym of the spacecraft
      friendlyName - the friendly name of the spacecraft
      thumbnail - whether the spacecraft has a thumbnail (used by DSN Now webpage)
  • Method Details

    • getName

      public String getName()
      the name of the spacecraft
      Returns:
      the name of the spacecraft
    • getId

      public Long getId()
      the ID of the target
      Returns:
      the ID of the target
    • getUpLegRange

      public Long getUpLegRange()
      the up leg range (m)
      Returns:
      the up leg range (m)
    • getDownLegRange

      public Long getDownLegRange()
      the down leg range (m)
      Returns:
      the down leg range (m)
    • getRoundTripLightTime

      public Duration getRoundTripLightTime()
      the Round Trip Light Time (RTLT)
      Returns:
      the RTLT
    • getExplorerName

      public String getExplorerName()
      the explorer name of the spacecraft
      Returns:
      the explorer name of the spacecraft
    • getFriendlyAcronym

      public String getFriendlyAcronym()
      the friendly acronym of the spacecraft
      Returns:
      the friendly acronym of the spacecraft
    • getFriendlyName

      public String getFriendlyName()
      the friendly name of the spacecraft
      Returns:
      the friendly name of the spacecraft
    • getThumbnail

      public Boolean getThumbnail()
      whether the spacecraft has a thumbnail (used by DSN Now webpage)
      Returns:
      true if the spacecraft has a thumbnail
    • 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