* We still leave the checks in because it can't hurt.
*/
public boolean isTransformable(List<String> errorMessages) {
boolean result = true;
for (String key: mapping.keySet()) {
TargetValueObject value = mapping.get(key);
// Target values are initialised and set to 0.0, so we can assume it is not null:
if ((value.getValue() < 0.0) ||
(value.getValue() > 5.0)) {
result = false;
errorMessages.add("Transformation of '" + key + "' to " + value.getValue() +
": For ordinal values only target values between 0.0 and 5.0 are allowed.");
}
}
return result;
}