Package modele.commun

Examples of modele.commun.Etat


          row, column);
     
      VoitureTableModel model = (VoitureTableModel)table.getModel();
      Voiture voiture = model.getAt(row);
     
      Etat etat = voiture.getEtat();
     
     
      if (!etat.getDescrip().equals("Inactif") && voiture.getKilometrage()!= 500000) {
        cellule.setBackground(MotsCleProjet.COULEUR_BLEUE);
      } else {
        cellule.setBackground(MotsCleProjet.COULEUR_GRIS);
      }
      return cellule;
View Full Code Here


              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);

            }
          } finally {
            try {
View Full Code Here

              java.sql.Date sqlDateFin = res.getDate(10);
              Date dateFin = sqlDateFin == null ? null : new Date(sqlDateFin.getTime());
              periodeDeTravail.setDateFin(dateFin);

              Etat etat = new Etat(res.getInt(11));
              etat.setDescrip(res.getString(12));
              periodeDeTravail.setEtat(etat);

              listePeriodeDeTravail.add(periodeDeTravail);
            }
          } finally {
View Full Code Here

              } else {
                dateFin = null;
              }
              periodeDeTravail.setDateFin(dateFin);

              Etat etat = new Etat(res.getInt(11));
              etat.setDescrip(res.getString(12));
              periodeDeTravail.setEtat(etat);

              periodesDeTravail.add(periodeDeTravail);
            }
          } finally {
View Full Code Here

              ModeleVoiture modeleVoiture = new ModeleVoiture(res.getInt(12));
              modeleVoiture.setNomModele(res.getString(13));
              result[0].setModele(modeleVoiture);

              Etat etat = new Etat(res.getInt(14));
              etat.setDescrip(res.getString(15));
              result[0].setEtat(etat);
            }
          } finally {
            try {
              if (res != null) {
View Full Code Here

              ModeleVoiture ModeleVoiture = new ModeleVoiture(res.getInt(12));
              ModeleVoiture.setNomModele(res.getString(13));
              voiture.setModele(ModeleVoiture);

              Etat etat = new Etat(res.getInt(14));
              etat.setDescrip(res.getString(15));
              voiture.setEtat(etat);

              listeVoiture.add(voiture);
            }
          } finally {
View Full Code Here

              ModeleVoiture modeleVoiture = new ModeleVoiture(res.getInt(12));
              modeleVoiture.setNomModele(res.getString(13));
              result[0].setModele(modeleVoiture);

              Etat etat = new Etat(res.getInt(14));
              etat.setDescrip(res.getString(15));
              result[0].setEtat(etat);
            }
          } finally {
            try {
              if (res != null) {
View Full Code Here

              ModeleVoiture ModeleVoiture = new ModeleVoiture(res.getInt(12));
              ModeleVoiture.setNomModele(res.getString(13));
              voiture.setModele(ModeleVoiture);

              Etat etat = new Etat(res.getInt(14));
              etat.setDescrip(res.getString(15));
              voiture.setEtat(etat);

              listeVoiture.add(voiture);
            }
          } finally {
View Full Code Here

              TypeContrat typeContrat = new TypeContrat(res.getInt(3));
              typeContrat.setLibelle(res.getString(4));
              result[0].setTypeContrat(typeContrat);

              Etat etat = new Etat(res.getInt(5));
              etat.setDescrip(res.getString(6));
              result[0].setEtat(etat);
            }
          } finally {
            try {
              if (res != null) {
View Full Code Here

              TypeContrat typeContrat = new TypeContrat(res.getInt(3));
              typeContrat.setLibelle(res.getString(4));
              contrat.setTypeContrat(typeContrat);

              Etat etat = new Etat(res.getInt(5));
              etat.setDescrip(res.getString(6));
              contrat.setEtat(etat);

              listeContrat.add(contrat);
            }
          } finally {
View Full Code Here

TOP

Related Classes of modele.commun.Etat

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.