} else {
JAXBElement<? extends CalltimeGenerator> element = resource.getCalltimeGenerator();
if (element == null) {
calltimeFactory = EMPTY_CALLTIME_FACTORY;
} else {
CalltimeGenerator generator = element.getValue();
calltimeFactory = createCalltimeFactory(generator);
}
}
calltimeFactories.put(resourceTypeName, calltimeFactory);