Interface GrantedUnit
- All Superinterfaces:
Serializable
Interface for Granted Unit block
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]
Standard field names in the GSU field block -
Method Summary
Modifier and TypeMethodDescriptiongetGrantedUnit
(String rum) boolean
Method to check if all the grants are 0
-
Field Details
-
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
- Parameters:
rum
- rum name- Returns:
- Granted unit for the field type
-
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.
-