Package clips.delegate.doctor.certificate.tag.certTags

Source Code of clips.delegate.doctor.certificate.tag.certTags.CertTagPacientPhones

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package clips.delegate.doctor.certificate.tag.certTags;

import clips.delegate.client.ClientLocal;
import clips.delegate.doctor.DiseaseLocal;
import clips.delegate.doctor.certificate.CertificateLocal;
import clips.delegate.doctor.certificate.tag.TagToClass;
import clips.delegate.doctor.certificate.tag.interfaces.TypeTextField;
import cli_fmw.delegate.report.ReportParam;
import cli_fmw.main.ClipsException;

/**
*
* @author vip
*/
@TagToClass(tagName="pacient_phones",title="Телефоны пациента")
public class CertTagPacientPhones extends TypeTextField {
   
    public CertTagPacientPhones(CertificateLocal certificateLocal, ReportParam reportParam, DiseaseLocal diseaseLocal) throws ClipsException {
        super(certificateLocal, reportParam, diseaseLocal);
        ClientLocal clientLocal = certificateLocal.getClientLocal();
        if (certificateLocal.isNewlyCreated()) {
            String phones = clientLocal.getTelephones();
            setText(phones, true);
        }
    }

    @Override
    public boolean isEditable() {
        return true;
    }

}
TOP

Related Classes of clips.delegate.doctor.certificate.tag.certTags.CertTagPacientPhones

TOP
Copyright © 2018 www.massapi.com. 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.