Package hec.data.stream
Class StreamLocationImpl
java.lang.Object
hec.data.stream.StreamLocationImpl
- All Implemented Interfaces:
IStreamLocation
,IStreamLocationTemplate
,Modifiable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBank()
This represents the location ID in the database, such as 'WTYT2' This may be the same as the stream Id (such as when the object is an IStream)int
hashCode()
boolean
void
void
setLocationId
(String locationId) void
setLowestMeasurableStage
(Double stage) void
setModified
(boolean modified) void
setNavigationStation
(Double station) void
setOfficeId
(String officeId) void
setPublishedStation
(Double station) void
setStation
(Double station) void
setStreamId
(String locationId) void
setTotalDrainageArea
(Double area) void
setUngagedDrainageArea
(Double area) toString()
-
Constructor Details
-
StreamLocationImpl
public StreamLocationImpl() -
StreamLocationImpl
-
-
Method Details
-
setLocationId
- Specified by:
setLocationId
in interfaceIStreamLocation
-
getLocationId
Description copied from interface:IStreamLocationTemplate
This represents the location ID in the database, such as 'WTYT2' This may be the same as the stream Id (such as when the object is an IStream)- Specified by:
getLocationId
in interfaceIStreamLocationTemplate
- Returns:
-
setStreamId
- Specified by:
setStreamId
in interfaceIStreamLocation
-
getStreamId
- Specified by:
getStreamId
in interfaceIStreamLocationTemplate
-
setStation
- Specified by:
setStation
in interfaceIStreamLocation
-
getStation
- Specified by:
getStation
in interfaceIStreamLocation
-
setPublishedStation
- Specified by:
setPublishedStation
in interfaceIStreamLocation
-
getPublishedStation
- Specified by:
getPublishedStation
in interfaceIStreamLocation
-
setBank
- Specified by:
setBank
in interfaceIStreamLocation
-
getBank
- Specified by:
getBank
in interfaceIStreamLocation
-
setLowestMeasurableStage
- Specified by:
setLowestMeasurableStage
in interfaceIStreamLocation
-
getLowestMeasurableStage
- Specified by:
getLowestMeasurableStage
in interfaceIStreamLocation
-
setTotalDrainageArea
- Specified by:
setTotalDrainageArea
in interfaceIStreamLocation
-
getTotalDrainageArea
- Specified by:
getTotalDrainageArea
in interfaceIStreamLocation
-
setUngagedDrainageArea
- Specified by:
setUngagedDrainageArea
in interfaceIStreamLocation
-
getUngagedDrainageArea
- Specified by:
getUngagedDrainageArea
in interfaceIStreamLocation
-
getOfficeId
- Specified by:
getOfficeId
in interfaceIStreamLocationTemplate
-
setOfficeId
- Specified by:
setOfficeId
in interfaceIStreamLocation
-
toString
-
hashCode
public int hashCode() -
equals
-
isModified
public boolean isModified()- Specified by:
isModified
in interfaceModifiable
-
setModified
public void setModified(boolean modified) - Specified by:
setModified
in interfaceModifiable
-