/**
  * @see org.iesc.flightws.domain.PassengerDao#toPassengerVO(org.iesc.flightws.domain.Passenger,
  *     org.iesc.flightws.vo.PassengerVO)
  */
 public void toPassengerVO(
     org.iesc.flightws.domain.Passenger source, org.iesc.flightws.vo.PassengerVO target) {
   target.setType(source.getType());
   target.setName(source.getName());
   target.setSurname(source.getSurname());
   target.setPassportCode(source.getPassportCode());
   target.setId(source.getId());
 }
 /**
  * @see
  *     org.iesc.flightws.domain.PassengerDao#passengerVOToEntity(org.iesc.flightws.vo.PassengerVO,
  *     org.iesc.flightws.domain.Passenger)
  */
 public void passengerVOToEntity(
     org.iesc.flightws.vo.PassengerVO source,
     org.iesc.flightws.domain.Passenger target,
     boolean copyIfNull) {
   if (copyIfNull || source.getType() != null) {
     target.setType(source.getType());
   }
   if (copyIfNull || source.getName() != null) {
     target.setName(source.getName());
   }
   if (copyIfNull || source.getSurname() != null) {
     target.setSurname(source.getSurname());
   }
   if (copyIfNull || source.getPassportCode() != null) {
     target.setPassportCode(source.getPassportCode());
   }
 }