Package open.dolphin.infomodel

Examples of open.dolphin.infomodel.DiagnosisLiteModel


        switch (col) {
            case DiagnosisDocument.DIAGNOSIS_COL:
                // JTextField から入ってきた String 分は無視
                if (value instanceof DiagnosisLiteModel) {
                    DiagnosisLiteModel newDiag = (DiagnosisLiteModel) value;
                    // 変更されていたら更新する
                    if (!rd.getDiagnosis().equals(newDiag.getDiagnosisDesc()) || !rd.getDiagnosisCode().equals(newDiag.getDiagnosisDesc())) {
                        // undo 用に保存
                        offerQueue(undoMap, rd);
                        // rd 書き換え
                        rd.setDiagnosis(newDiag.getDiagnosisDesc());
                        rd.setDiagnosisCode(newDiag.getDiagnosisCode());
                        update(row, rd);
                    }
                }
                break;
View Full Code Here


        Deque<DiagnosisLiteModel> dq = dequeMap.get(id);
        if (dq == null) {
            dq = new LinkedList<DiagnosisLiteModel>();
            dequeMap.put(id, dq);
        }
        dq.offerFirst(new DiagnosisLiteModel(rd));
    }
View Full Code Here

     * @return
     */
    private PollResult pollQueue(Map<Integer, Deque<DiagnosisLiteModel>> dequeMap, RegisteredDiagnosisModel rd) {
        Deque<DiagnosisLiteModel> dq = dequeMap.get(System.identityHashCode(rd));
        if (dq != null) {
            DiagnosisLiteModel set = dq.pollFirst();
            if (set != null) {
                set.resume(rd);
                return PollResult.succeeded;
            }
        }
        return PollResult.noMore;
    }
View Full Code Here

TOP

Related Classes of open.dolphin.infomodel.DiagnosisLiteModel

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.