ComponentData parent = data.getParent(); if (parent != null) { substitutions.put(":parent_component_alib_id:", sqlQuote(getComponentAlibId(parent))); } else { substitutions.remove(":parent_component_alib_id:"); }
    private void addComponentDataSubstitutions(ComponentData data) {        substitutions.put(":component_name:", sqlQuote(data.getName()));        substitutions.put(":component_lib_id:", getComponentLibId(data));        substitutions.put(":component_alib_id:", sqlQuote(getComponentAlibId(data)));        substitutions.put(":component_category:", getComponentCategory(data));        substitutions.put(":component_class:", sqlQuote(data.getClassName()));        substitutions.put(":insertion_point:", getComponentInsertionPoint(data));        substitutions.put(":description:", sqlQuote("Added " + data.getType()));    }