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 TypeMethodDescriptionbooleangetBank()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)inthashCode()booleanvoidvoidsetLocationId(String locationId) voidsetLowestMeasurableStage(Double stage) voidsetModified(boolean modified) voidsetNavigationStation(Double station) voidsetOfficeId(String officeId) voidsetPublishedStation(Double station) voidsetStation(Double station) voidsetStreamId(String locationId) voidsetTotalDrainageArea(Double area) voidsetUngagedDrainageArea(Double area) toString()
-
Constructor Details
-
StreamLocationImpl
public StreamLocationImpl() -
StreamLocationImpl
-
-
Method Details
-
setLocationId
- Specified by:
setLocationIdin interfaceIStreamLocation
-
getLocationId
Description copied from interface:IStreamLocationTemplateThis 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:
getLocationIdin interfaceIStreamLocationTemplate- Returns:
-
setStreamId
- Specified by:
setStreamIdin interfaceIStreamLocation
-
getStreamId
- Specified by:
getStreamIdin interfaceIStreamLocationTemplate
-
setStation
- Specified by:
setStationin interfaceIStreamLocation
-
getStation
- Specified by:
getStationin interfaceIStreamLocation
-
setPublishedStation
- Specified by:
setPublishedStationin interfaceIStreamLocation
-
getPublishedStation
- Specified by:
getPublishedStationin interfaceIStreamLocation
-
setBank
- Specified by:
setBankin interfaceIStreamLocation
-
getBank
- Specified by:
getBankin interfaceIStreamLocation
-
setLowestMeasurableStage
- Specified by:
setLowestMeasurableStagein interfaceIStreamLocation
-
getLowestMeasurableStage
- Specified by:
getLowestMeasurableStagein interfaceIStreamLocation
-
setTotalDrainageArea
- Specified by:
setTotalDrainageAreain interfaceIStreamLocation
-
getTotalDrainageArea
- Specified by:
getTotalDrainageAreain interfaceIStreamLocation
-
setUngagedDrainageArea
- Specified by:
setUngagedDrainageAreain interfaceIStreamLocation
-
getUngagedDrainageArea
- Specified by:
getUngagedDrainageAreain interfaceIStreamLocation
-
getOfficeId
- Specified by:
getOfficeIdin interfaceIStreamLocationTemplate
-
setOfficeId
- Specified by:
setOfficeIdin interfaceIStreamLocation
-
toString
-
hashCode
public int hashCode() -
equals
-
isModified
public boolean isModified()- Specified by:
isModifiedin interfaceModifiable
-
setModified
public void setModified(boolean modified) - Specified by:
setModifiedin interfaceModifiable
-