Package clips.delegate.directory.simple.insurer

Examples of clips.delegate.directory.simple.insurer.DirectoryInsurerItem


            public Object addItem(String txt) {
                System.out.println("addItem: " + txt);
                int res = MessageBox.showConfirmYesNo(MessageBox.C_ADD_INSURER_ANOTHER_REGION);
                if (res == MessageBox.ANSWER_YES) {
                    try {
                        DirectoryInsurerItem insurerItem = dirInsurer.initNewItem(txt);
                        dirInsurer.getItems().append(insurerItem);
                        return insurerItem;
                    } catch (ClipsException ex) {
                        MessageBox.showException(ex);
                        return null;
View Full Code Here


            DirectoryRegionIdCodeItem regItem = polis.getRegionCode();
            if (regItem != null && regItem.getID()!=0) {
                data.put("polis_area", regItem.getRegionTitle());
            }

            DirectoryInsurerItem ins = polis.getInsurer();
            if (ins != null && ins.getID() != 0) {
                data.put("polis_insurer", ins.getTitle());
            }

            Date date = polis.getFromDate();
            if (date != null) {
                data.put("polis_begin_date", Converter.dateToString(date));
View Full Code Here

        editSnils.setText(clientLocal.getSnils());
        editKeyword.setText(clientLocal.getKeyword());
//        editInn.setText(clientLocal.getInn());

        PolisData polisData = clientLocal.getPolisOMS();
        DirectoryInsurerItem insurer = null;
        String polis = "";
        if (polisData != null) {
            insurer = polisData.getInsurer();
            if (polisData.getSeries() != null) {
                polis += polisData.getSeries() + " ";
            }
            if (polisData.getNumber() != null) {
                polis += polisData.getNumber();
            }
        }
        String insurerT = "";
        if (insurer != null && insurer.getID() != 0) {
            insurerT = insurer.getTitle();
        }
        tfOMI.setText((polis + " " + insurerT).trim());
        tfOMI.setCaretPosition(0);

        cbDistrict.setSelectedItem(clientLocal.getDistrict());
View Full Code Here

TOP

Related Classes of clips.delegate.directory.simple.insurer.DirectoryInsurerItem

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.