You can just write:
vgDetails = new Route();
vgDetails.setRouteName ((String)companyList.get(i));
companyList is already a list of strings because you select just one column.
Additionally, as Thilo's answer also suggests, you can cast your result directly to a List instead of using List>.