Package hec.data.rating
Interface IRatingExtents
- All Known Implementing Classes:
RatingExtents
public interface IRatingExtents
The extents for a given rating specification. Has a 1:1 mapping of
Independent/Dependent Parameters to IParameterExtents.
-
Method Summary
Modifier and TypeMethodDescriptiongetParameterExtents
(Parameter parameter) Returns the parameter extents for the arg parameter or null if there are no extents.Returns a map of parameter to parameter extents.Returns the rating specification.Returns the effective date for the rating specification.void
setParameterExtents
(Parameter p, double minval, double maxval) Adds a min/max parameter extents for the given parameter.int
size()
Returns a count of parameter extents.
-
Method Details
-
setParameterExtents
Adds a min/max parameter extents for the given parameter. The values need to be in parameter units.- Parameters:
p
-minval
-maxval
-
-
getParameterExtents
Returns the parameter extents for the arg parameter or null if there are no extents.- Parameters:
parameter
-- Returns:
-
size
int size()Returns a count of parameter extents. I.e. Independent + dependent parameter count.- Returns:
-
getParameterExtentsMap
Map<Parameter,IParameterExtents> getParameterExtentsMap()Returns a map of parameter to parameter extents.- Returns:
-
getRatingSpecification
IRatingSpecification getRatingSpecification()Returns the rating specification.- Returns:
-
getRatingTime
Date getRatingTime()Returns the effective date for the rating specification.- Returns:
-