Class State

java.lang.Object
net.adambruce.dsn.now.model.state.State

public class State extends Object
DSN state information.
  • Constructor Details

    • State

      public State()
  • Method Details

    • setStation

      public void setStation(Station station)
      the DSN stations. This method will append to the list.
      Parameters:
      station - the DSN station
    • setDish

      public void setDish(Dish dish)
      the DSN dishes. This method will append to the list.
      Parameters:
      dish - the DSN dish
    • getStations

      public List<Station> getStations()
      the DSN stations
      Returns:
      the DSN stations
    • getDishes

      public List<Dish> getDishes()
      the DSN dishes
      Returns:
      the DSN dishes
    • getTimestamp

      public Instant getTimestamp()
      the timestamp of the DSN state response
      Returns:
      the timestamp of the DSN state response
    • setTimestamp

      public void setTimestamp(Instant timestamp)
      the timestamp of the DSN state response
      Parameters:
      timestamp - the timestamp of the DSN state response
    • 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