Package hec.data.rating
Class RatingExtents
java.lang.Object
hec.data.rating.RatingExtents
- All Implemented Interfaces:
IRatingExtents
Describes the extents of a rating specification for a given effective date.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassAn inner class that implements the parameter extents interface. -
Constructor Summary
ConstructorsConstructorDescriptionRatingExtents(IRatingSpecification ratingSpecification, Date ratingTime) Constructs a rating extents for the arg specification and date. -
Method Summary
Modifier and TypeMethodDescriptiongetParameterExtents(Parameter parameter) Returns the parameter extents for the arg parameter.Returns the map of parameter to parameter extents.Returns the rating specification.Returns the rating's effective date that is associated with the parameter extents.voidsetParameterExtents(Parameter p, double minval, double maxval) Creates a new parameter extents for the arg parameter and values.intsize()Returns the number of parameter extents.
-
Constructor Details
-
RatingExtents
Constructs a rating extents for the arg specification and date.- Parameters:
ratingSpecification-ratingTime-
-
-
Method Details
-
setParameterExtents
Creates a new parameter extents for the arg parameter and values. The values need to be in parameter units.- Specified by:
setParameterExtentsin interfaceIRatingExtents
-
getParameterExtents
Returns the parameter extents for the arg parameter.- Specified by:
getParameterExtentsin interfaceIRatingExtents- Returns:
-
size
public int size()Returns the number of parameter extents.- Specified by:
sizein interfaceIRatingExtents- Returns:
-
getParameterExtentsMap
Returns the map of parameter to parameter extents.- Specified by:
getParameterExtentsMapin interfaceIRatingExtents- Returns:
-
getRatingSpecification
Returns the rating specification.- Specified by:
getRatingSpecificationin interfaceIRatingExtents- Returns:
-
getRatingTime
Returns the rating's effective date that is associated with the parameter extents.- Specified by:
getRatingTimein interfaceIRatingExtents- Returns:
-