Interface NamedStation

All Superinterfaces:
Comparable, Serializable, Station
All Known Implementing Classes:
NamedStationImpl, SoundingStation

public interface NamedStation extends Station
Interface for a landmark with name, id, lat, lon, altitude (height above msl); and a hash table of "properties". ID is usually a letter or number code like "KICT," and is the "id" part of the NamedLocation. Name is a name or description like "Wichita."
  • Method Details

    • getNamedLocation

      NamedLocation getNamedLocation()
      Get the VisAD NamedLocation that can be used to represent this NamedStation.
      Returns:
      NamedLocation object.
    • setNamedLocation

      void setNamedLocation(NamedLocation nl)
      Set the VisAD NamedLocation that can be used to represent this NamedStation.
      Parameters:
      nl - NamedLocation to use.
    • getLatitude

      double getLatitude()
      Get the latitude of this station in degrees.
      Specified by:
      getLatitude in interface Station
      Returns:
      latitude in degrees north.
    • setLatitude

      void setLatitude(double lat)
      Set the latitude of this station in degrees.
      Parameters:
      lat - latitude in degrees north.
    • getLongitude

      double getLongitude()
      Get the longitude of this station in degrees.
      Specified by:
      getLongitude in interface Station
      Returns:
      longitude in degrees east.
    • setLongitude

      void setLongitude(double lon)
      Set the longitude of this station in degrees.
      Parameters:
      lon - longitude in degrees east.
    • getAltitude

      Real getAltitude()
      Get the altitude as a Real. Units are not necessarily meters.
      Returns:
      altitude as a Real
    • setAltitude

      void setAltitude(Real alt)
      Set the altitude as a Real. Units are not necessarily meters.
      Parameters:
      alt - altitude as a Real
    • getID

      String getID()
      Get the id of this station. Something like "KICT" or "72518".
      Returns:
      name of the station
    • setID

      void setID(String id)
      Set the id of this station. Something like "KICT" or "72518".
      Parameters:
      id - name of the station
    • getName

      String getName()
      Get the name of this station. Usually a human readable string.
      Returns:
      name of the station
    • setName

      void setName(String name)
      Set the name of this station. Usually a human readable string.
      Parameters:
      name - name of the station
    • equals

      boolean equals(Object o)
      See if this object is equal to the object in question.
      Overrides:
      equals in class Object
      Parameters:
      o - Object in question
      Returns:
      true if they are "equal"