Package hec.data.stream
Class StreamReachImpl
java.lang.Object
hec.data.stream.StreamReachImpl
- All Implemented Interfaces:
IStreamLocationTemplate,IStreamReach,Modifiable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis 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()booleanvoidsetConfigurationId(String configurationId) voidsetDownstreamLocationId(String locationId) voidsetDownstreamStation(Double station) voidsetLocationId(String reachLocation) voidsetModified(boolean modified) voidsetOfficeId(String officeId) voidsetReachComments(String comments) voidsetStreamId(String streamLocation) voidsetUpstreamLocationId(String locationId) voidsetUpstreamStation(Double station) toString()
-
Constructor Details
-
StreamReachImpl
public StreamReachImpl() -
StreamReachImpl
-
-
Method Details
-
getUpstreamStation
- Specified by:
getUpstreamStationin interfaceIStreamReach
-
setUpstreamStation
- Specified by:
setUpstreamStationin interfaceIStreamReach
-
getDownstreamStation
- Specified by:
getDownstreamStationin interfaceIStreamReach
-
setDownstreamStation
- Specified by:
setDownstreamStationin interfaceIStreamReach
-
getReachComments
- Specified by:
getReachCommentsin interfaceIStreamReach
-
setReachComments
- Specified by:
setReachCommentsin interfaceIStreamReach
-
getDownstreamLocationId
- Specified by:
getDownstreamLocationIdin interfaceIStreamReach
-
setDownstreamLocationId
- Specified by:
setDownstreamLocationIdin interfaceIStreamReach
-
getUpstreamLocationId
- Specified by:
getUpstreamLocationIdin interfaceIStreamReach
-
setUpstreamLocationId
- Specified by:
setUpstreamLocationIdin interfaceIStreamReach
-
setConfigurationId
- Specified by:
setConfigurationIdin interfaceIStreamReach
-
getConfigurationId
- Specified by:
getConfigurationIdin interfaceIStreamReach
-
setOfficeId
- Specified by:
setOfficeIdin interfaceIStreamReach
-
getOfficeId
- Specified by:
getOfficeIdin interfaceIStreamLocationTemplate
-
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:
-
setLocationId
- Specified by:
setLocationIdin interfaceIStreamReach
-
setStreamId
- Specified by:
setStreamIdin interfaceIStreamReach
-
getStreamId
- Specified by:
getStreamIdin interfaceIStreamLocationTemplate
-
toString
-
getLocationTemplate
-
hashCode
public int hashCode() -
equals
- Specified by:
equalsin interfaceIStreamReach- Overrides:
equalsin classObject
-
isModified
public boolean isModified()- Specified by:
isModifiedin interfaceModifiable
-
setModified
public void setModified(boolean modified) - Specified by:
setModifiedin interfaceModifiable
-