Package energy.eddie.dataneeds.duration
Class DataNeedDuration
java.lang.Object
energy.eddie.dataneeds.duration.DataNeedDuration
- Direct Known Subclasses:
AbsoluteDuration,RelativeDuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the ID of the data need with which thisDataNeedDurationis associated.voidsetDataNeedId(String dataNeedId) Sets the id of the data need with which thisDataNeedDurationshould be associated.
-
Constructor Details
-
DataNeedDuration
protected DataNeedDuration()
-
-
Method Details
-
dataNeedId
Returns the ID of the data need with which thisDataNeedDurationis associated.- Returns:
- the ID of the data need.
-
setDataNeedId
Sets the id of the data need with which thisDataNeedDurationshould be associated.- Parameters:
dataNeedId- new data need ID.,
-