}
}
nt.defaults(min,max);
nt.setMode(TransformationMode.LINEAR);
} else {
OrdinalTransformer ot = (OrdinalTransformer) t;
if (leaf.getScale() instanceof BooleanScale) {
ot.getMapping().put("Yes", new TargetValueObject(5));
ot.getMapping().put("No", new TargetValueObject(1));
} else {
// total nonsense placeholder for setting something
// until we have proper heuristics and property-specific
// transformers in the knowledge base
for (String s: ot.getMapping().keySet()) {
ot.getMapping().put(s, new TargetValueObject(3.33));
}
}
}
}
}