Package hec.data.rating
Interface IRatingSpecification
- All Superinterfaces:
ILocationRef
- All Known Implementing Classes:
JDomRatingSpecification
An interface for a rating specification. Has a location, rating template, and
spec version.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the version of this spec.Returns the template for this spec.booleanisSimple()Returns a boolean indicating if this spec is simple.voidsetSpecVersion(Version specVersion) Sets the version of this spec.voidsetTemplate(IRatingTemplate template) Sets the template for this spec.Methods inherited from interface hec.data.ILocationRef
getLocationRef, setLocationRef
-
Field Details
-
PART_DELIM
The delimiter used for the indiv parts.- See Also:
-
-
Method Details
-
getTemplate
IRatingTemplate getTemplate()Returns the template for this spec.- Returns:
-
setTemplate
Sets the template for this spec.- Parameters:
template-
-
getSpecVersion
Version getSpecVersion()Returns the version of this spec. Note that the template also has a version separate from the spec version.- Returns:
-
setSpecVersion
Sets the version of this spec. Note that the template also has a version separate from the spec version.- Parameters:
specVersion-
-
isSimple
boolean isSimple()Returns a boolean indicating if this spec is simple. I.e. can be used to perform a reverse rating. 1 independent parameter : 1 dependent parameter.- Returns:
-