Class RateCore

Direct Known Subclasses:
Rate, RegulationRate

public class RateCore
extends XStreamStateLoggable
Common supertype of Rate classes, holds tariff ID for this rate.
Author:
John Collins
  • Constructor Details

  • Method Details

    • getId

      public long getId()
      Returns the id of this Rate
    • setTariffId

      @StateChange public void setTariffId​(long id)
      Sets the backpointer to the tariff. This is a non-fluent setter, intended to be called by TariffSpecification. It is public to better support state logging
    • getTariffId

      public long getTariffId()
      Returns the id of the TariffSpecification to which this Rate is attached.