package org.talend.components.salesforce.runtime;

import java.util.HashMap;
import java.util.Map;

public class BulkResult {

    Map<String, Object> values;

    public BulkResult() {
        values = new HashMap<String, Object>();
    }

    public void setValue(String field, Object vlaue) {
        values.put(field, vlaue);
    }

    public Object getValue(String fieldName) {
        return values.get(fieldName);
    }

    public void copyValues(BulkResult result) {
        if (result == null) {
            return;
        } else {
            for (String key : result.values.keySet()) {
                Object value = result.values.get(key);
                if ("#N/A".equals(value)) {
                    value = null;
                }
                values.put(key, value);
            }
        }
    }
}
@@ -91,16 +91,42 @@
 til.Map;
+%0Aimport java.util.TreeMap;
 %0A%0Apublic
@@ -230,32 +230,47 @@
 new 
-Hash
+Tree
 Map%3C
+%3E(
 String
-, Object%3E(
+.CASE_INSENSITIVE_ORDER
 );%0A 

make Bulk SOQL in salesforce case insensitive. (#985)