Class EnergyPriceValue

java.lang.Object
edu.ie3.datamodel.models.value.EnergyPriceValue
All Implemented Interfaces:
Value, Serializable

public class EnergyPriceValue extends Object implements Value
Describes a price for energy
See Also:
  • Constructor Details

    • EnergyPriceValue

      public EnergyPriceValue(tech.units.indriya.ComparableQuantity<edu.ie3.util.quantities.interfaces.EnergyPrice> price)
      Parameters:
      price - per MWh
  • Method Details

    • getPrice

      public Optional<tech.units.indriya.ComparableQuantity<edu.ie3.util.quantities.interfaces.EnergyPrice>> getPrice()
    • 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