private void map() {
   for (AllocationFactor factor : process.getAllocationFactors()) {
     if (factor.getExchange() != null) addCausalFactor(factor);
     else addOtherFactor(factor);
   }
 }
 public static void map(
     Process process, Map<org.openlca.core.model.Exchange, Exchange> exchangeMap) {
   if (exchangeMap.isEmpty() || process.getAllocationFactors().isEmpty()) return;
   new AllocationFactors(process, exchangeMap).map();
 }