Package beans.directory.mkb10

Examples of beans.directory.mkb10.MkbItem


    return false;
  }
 
  void tryToDeepRemap(LinkedList<Mkb10> droppedList, List<MkbItem> newTree){
    for (Iterator<Mkb10> it = droppedList.iterator(); it.hasNext();) {
      Mkb10 entity = it.next();
      if (!entity.isTrash()){
        for (MkbItem mkbItem : newTree) {
          if (mkbItem.getMKB10Item() == null) {
            if (deepMkbStrEqual(entity.getCode(), mkbItem.getMkbCode())) {
              mkbItem.setMKB10Item(entity);
              it.remove();
              break;
            }
          }
View Full Code Here


        treeMkb10.updateUI();
}//GEN-LAST:event_btDeleteMKB10ActionPerformed

private void btAddMKB10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAddMKB10ActionPerformed
    try {
        Mkb10Details d = new Mkb10Details();
        d.id = 0;
        d.title = "Введите название";
        d.code = "";
        d.shortTitle = "";
        DirectoryMKB10Item item = new DirectoryMKB10Item(d);
View Full Code Here

                }

                DirectoryMKB10Item item = dirMKB.getItemByCode(kod);
                if (item == null) {
                    DirectoryMKB10Item parent = getParent(kod);
                    Mkb10Details d = new Mkb10Details();
                    d.code = kod;
                    d.title = title;
                    //d.shortTitle = shortTitle;
                    d.parentItem = parent.getID();
                    item = new DirectoryMKB10Item(d);
View Full Code Here

     * @param notify
     * @throws ClipsException
     */
    public void setMustNotify(boolean notify) throws ClipsException {
       if(isInDirectory()) {
            Mkb10Details newDetails = getDetailsCopy();
            newDetails.mustNotify = notify;
            saveDetails(newDetails);
        } else {
            getDetails().mustNotify = notify;
        }
View Full Code Here

     * @param boolean infectious
     * @throws ClipsException
     */
  public void setInfectious(boolean infectious) throws ClipsException {
        if (isInDirectory()) {
            Mkb10Details newDetails = getDetailsCopy();
            newDetails.infectious = infectious;
            saveDetails(newDetails);
        } else {
            getDetails().infectious = infectious;
        }
View Full Code Here

     * @throws ClipsException
     */
    public void setDiseaseCode(String code) throws ClipsException {
        decodedCode = null;
        if(isInDirectory()) {
            Mkb10Details newDetails = getDetailsCopy();
            newDetails.code = code;
            saveDetails(newDetails);
        } else {
            getDetails().code = code;
        }
View Full Code Here

        return getDetails().shortTitle;
    }

    public void setShortTitle(String shortTitle) throws ClipsException {
        if (isInDirectory()) {
            Mkb10Details newDetails = getDetailsCopy();
            newDetails.shortTitle = shortTitle;
            saveDetails(newDetails);
        } else {
            getDetails().shortTitle = shortTitle;
        }
View Full Code Here

    return "Болезни";
  }

  @Override
  protected DirectoryMKB10Item createFromLoadedDetails(DirectoryItemDetails details) {
    Mkb10Details d = (Mkb10Details) details;
    return new DirectoryMKB10Item(d);
  }
View Full Code Here

    return new DirectoryMKB10Item(d);
  }

  @Override
  protected DirectoryMKB10Item createNullItem() {
    Mkb10Details d = new Mkb10Details();
    d.code = "";
    d.mustNotify = false;
    d.title = "Нет диагноза";
    return new DirectoryMKB10Item(d);
  }
View Full Code Here

TOP

Related Classes of beans.directory.mkb10.MkbItem

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.