Examples of MotifFinContrat


Examples of modele.chauffeur.MotifFinContrat

              Contrat contrat = new Contrat(res.getInt(5));
              contrat.setStatut(res.getString(6));
              result[0].setContrat(contrat);

              MotifFinContrat motifFinContrat = new MotifFinContrat(
                  res.getInt(7));
              motifFinContrat.setLibelle(res.getString(8));
              result[0].setMotifFinContrat(motifFinContrat);

              Etat etat = new Etat(res.getInt(9));
              etat.setDescrip(res.getString(10));
              result[0].setEtat(etat);
View Full Code Here

Examples of modele.chauffeur.MotifFinContrat

              Contrat contrat = new Contrat(res.getInt(5));
              contrat.setStatut(res.getString(6));
              periodeDeTravail.setContrat(contrat);

              MotifFinContrat motifFinContrat = new MotifFinContrat(
                  res.getInt(7));
              motifFinContrat.setLibelle(res.getString(8));
              periodeDeTravail
                  .setMotifFinContrat(motifFinContrat);

              Date dateDeb = new Date(res.getDate(9).getTime());
              periodeDeTravail.setDateDebut(dateDeb);
View Full Code Here

Examples of modele.chauffeur.MotifFinContrat

              Contrat contrat = new Contrat(res.getInt(5));
              contrat.setStatut(res.getString(6));
              periodeDeTravail.setContrat(contrat);

              MotifFinContrat motifFinContrat = new MotifFinContrat(
                  res.getInt(7));
              motifFinContrat.setLibelle(res.getString(8));
              periodeDeTravail
                  .setMotifFinContrat(motifFinContrat);

              Date dateDeb = new Date(res.getDate(9).getTime());
              periodeDeTravail.setDateDebut(dateDeb);
View Full Code Here

Examples of modele.chauffeur.MotifFinContrat

          try {
            smt = connection.prepareStatement(GET_MOTIFINCONTRAT_BY_ID);
            smt.setInt(1, id);
            res = smt.executeQuery();
            if (res.next()) {
              result[0] = new MotifFinContrat(res.getInt(1));
              result[0].setLibelle(res.getString(2));

            }
          }
          finally {
View Full Code Here

Examples of modele.chauffeur.MotifFinContrat

          try {
            smt = connection.prepareStatement(GET_ALL_MOTIFINCONTRAT);
            res = smt.executeQuery();

            while (res.next()) {
              MotifFinContrat motifFinContrat = new MotifFinContrat(res.getInt(1));
              motifFinContrat.setLibelle(res.getString(2));

              listeMotifFinContrat.add(motifFinContrat);
            }
          }
          finally {
View Full Code Here

Examples of modele.chauffeur.MotifFinContrat

          try {
            smt = connection.createStatement();
            res = smt.executeQuery("SELECT idMotifFinCont, descripMotifFinCont from TMotifFinContrat where idMotifFinCont = LAST_INSERT_ID()");

            if (res.next()) {
              result[0] = new MotifFinContrat(res.getInt(1));
              result[0].setLibelle(res.getString(2));

            }
          }
          finally {
View Full Code Here

Examples of modele.chauffeur.MotifFinContrat

    try {
      dlgDialog = new MotifFinContratEditionFenetre();
      dlgDialog.affiche();

      if (dlgDialog.OK_Button()) {
        MotifFinContrat motifFinContrat = dlgDialog.renvoiMotifFinContrat();
        getMotifFinContratDao().insert(motifFinContrat);
      }
    } catch (PrjException e) {
      throw new PrjException(e.RetourMessage());
    }
View Full Code Here

Examples of modele.chauffeur.MotifFinContrat

    public int getRowCount() {
      return motifFinContrat.size();
    }

    public Object getValueAt(int rowIndex, int columnIndex) {
      MotifFinContrat motifFinContratAtRow = motifFinContrat.get(rowIndex);
      switch (columnIndex) {
      case 0:
        return motifFinContratAtRow.getId();
      case 1:
        return motifFinContratAtRow.getLibelle();


      default:
        throw new IllegalStateException("Le nombre de colonne ne peut pas d�passer " + NOMBRE_COLONNE + ". index demand� " + columnIndex);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.