public static TEmployee toSOA(Employee employee) {
if (employee == null) {
return null;
}
TEmployee retval = new TEmployee();
retval.setId(toSOA(employee.getId()));
retval.setFirstName(employee.getFirstName());
retval.setLastName(employee.getLastName());
retval.setEmail(employee.getEmail());
retval.setPhoneNumber(employee.getPhoneNumber());
retval.setHireDate(toSOA(employee.getHireDate()));
retval.setJob(toSOA(employee.getJob()));
retval.setSalary(toSOA(employee.getSalary()));
retval.setCommissionPercentage(toSOA(employee.getCommissionPercentage()));
return retval;
}