return bean;
}
public LocationV2Bean getLocation(LocationBean location) {
LocationV2Bean bean = new LocationV2Bean();
bean.setLocation(location.getLocation());
bean.setName(location.getName());
StopBean stop = location.getStopBean();
if (stop != null) {
bean.setStopId(stop.getId());
_factory.addToReferences(stop);
}
return bean;
}