Package hec.data.watersupply
Class JDomWaterUserContractImpl
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.watersupply.JDomWaterUserContractImpl
- All Implemented Interfaces:
IWaterUserContract,XmlString,AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable
- See Also:
-
Field Summary
Fields inherited from class hec.data.AbstractJDomDataObject
DD_MM_MYYYY, DD_MM_MYYYY_HHMM, DD_MM_MYYYY_HHMMZ, MM_MYYYY, UNIT, YYYYFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENTFields inherited from interface hec.data.watersupply.IWaterUserContract
CONTRACT_DOCUMENTS, CONTRACT_WATER_USER, CONTRACTED_STORAGE, ELEMENT, FUTURE_USE_ALLOCATION, FUTURE_USE_PERCENT_ACTIVATED, INITIAL_USE_ALLOCATION, PROJECT_LOC, PUMP_IN_LOCATION, PUMP_OUT_BELOW_LOCATION, PUMP_OUT_LOCATION, TOTAL_ALLOC_PERCENT_ACTIVATED, WATER_USER_CONTRACT_REF, WS_CONTRACT_EFFECTIVE_DATE, WS_CONTRACT_EXPIRATION_DATE, WS_CONTRACT_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildElement(org.jdom.Element element) Populates the element with data from this object.booleandoubleGets the contracted storage.voidgetContractedStorage(ParamDouble paramDouble) Gets the ws contract effective date.Gets the ws contract expiration date.doubleGets the future use allocation.voidgetFutureUseAllocation(ParamDouble paramDouble) doubleGets the future use percent activated.voidgetFutureUsePercentActivated(ParamDouble paramDouble) doubleGets the initial use allocation.voidgetInitialUseAllocation(ParamDouble paramDouble) Returns the pump where water is pumped into the pool.Gets the pump where water is withdrawn from the pool.Returns the pump where water is pumped out below the pool as supply.doubleGets the total alloc percent activated.voidgetTotalAllocPercentActivated(ParamDouble paramDouble) inthashCode()voidsetContractedStorage(double contractedStorage) Sets the contracted storage.voidsetContractedStorage(ParamDouble paramDouble) voidsetContractName(String contractName) voidsetContractType(ILookupType wsContractType) voidsetEffectiveDate(Date wsContractEffectiveDate) Sets the ws contract effective date.voidsetEffectiveDateObject(Timestamp wsContractEffectiveDate) voidsetExpirationDate(Date wsContractExpirationDate) Sets the ws contract expiration date.voidsetExpirationDateObject(Timestamp wsContractExpirationDate) voidsetFutureUseAllocation(double futureUseAllocation) Sets the future use allocation.voidsetFutureUseAllocation(ParamDouble paramDouble) voidsetFutureUsePercentActivated(double futureUsePercentActivated) Sets the future use percent activated.voidsetFutureUsePercentActivated(ParamDouble paramDouble) voidsetInitialUseAllocation(double initialUseAllocation) Sets the initial use allocation.voidsetInitialUseAllocation(ParamDouble paramDouble) voidsetJDomContractType(JDomLookupTypeImpl wsContractType) voidsetJDomWaterUserContractRef(JDomWaterUserContractRef waterUserContractRef) voidsetPump(IWaterSupplyPump pump, PumpType pumpType) voidsetPumpIn(IWaterSupplyPump waterSupplyPump) Sets the pump where water is pumped into the pool.voidsetPumpInLocation(Location location) voidsetPumpOut(IWaterSupplyPump waterSupplyPump) Sets the location where water is withdrawn from the pool.voidsetPumpOutBelow(IWaterSupplyPump waterSupplyPump) Sets the pump where water is pumped out below the pool as supply.voidsetPumpOutBelowLocation(Location location) voidsetPumpOutLocation(Location location) voidsetTotalAllocPercentActivated(double totalAllocPercentActivated) Sets the total alloc percent activated.voidsetTotalAllocPercentActivated(ParamDouble paramDouble) voidsetWaterUser(IWaterUser contractWaterUser) voidsetWaterUserContractRef(IWaterUserContractRef waterUserContractRef) Methods inherited from class hec.data.AbstractJDomDataObject
buildElementOrRemove, camelCaseToLowerUnderbar, getDefaultElementName, getXmlDate, getXmlValue, parseDouble, parseFormattedDouble, parseInt, setXmlDate, setXmlValue, toXmlStringMethods inherited from class hec.lang.NamedType
addModifiableListener, clone, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getFieldObject, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setFieldObject, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, toString, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface rma.lang.Modifiable
isModified, setModifiedMethods inherited from interface hec.data.XmlString
toXmlString
-
Constructor Details
-
JDomWaterUserContractImpl
public JDomWaterUserContractImpl() -
JDomWaterUserContractImpl
public JDomWaterUserContractImpl(org.jdom.Element element) -
JDomWaterUserContractImpl
-
-
Method Details
-
buildElement
public void buildElement(org.jdom.Element element) Description copied from class:AbstractJDomDataObjectPopulates the element with data from this object.- Specified by:
buildElementin classAbstractJDomDataObject
-
getContractedStorage
public double getContractedStorage()Description copied from interface:IWaterUserContractGets the contracted storage.- Specified by:
getContractedStoragein interfaceIWaterUserContract- Returns:
- the contracted storage
-
setContractedStorage
public void setContractedStorage(double contractedStorage) Description copied from interface:IWaterUserContractSets the contracted storage.- Specified by:
setContractedStoragein interfaceIWaterUserContract- Parameters:
contractedStorage- the new contracted storage
-
getFutureUseAllocation
public double getFutureUseAllocation()Description copied from interface:IWaterUserContractGets the future use allocation.- Specified by:
getFutureUseAllocationin interfaceIWaterUserContract- Returns:
- the future use allocation
-
setFutureUseAllocation
public void setFutureUseAllocation(double futureUseAllocation) Description copied from interface:IWaterUserContractSets the future use allocation.- Specified by:
setFutureUseAllocationin interfaceIWaterUserContract- Parameters:
futureUseAllocation- the new future use allocation
-
getFutureUsePercentActivated
public double getFutureUsePercentActivated()Description copied from interface:IWaterUserContractGets the future use percent activated.- Specified by:
getFutureUsePercentActivatedin interfaceIWaterUserContract- Returns:
- the future use percent activated
-
setFutureUsePercentActivated
public void setFutureUsePercentActivated(double futureUsePercentActivated) Description copied from interface:IWaterUserContractSets the future use percent activated.- Specified by:
setFutureUsePercentActivatedin interfaceIWaterUserContract- Parameters:
futureUsePercentActivated- the new future use percent activated
-
getInitialUseAllocation
public double getInitialUseAllocation()Description copied from interface:IWaterUserContractGets the initial use allocation.- Specified by:
getInitialUseAllocationin interfaceIWaterUserContract- Returns:
- the initial use allocation
-
setInitialUseAllocation
public void setInitialUseAllocation(double initialUseAllocation) Description copied from interface:IWaterUserContractSets the initial use allocation.- Specified by:
setInitialUseAllocationin interfaceIWaterUserContract- Parameters:
initialUseAllocation- the new initial use allocation
-
getTotalAllocPercentActivated
public double getTotalAllocPercentActivated()Description copied from interface:IWaterUserContractGets the total alloc percent activated.- Specified by:
getTotalAllocPercentActivatedin interfaceIWaterUserContract- Returns:
- the total alloc percent activated
-
setTotalAllocPercentActivated
public void setTotalAllocPercentActivated(double totalAllocPercentActivated) Description copied from interface:IWaterUserContractSets the total alloc percent activated.- Specified by:
setTotalAllocPercentActivatedin interfaceIWaterUserContract- Parameters:
totalAllocPercentActivated- the new total alloc percent activated
-
getEffectiveDate
Description copied from interface:IWaterUserContractGets the ws contract effective date.- Specified by:
getEffectiveDatein interfaceIWaterUserContract- Returns:
- the ws contract effective date
-
setEffectiveDate
Description copied from interface:IWaterUserContractSets the ws contract effective date.- Specified by:
setEffectiveDatein interfaceIWaterUserContract- Parameters:
wsContractEffectiveDate- the new ws contract effective date
-
getEffectiveDateObject
-
setEffectiveDateObject
-
getExpirationDate
Description copied from interface:IWaterUserContractGets the ws contract expiration date.- Specified by:
getExpirationDatein interfaceIWaterUserContract- Returns:
- the ws contract expiration date
-
setExpirationDate
Description copied from interface:IWaterUserContractSets the ws contract expiration date.- Specified by:
setExpirationDatein interfaceIWaterUserContract- Parameters:
wsContractExpirationDate- the new ws contract expiration date
-
getExpirationDateObject
-
setExpirationDateObject
-
getWaterUserContractRef
- Specified by:
getWaterUserContractRefin interfaceIWaterUserContract
-
setWaterUserContractRef
- Specified by:
setWaterUserContractRefin interfaceIWaterUserContract
-
getJDomWaterUserContractRef
-
setJDomWaterUserContractRef
-
getContractType
- Specified by:
getContractTypein interfaceIWaterUserContract
-
setContractType
- Specified by:
setContractTypein interfaceIWaterUserContract
-
getJDomContractType
-
setJDomContractType
-
setContractName
- Specified by:
setContractNamein interfaceIWaterUserContract
-
getContractName
- Specified by:
getContractNamein interfaceIWaterUserContract
-
setWaterUser
- Specified by:
setWaterUserin interfaceIWaterUserContract
-
getWaterUser
- Specified by:
getWaterUserin interfaceIWaterUserContract
-
getContractedStorage
- Specified by:
getContractedStoragein interfaceIWaterUserContract
-
setContractedStorage
- Specified by:
setContractedStoragein interfaceIWaterUserContract
-
getFutureUseAllocation
- Specified by:
getFutureUseAllocationin interfaceIWaterUserContract
-
setFutureUseAllocation
- Specified by:
setFutureUseAllocationin interfaceIWaterUserContract
-
getFutureUsePercentActivated
- Specified by:
getFutureUsePercentActivatedin interfaceIWaterUserContract
-
setFutureUsePercentActivated
- Specified by:
setFutureUsePercentActivatedin interfaceIWaterUserContract
-
getInitialUseAllocation
- Specified by:
getInitialUseAllocationin interfaceIWaterUserContract
-
setInitialUseAllocation
- Specified by:
setInitialUseAllocationin interfaceIWaterUserContract
-
getTotalAllocPercentActivated
- Specified by:
getTotalAllocPercentActivatedin interfaceIWaterUserContract
-
setTotalAllocPercentActivated
- Specified by:
setTotalAllocPercentActivatedin interfaceIWaterUserContract
-
hashCode
public int hashCode() -
equals
-
getPumpOutBelowLocation
-
setPumpOutBelowLocation
-
getPumpOutLocation
-
setPumpOutLocation
-
getPumpInLocation
-
setPumpInLocation
-
setPumpOut
Description copied from interface:IWaterUserContractSets the location where water is withdrawn from the pool.- Specified by:
setPumpOutin interfaceIWaterUserContract
-
getPumpOut
Description copied from interface:IWaterUserContractGets the pump where water is withdrawn from the pool.- Specified by:
getPumpOutin interfaceIWaterUserContract
-
getPumpIn
Description copied from interface:IWaterUserContractReturns the pump where water is pumped into the pool.- Specified by:
getPumpInin interfaceIWaterUserContract
-
setPumpIn
Description copied from interface:IWaterUserContractSets the pump where water is pumped into the pool.- Specified by:
setPumpInin interfaceIWaterUserContract
-
setPumpOutBelow
Description copied from interface:IWaterUserContractSets the pump where water is pumped out below the pool as supply.- Specified by:
setPumpOutBelowin interfaceIWaterUserContract
-
getPumpOutBelow
Description copied from interface:IWaterUserContractReturns the pump where water is pumped out below the pool as supply.- Specified by:
getPumpOutBelowin interfaceIWaterUserContract
-
getPumpList
- Specified by:
getPumpListin interfaceIWaterUserContract
-
setPump
- Specified by:
setPumpin interfaceIWaterUserContract
-
getPump
- Specified by:
getPumpin interfaceIWaterUserContract
-