public static Location toSOA(org.adfemg.datacontrol.demo.persist.Location location) {
if (location == null) {
return null;
}
Location retval = new Location();
retval.setId(toSOA(location.getId()));
retval.setStreetAddress(location.getStreetAddress());
retval.setPostalCode(location.getPostalCode());
retval.setCity(location.getCity());
retval.setStateprovince(location.getStateprovince());
retval.setCountry(location.getCountry());
return retval;
}