Package hec.data.project
Interface IProject
- All Superinterfaces:
ILocationAssociation,Modifiable,XmlString
- All Known Implementing Classes:
JDomProjectImpl
The interface to a project.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionReturns the law authorizing this project.longReturns the date of the major cost of the project.Returns the date of the major cost of the project.doubleReturns the federal cost of this project.voidgetFederalCost(ParamDouble value) doubleReturns the federal operations and maintenance cost for this project.voidgetFederalOandMCost(ParamDouble value) Returns the location for this project.Returns by reference the location associated with the near gage for this project.doubleReturns the non federal cost of this project.voidgetNonFederalCost(ParamDouble value) doubleReturns the non federal operations and maintenance cost for this project.voidReturns the concatenated base location id - sub location id for this project.Returns the office id that owns this project.Returns the assigned owner of this project.Returns the office id that owns this project.Returns by reference the location associated with water pumped back into ' this project, can be null.Returns the general remarks for this project.longlongvoidsetAuthorizingLaw(String authorizingLaw) Sets the law authorizing this project.voidvoidsetCostYear(long time) Sets the cost year of this project.voidvoidsetFederalCost(double cost) Sets the federal cost for this project.voidsetFederalOandMCost(double cost) Sets the federal operations and maintenance cost for this project.voidvoidsetLocation(Location location) voidsetNearGageLocation(Location location) voidsetNonFederalCost(double cost) Sets the non federal cost of this project.voidsetNonFederalOandMCost(double cost) Sets the non federal operations and maintenance cost for this project.voidsetProjectOwner(String owner) Sets the assigned owner of this project.voidsetPumpbackLocation(Location location) voidsetRemarks(String remarks) Sets the general remarks for this project.voidvoidsetYieldTimeFrameEnd(long timeInMillis) voidsetYieldTimeFrameStart(long timeInMillis) Methods inherited from interface rma.lang.Modifiable
isModified, setModifiedMethods inherited from interface hec.data.XmlString
toXmlString
-
Field Details
-
ELEMENT
- See Also:
-
PROJECT_LOCATION
- See Also:
-
PUMP_BACK_LOCATION
- See Also:
-
NEAR_GAGE_LOCATION
- See Also:
-
AUTHORIZING_LAW
- See Also:
-
FEDERAL_COST
- See Also:
-
NONFEDERAL_COST
- See Also:
-
COST_YEAR
- See Also:
-
FEDERAL_OM_COST
- See Also:
-
NONFEDERAL_OM_COST
- See Also:
-
REMARKS
- See Also:
-
PROJECT_OWNER
- See Also:
-
HYDROPOWER_DESCRIPTION
- See Also:
-
SEDIMENTATION_DESCRIPTION
- See Also:
-
DOWNSTREAM_URBAN_DESCRIPTION
- See Also:
-
BANK_FULL_CAPACITY_DESCRIPTION
- See Also:
-
YIELD_TIME_FRAME_START
- See Also:
-
YIELD_TIME_FRAME_END
- See Also:
-
VERSION
- See Also:
-
VERSION_1_0
- See Also:
-
-
Method Details
-
getProjectId
String getProjectId()Returns the concatenated base location id - sub location id for this project. -
getProjectOfficeId
String getProjectOfficeId()Returns the office id that owns this project. -
getProjectTimeZone
TimeZone getProjectTimeZone()Returns the office id that owns this project. -
getLocation
Location getLocation()Returns the location for this project. Can be modified by reference.- Specified by:
getLocationin interfaceILocationAssociation- Returns:
-
setLocation
- Specified by:
setLocationin interfaceILocationAssociation
-
getAuthorizingLaw
String getAuthorizingLaw()Returns the law authorizing this project. -
setAuthorizingLaw
Sets the law authorizing this project.- Parameters:
authorizingLaw-
-
getFederalCost
double getFederalCost()Returns the federal cost of this project.- Returns:
-
getFederalCost
-
setFederalCost
void setFederalCost(double cost) Sets the federal cost for this project.- Parameters:
cost-
-
getNonFederalCost
double getNonFederalCost()Returns the non federal cost of this project.- Returns:
-
getNonFederalCost
-
setNonFederalCost
void setNonFederalCost(double cost) Sets the non federal cost of this project.- Parameters:
cost-
-
getCostYear
long getCostYear()Returns the date of the major cost of the project.- Returns:
- a java ms utc time for the year.
-
getCostYearObject
Timestamp getCostYearObject()Returns the date of the major cost of the project. Used for database serialization- Returns:
- timestamp for the year.
-
setCostYear
void setCostYear(long time) Sets the cost year of this project.- Parameters:
time- a java ms utc time for the year.
-
getFederalOandMCost
double getFederalOandMCost()Returns the federal operations and maintenance cost for this project.- Returns:
-
getFederalOandMCost
-
setFederalOandMCost
void setFederalOandMCost(double cost) Sets the federal operations and maintenance cost for this project.- Parameters:
cost-
-
getNonFederalOandMCost
double getNonFederalOandMCost()Returns the non federal operations and maintenance cost for this project.- Returns:
-
getNonFederalOandMCost
-
setNonFederalOandMCost
void setNonFederalOandMCost(double cost) Sets the non federal operations and maintenance cost for this project.- Parameters:
cost-
-
getRemarks
String getRemarks()Returns the general remarks for this project.- Returns:
-
setRemarks
Sets the general remarks for this project.- Parameters:
remarks-
-
getProjectOwner
String getProjectOwner()Returns the assigned owner of this project.- Returns:
-
setProjectOwner
Sets the assigned owner of this project.- Parameters:
owner-
-
getPumpbackLocation
Location getPumpbackLocation()Returns by reference the location associated with water pumped back into ' this project, can be null.- Returns:
-
getNearGageLocation
Location getNearGageLocation()Returns by reference the location associated with the near gage for this project.- Returns:
-
getBankFullCapacityDescription
String getBankFullCapacityDescription() -
getDownstreamUrbanDescription
String getDownstreamUrbanDescription() -
getHydropowerDescription
String getHydropowerDescription() -
getSedimentationDescription
String getSedimentationDescription() -
getYieldTimeFrameStart
long getYieldTimeFrameStart() -
getYieldTimeFrameStartTimestamp
Timestamp getYieldTimeFrameStartTimestamp() -
getYieldTimeFrameEnd
long getYieldTimeFrameEnd() -
getYieldTimeFrameEndTimestamp
Timestamp getYieldTimeFrameEndTimestamp() -
setSedimentationDescription
-
setBankFullCapacityDescription
-
setHydropowerDescription
-
setDownstreamUrbanDescription
-
setYieldTimeFrameStart
void setYieldTimeFrameStart(long timeInMillis) -
setYieldTimeFrameEnd
void setYieldTimeFrameEnd(long timeInMillis) -
setPumpbackLocation
-
setNearGageLocation
-
getFederalCostUnit
String getFederalCostUnit() -
getFederalOandMCostUnit
String getFederalOandMCostUnit() -
getNonFederalCostUnit
String getNonFederalCostUnit() -
getNonFederalOandMCostUnit
String getNonFederalOandMCostUnit()
-