/** * Handles inserting a specific type of model object into our object graph. * @param LSID LSID of the model object. * @param sourceObject Model object itself. * @param indexes Any indexes that should be used to reference the model * object. */ private void handle(String LSID, Objective sourceObject, Map<String, Integer> indexes) { Instrument i = getInstrument(indexes.get("instrumentIndex")); i.addObjective(sourceObject); }