Package pojos

Examples of pojos.BireyselMusteri


      return;
    }

    if (selectedButton.equals(B_MUSTERI)) {
      if (bireyselMusteriControl()) {
        BireyselMusteri bm = new BireyselMusteri();
        bm.setKod(0);
        bm.setAd(cTextFieldAd.getText().toUpperCase());
        bm.setSoyad(cTextFieldSoyad.getText().toUpperCase());
        if (bMusteriTelNo != null) {
          bm.setTelNo(bMusteriTelNo.toString());
        } else {
          bm.setTelNo("-");
        }
        if (bMusteriMail.length() > 0) {
          bm.setMail(bMusteriMail);
        } else {
          bm.setMail("-");
        }
        if (bMusteriAdres.length() > 0) {
          bm.setAdres(bMusteriAdres);
        } else {
          bm.setAdres("-");
        }
        if (bMusteriTCNo.length() > 0) {
          bm.setTcNo(bMusteriTCNo);
        } else {
          bm.setTcNo("-");
        }
        bm.setBaslamaTarihi(jDateChooserMusteriTarih.getDate());
        boolean check = HibernateManager.getInstance().save(bm);
        if (check) {
          AutoClosingMessageDialog.showAutoClosingMessageDialog(
              "Bireysel müşteri sisteme eklenmiştir.", 2);
          geriButtonClicked();
View Full Code Here


    initListener();
  }

  private void fillMusteriName() {
    if (musteriTuruBilgi.equals(B_MUSTERI)) {
      BireyselMusteri bm = (BireyselMusteri) musteriBilgi;
      musteriAd = bm.getAd() + " " + bm.getSoyad();
    } else if (musteriTuruBilgi.equals(K_MUSTERI)) {
      KurumsalMusteri km = (KurumsalMusteri) musteriBilgi;
      musteriAd = km.getFirmaUnvani();
    }
    jLabelMusteriBilgi.setText(musteriAd);
View Full Code Here

    cTablePanelBireyselMusteri.getTable().addMouseListener(
        new MouseAdapter() {
          @Override
          public void mouseClicked(MouseEvent e) {
            if (e.getClickCount() == 2) {
              BireyselMusteri bm = (BireyselMusteri) cTablePanelBireyselMusteri
                  .getSelectedObject();
              musteriAd = bm.getAd() + " " + bm.getSoyad();
              dispose();
            }
          }
        });
View Full Code Here

TOP

Related Classes of pojos.BireyselMusteri

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.