String getOutsideFacilName(int outsideFacilId) { String res=""; for(OutsideFacility o in outsideFacils!){ if(o.id == outsideFacilId) {res=o.name;break;} } return res; }