Interface GrantedUnit

All Superinterfaces:
Serializable

public interface GrantedUnit extends Serializable
Interface for Granted Unit block
  • Field Details

    • GSU_FIELDS

      static final String[] GSU_FIELDS
      Standard field names in the GSU field block
  • Method Details

    • getDuration

      UnitValue getDuration()
      Returns:
      Granted Duration
    • getInputVolume

      UnitValue getInputVolume()
      Returns:
      Granted Input volume
    • getOutputVolume

      UnitValue getOutputVolume()
      Returns:
      Granted Output Volume
    • getTotalVolume

      UnitValue getTotalVolume()
      Returns:
      Granted Total Volume
    • getSpecificUnit

      UnitValue getSpecificUnit()
      Returns:
      Specific Unit
    • getBalanceImpacts

      Collection<CostInformation> getBalanceImpacts()
      Returns:
      Collection of balance impacts for amount based event types
    • getGrantedUnit

      UnitValue getGrantedUnit(String rum)
      Parameters:
      rum - rum name
      Returns:
      Granted unit for the field type
    • getGrantedUnits

      Map<String,UnitValue> getGrantedUnits()
      Returns:
      Map of granted units
    • getValidityTime

      Long getValidityTime()
      Returns:
      The validity time of the granted unit
    • getTariffTimeChange

      Long getTariffTimeChange()
      Returns:
      The tariff time change of the granted unit
    • isZeroGrant

      boolean isZeroGrant()
      Method to check if all the grants are 0
      Returns:
      true if all grants are zero, false otherwise.