@SuppressWarnings("unchecked") public void convert_string(ArrayList<?> attr, String col, ArrayList<String> al) throws SQLException { if (col.equals("birth") || col.equals("purpose") || col.equals("destruction") || col.equals("agent") || col.equals("destination") || col.equals("instrument") || col.equals("location") || col.equals("patient") || col.equals("product") || col.equals("source") || col.equals("theme")) Artifact.string2artifact(al, col, (ArrayList<Artifact>) attr); else Action.string2action(al, col, (ArrayList<Action>) attr); }