Package hec.data.watersupply
Interface IWaterSupplyPumpAccounting
- All Superinterfaces:
XmlString
- All Known Implementing Classes:
JDomWaterSupplyPumpAccountingImpl
A dated accounting for a given contract / pump.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondouble
Gets the accounting flow in SI Parameter units.void
getAccountingFlow
(ParamDouble accountingFlow) Gets the accounting flow.Returns the SI parameter units for accounting flow.Gets the accounting remarks.Gets the physical transfer type.Gets the water user contract pump location associated with this accounting.Gets the transfer start datetime.Gets a reference to the water user contract.boolean
isValid()
void
setAccountingFlow
(double accountingFlow) Sets the accounting flow in SI Parameter units.void
setAccountingFlow
(ParamDouble accountingFlow) Sets the accounting flow.void
setAccountingRemarks
(String accountingRemarks) Sets the accounting remarks.void
setPhysicalTransferType
(ILookupType physicalTransferType) Sets the physical transfer type.void
setTransferStartDatetime
(Date transferStartDatetime) Sets the transfer start datetime.void
Methods inherited from interface hec.data.XmlString
toXmlString
-
Field Details
-
WATER_USER_CONTRACT
- See Also:
-
PUMP_LOCATION
- See Also:
-
XFER_START_DATETIME
- See Also:
-
PHYSICAL_XFER_TYPE
- See Also:
-
ACCOUNTING_FLOW
- See Also:
-
ACCOUNTING_REMARKS
- See Also:
-
-
Method Details
-
getWaterUserContractRef
IWaterUserContractRef getWaterUserContractRef()Gets a reference to the water user contract.- Returns:
- the water user contract account contract
-
getPumpLocationRef
LocationTemplate getPumpLocationRef()Gets the water user contract pump location associated with this accounting.- Returns:
-
setPhysicalTransferType
Sets the physical transfer type.- Parameters:
physicalTransferType
- the new physical transfer type
-
getPhysicalTransferType
ILookupType getPhysicalTransferType()Gets the physical transfer type.- Returns:
- the physical transfer type
-
setAccountingFlow
Sets the accounting flow.- Parameters:
accountingFlow
- the new accounting flow
-
setAccountingFlow
void setAccountingFlow(double accountingFlow) Sets the accounting flow in SI Parameter units.- Parameters:
accountingFlow
-
-
getAccountingFlow
Gets the accounting flow. -
getAccountingFlow
double getAccountingFlow()Gets the accounting flow in SI Parameter units.- Returns:
-
getAccountingFlowUnits
String getAccountingFlowUnits()Returns the SI parameter units for accounting flow.- Returns:
-
setTransferStartDatetime
Sets the transfer start datetime.- Parameters:
transferStartDatetime
- the new transfer start datetime
-
getTransferStartDatetime
Date getTransferStartDatetime()Gets the transfer start datetime.- Returns:
- the transfer start datetime
-
setAccountingRemarks
Sets the accounting remarks.- Parameters:
accountingRemarks
- the new accounting remarks
-
getAccountingRemarks
String getAccountingRemarks()Gets the accounting remarks.- Returns:
- the accounting remarks
-
setUndefined
void setUndefined() -
isValid
boolean isValid()
-