Package open.dolphin.infomodel

Examples of open.dolphin.infomodel.RadiologyMethodValue


               
                String[] data = getStringArray(line);
               
                if (data != null) {
                   
                    RadiologyMethodValue av = new RadiologyMethodValue();
                    av.setHierarchyCode1(format(data[0]));
                    av.setHierarchyCode2(format(data[1]));
                    av.setMethodName(format(data[2]));
                   
                    if (list == null) {
                        list = new ArrayList<RadiologyMethodValue>();
                    }
                    list.add(av);
View Full Code Here


                @Override
                public void valueChanged(ListSelectionEvent e) {

                    if (e.getValueIsAdjusting() == false) {
                            RadiologyMethodValue entry = (RadiologyMethodValue)methodList.getSelectedValue();
                        if (entry == null) {
                            return;
                        }
                        fetchComments(entry.getHierarchyCode1());
                    }
                }
            });

            JScrollPane scroller = new JScrollPane(methodList,
                            JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                            JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            p1.add(scroller);
            p1.setBorder(BorderFactory.createTitledBorder("撮影方法"));

            // Commet panel
            JPanel p2 = new JPanel(new BorderLayout());
            commentList = new JList();
            commentList.setFixedCellWidth(COMMENT_CELL_WIDTH);
            commentList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            commentList.addListSelectionListener(new ListSelectionListener() {

                @Override
                public void valueChanged(ListSelectionEvent e) {

                    if (e.getValueIsAdjusting() == false) {

                            RadiologyMethodValue entry = (RadiologyMethodValue)commentList.getSelectedValue();
                        if (entry == null) {
                            return;
                        }
                        notifyComment(entry.getMethodName());
                    }
                }
            });
            scroller = new JScrollPane(commentList,
                            JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
View Full Code Here

            spec.setHierarchyCode1(h1+ "%");
            Collection result = getService().getMaster(spec);
            collection = new ArrayList<RadiologyMethodValue>();

            for (Iterator iter = result.iterator(); iter.hasNext(); ) {
              RadiologyMethodValue value = (RadiologyMethodValue)iter.next();
                collection.add(value);
            }

        } catch (NamingException e) {
          e.printStackTrace();
View Full Code Here

               
                String[] data = getStringArray(line);
               
                if (data != null) {
                   
                    RadiologyMethodValue av = new RadiologyMethodValue();
                    av.setHierarchyCode1(format(data[0]));
                    av.setHierarchyCode2(format(data[1]));
                    av.setMethodName(format(data[2]));
                   
                    if (list == null) {
                        list = new ArrayList<RadiologyMethodValue>();
                    }
                    list.add(av);
View Full Code Here

            return;
        }
       
        Iterator iter = c.iterator();
        while(iter.hasNext()) {
            RadiologyMethodValue value = (RadiologyMethodValue)iter.next();
            em.persist(value);
        }
    }
View Full Code Here

TOP

Related Classes of open.dolphin.infomodel.RadiologyMethodValue

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.