*
* @param mapping the type mapping that will be added.
*/
void addTypeMapping(TypeMapping mapping) {
int code = mapping.getCode();
Type type = mapping.getType();
String validatorClassName = mapping.getValidatorClassName();
_typeMappings.put(code, type);
_validators.put(type, validatorClassName);
LOGGER.info(Messages.QMAN_000005_TYPE_MAPPING_CONFIGURED, code,type,validatorClassName);