Class PriceLocation

java.lang.Object
net.solarnetwork.node.domain.datum.SimpleDatumLocation
net.solarnetwork.node.domain.datum.PriceLocation
All Implemented Interfaces:
DatumLocation

public class PriceLocation extends SimpleDatumLocation
Information about a specific price location.
Version:
1.1
Author:
matt
  • Constructor Details

    • PriceLocation

      public PriceLocation()
      Default constructor.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCurrency

      public String getCurrency()
      Get the currency symbol.
      Returns:
      the currency symbol
    • setCurrency

      public void setCurrency(String currency)
      Set the currency symbol.
      Parameters:
      currency - the currency symbol to set
    • getUnit

      public String getUnit()
      Get the unit.
      Returns:
      the unit
    • setUnit

      public void setUnit(String unit)
      Set the unit.
      Parameters:
      unit - the unit to set