Interface TmaPolicyPscvValueComparator
-
- All Known Implementing Classes:
TmaPolicyPscvBooleanComparator,TmaPolicyPscvNumericValueComaprator,TmaPolicyPscvStringComparator
public interface TmaPolicyPscvValueComparatorChecks whether a ProductSpecificationCharacteristicValue is within a range.- Since:
- 1805
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancompare(java.lang.String prodPscvValue, UsageUnitModel prodPscvUnit, java.lang.String stMin, java.lang.String stMax, UsageUnitModel stUnit)Checks whether a ProductSpecificationCharacteristicValue is within a range.
-
-
-
Method Detail
-
compare
boolean compare(java.lang.String prodPscvValue, UsageUnitModel prodPscvUnit, java.lang.String stMin, java.lang.String stMax, UsageUnitModel stUnit)Checks whether a ProductSpecificationCharacteristicValue is within a range.- Parameters:
prodPscvValue- the value to be checkedprodPscvUnit- the unit for the value to be checkedstMin- the lower value of the rangestMax- the higher value of the rangestUnit- the unit for the range- Returns:
- true if the value is within the range; false otherwise
-
-