Package systole.synchronization.remote.ws

Examples of systole.synchronization.remote.ws.MedicWs


     */
    public MedicWs generateRemoteMedic(Medic medic) throws ExceptionDAO {
        if (medic == null) {
            return null;
        }
        MedicWs medicWs = new MedicWs();
        medicWs.setName(medic.getName());
        medicWs.setSurname(medic.getSurname());
        medicWs.setCellphone(medic.getCellphone());
        medicWs.setTelephone(medic.getTelephone());
        medicWs.setAddress(medic.getAddress());
        medicWs.setCity(medic.getCity());
        medicWs.setEmail(medic.getEmail());
        medicWs.setIdentityCard(this.convertToRemoteIdentityCard(medic.getIdentityCard()));
        medicWs.setSex(medic.getSex() == null ? null : ("M".equals(medic.getSex()) || "m".equals(medic.getSex())));
        medicWs.setBirthdate(this.dateToXMLGregorianCalendar(medic.getBirthdate()));

        return medicWs;
    }
View Full Code Here

TOP

Related Classes of systole.synchronization.remote.ws.MedicWs

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.