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 String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionReturns the law authorizing this project.long
Returns the date of the major cost of the project.Returns the date of the major cost of the project.double
Returns the federal cost of this project.void
getFederalCost
(ParamDouble value) double
Returns the federal operations and maintenance cost for this project.void
getFederalOandMCost
(ParamDouble value) Returns the location for this project.Returns by reference the location associated with the near gage for this project.double
Returns the non federal cost of this project.void
getNonFederalCost
(ParamDouble value) double
Returns the non federal operations and maintenance cost for this project.void
Returns 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.long
long
void
setAuthorizingLaw
(String authorizingLaw) Sets the law authorizing this project.void
void
setCostYear
(long time) Sets the cost year of this project.void
void
setFederalCost
(double cost) Sets the federal cost for this project.void
setFederalOandMCost
(double cost) Sets the federal operations and maintenance cost for this project.void
void
setLocation
(Location location) void
setNearGageLocation
(Location location) void
setNonFederalCost
(double cost) Sets the non federal cost of this project.void
setNonFederalOandMCost
(double cost) Sets the non federal operations and maintenance cost for this project.void
setProjectOwner
(String owner) Sets the assigned owner of this project.void
setPumpbackLocation
(Location location) void
setRemarks
(String remarks) Sets the general remarks for this project.void
void
setYieldTimeFrameEnd
(long timeInMillis) void
setYieldTimeFrameStart
(long timeInMillis) Methods inherited from interface rma.lang.Modifiable
isModified, setModified
Methods 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:
getLocation
in interfaceILocationAssociation
- Returns:
-
setLocation
- Specified by:
setLocation
in 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()
-