Package modele.course

Examples of modele.course.Tournee

@author Kasandra

          try {
            smt = connection.prepareStatement(GET_ALL_TRAJET);
            res = smt.executeQuery();
            while (res.next()) {
               Trajet trajet = new Trajet(res.getInt(1));
               Tournee tournee = new Tournee(res.getInt(2));
               trajet.setTournee(tournee);

               trajet.setAddresseDepart(res.getString(3));
               trajet.setKilometrageTaximetreDepart(Long.parseLong(res.getString(4)));
               Date hrDepart = new java.sql.Timestamp(res.getTimestamp(5).getTime());
View Full Code Here


            smt.setInt(1, id);
            res = smt.executeQuery();
            if (res.next()) {
              result[0] = new Trajet(res.getInt(1));

              Tournee tournee = new Tournee(res.getInt(2));
              result[0].setTournee(tournee);


              result[0].setAddresseDepart(res.getString(3));
              result[0].setKilometrageTaximetreDepart(Long.parseLong(res.getString(4)));
View Full Code Here

  /**
   * retourne  total nombre de prise
   * @return textTotNbPrise
   */
  private JTextField getTotalNombreDePrise() {
    Tournee tournee;
     
    if (textTotNbPrise == null) {
      textTotNbPrise = new JTextField();
      textTotNbPrise.setFont(titreFont);
      textTotNbPrise.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(66, 79, 120), 2));
View Full Code Here

     *
   */
  public Trajet decode(String[] ligne) {
    Trajet trajet = new Trajet();
   
    Tournee tournee = tourneeDao.find(Integer.parseInt(ligne[INDEX_CHAMP_CODE_TOURNEE]));
    trajet.setTournee(tournee);
   
    trajet.setAddresseDepart(ligne[INDEX_CHAMP_ADRESSE_DEPART]);
    trajet.setKilometrageTaximetreDepart(Long.parseLong(ligne[INDEX_CHAMP_KM_TAXISMETRE_DEPART]));
   
View Full Code Here

TOP

Related Classes of modele.course.Tournee

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.