commit 8080015638e586bf6ba811279ef7568236c09624 Author: dumasa Date: Tue Mar 22 06:10:18 2022 -0700 commit de fin diff --git a/Main.jar b/Main.jar new file mode 100644 index 0000000..2f9ba00 Binary files /dev/null and b/Main.jar differ diff --git a/PROJETIHM_FA/Chemin.txt b/PROJETIHM_FA/Chemin.txt new file mode 100644 index 0000000..b8643cc --- /dev/null +++ b/PROJETIHM_FA/Chemin.txt @@ -0,0 +1 @@ +Class-Path: libs/mariadb-client.jar diff --git a/PROJETIHM_FA/Main.jar b/PROJETIHM_FA/Main.jar new file mode 100644 index 0000000..f54f855 Binary files /dev/null and b/PROJETIHM_FA/Main.jar differ diff --git a/PROJETIHM_FA/Makefile b/PROJETIHM_FA/Makefile new file mode 100644 index 0000000..59e7cdf --- /dev/null +++ b/PROJETIHM_FA/Makefile @@ -0,0 +1,142 @@ +# COMMANDES # +JAVAC = javac +# note $$ to get a single shell $ +JAVAC_OPTIONS = -encoding "UTF-8" -d build -cp "libs/mariadb-client.jar" -sourcepath "src" -implicit:none +JAVA = java +JAR = jar +EXEC_JAR = ${JAVA} -jar + +# CHEMINS RELATIFS +SRC = src/fr/iutfbleau/projetIHM2021FI2 +BUILD = build/fr/iutfbleau/projetIHM2021FI2 +DOC = doc/fr/iutfbleau/projetIHM2021FI2 + +# CHOIX NOMS +JAR_MAIN = Main.jar + +# BUTS FACTICES # +.PHONY : run clean doc + +# BUT PAR DEFAUT # +run : ${JAR_MAIN} + ${EXEC_JAR} ${JAR_MAIN} -cp "libs/mariadb-client.jar" + +# AUTRE BUTS +doc : + javadoc -d doc -cp "libs/mariadb-client.jar" src/fr/iutfbleau/projetIHM2021FI2/API/*.java src/fr/iutfbleau/projetIHM2021FI2/IHM1/*.java src/fr/iutfbleau/projetIHM2021FI2/Model/*.java src/fr/iutfbleau/projetIHM2021FI2/Controller/*.java src/fr/iutfbleau/projetIHM2021FI2/View/*.java + +clean : + rm -rf ${BUILD}/* *.jar + + +# REGLES DE DEPENDANCE # + +## API ## +${BUILD}/API/MonPrint.class : ${SRC}/API/MonPrint.java + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/API/MonPrint.java + +${BUILD}/API/TypeChambre.class : ${SRC}/API/TypeChambre.java + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/API/TypeChambre.java + +${BUILD}/API/Chambre.class : ${SRC}/API/Chambre.java \ + ${BUILD}/API/TypeChambre.class\ + ${BUILD}/API/MonPrint.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/API/Chambre.java + +${BUILD}/API/Client.class : ${SRC}/API/Client.java \ + ${BUILD}/API/MonPrint.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/API/Client.java + +${BUILD}/API/Prereservation.class : ${SRC}/API/Prereservation.java \ + ${BUILD}/API/TypeChambre.class \ + ${BUILD}/API/Client.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/API/Prereservation.java + +${BUILD}/API/Reservation.class : ${SRC}/API/Reservation.java \ + ${BUILD}/API/Prereservation.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/API/Reservation.java + +${BUILD}/API/PrereservationFactory.class : ${SRC}/API/PrereservationFactory.java \ + ${BUILD}/API/Prereservation.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/API/PrereservationFactory.java + +${BUILD}/API/ReservationFactory.class : ${SRC}/API/ReservationFactory.java \ + ${BUILD}/API/Prereservation.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/API/ReservationFactory.java + + +# ## JARS ## + + ${JAR_MAIN} : ${BUILD}/Main.class + ${JAR} cvfem ${JAR_MAIN} fr.iutfbleau.projetIHM2021FI2.Main Chemin.txt -C build fr + + +## Model ## + +${BUILD}/Model/ConnexionBDD.class : ${SRC}/Model/ConnexionBDD.java + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Model/ConnexionBDD.java + +${BUILD}/Model/ConnexionBDD.class : ${SRC}/Model/ConnexionBDD.java + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Model/ConnexionBDD.java + +${BUILD}/Model/RecupChambre.class : ${SRC}/Model/RecupChambre.java \ + ${BUILD}/API/Client.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Model/RecupChambre.java + +${BUILD}/Model/PrereservationModel.class : ${SRC}/Model/PrereservationModel.java \ + ${BUILD}/API/Prereservation.class \ + ${BUILD}/Model/RecupChambre.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Model/PrereservationModel.java + +${BUILD}/Model/PrereservationFactoryModel.class : ${SRC}/Model/PrereservationFactoryModel.java \ + ${BUILD}/API/PrereservationFactory.class \ + ${BUILD}/Model/PrereservationModel.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Model/PrereservationFactoryModel.java + +${BUILD}/Model/RecupClient.class : ${SRC}/Model/RecupClient.java \ + ${BUILD}/API/Chambre.class \ + ${BUILD}/Model/ConnexionBDD.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Model/RecupClient.java + +## Controller ## + +${BUILD}/Controller/MainWindowController.class : ${SRC}/Controller/MainWindowController.java + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Controller/MainWindowController.java + +${BUILD}/Controller/SearchButtonController.class : ${SRC}/Controller/SearchButtonController.java \ + ${BUILD}/Model/PrereservationFactoryModel.class \ + ${BUILD}/View/PrereservationView.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Controller/SearchButtonController.java + +${BUILD}/Controller/SelectButtonController.class : ${SRC}/Controller/SelectButtonController.java \ + ${BUILD}/View/ChambresView.class + + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Controller/SelectButtonController.java + +## View ## + +${BUILD}/View/WindowView.class : ${SRC}/View/WindowView.java \ + ${BUILD}/Controller/MainWindowController.class \ + ${BUILD}/View/PrereservationView.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/View/WindowView.java + +${BUILD}/View/PrereservationView.class : ${SRC}/View/PrereservationView.java + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/View/PrereservationView.java + +${BUILD}/View/ChambresView.class : ${SRC}/View/ChambresView.java \ + ${BUILD}/Model/RecupClient.class \ + ${SRC}/Controller/SelectButtonController.java + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/View/ChambresView.java + + + + +## Main ## +${BUILD}/Main.class : ${SRC}/Main.java \ + ${BUILD}/Model/ConnexionBDD.class \ + ${BUILD}/Controller/SearchButtonController.class \ + ${BUILD}/Controller/SelectButtonController.class \ + ${BUILD}/View/WindowView.class + ${JAVAC} ${JAVAC_OPTIONS} ${SRC}/Main.java + + diff --git a/PROJETIHM_FA/Rapport PROJET.docx b/PROJETIHM_FA/Rapport PROJET.docx new file mode 100644 index 0000000..a39720f Binary files /dev/null and b/PROJETIHM_FA/Rapport PROJET.docx differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/Chambre.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/Chambre.class new file mode 100644 index 0000000..adebc1b Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/Chambre.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/Client.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/Client.class new file mode 100644 index 0000000..1a63e15 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/Client.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/MonPrint.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/MonPrint.class new file mode 100644 index 0000000..2251e4a Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/MonPrint.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/Prereservation.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/Prereservation.class new file mode 100644 index 0000000..719cf3e Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/Prereservation.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/PrereservationFactory.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/PrereservationFactory.class new file mode 100644 index 0000000..8336b3f Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/PrereservationFactory.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/TypeChambre.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/TypeChambre.class new file mode 100644 index 0000000..3438529 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/API/TypeChambre.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Controller/MainWindowController.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Controller/MainWindowController.class new file mode 100644 index 0000000..00c5559 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Controller/MainWindowController.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Controller/SearchButtonController.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Controller/SearchButtonController.class new file mode 100644 index 0000000..d9f6ad8 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Controller/SearchButtonController.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Controller/SelectButtonController.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Controller/SelectButtonController.class new file mode 100644 index 0000000..406e8cf Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Controller/SelectButtonController.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Main.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Main.class new file mode 100644 index 0000000..8f1d83a Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Main.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/ConnexionBDD.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/ConnexionBDD.class new file mode 100644 index 0000000..60e62b7 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/ConnexionBDD.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationFactoryModel.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationFactoryModel.class new file mode 100644 index 0000000..f9a126b Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationFactoryModel.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationModel.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationModel.class new file mode 100644 index 0000000..615164b Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationModel.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/RecupChambre.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/RecupChambre.class new file mode 100644 index 0000000..7d731bf Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/RecupChambre.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/RecupClient.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/RecupClient.class new file mode 100644 index 0000000..464b1b8 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/Model/RecupClient.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/ChambresView.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/ChambresView.class new file mode 100644 index 0000000..8703f46 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/ChambresView.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/PrereservationView.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/PrereservationView.class new file mode 100644 index 0000000..1e962d6 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/PrereservationView.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView$1.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView$1.class new file mode 100644 index 0000000..1463864 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView$1.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView$2.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView$2.class new file mode 100644 index 0000000..fb7c7e4 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView$2.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView$3.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView$3.class new file mode 100644 index 0000000..88b1db7 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView$3.class differ diff --git a/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView.class b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView.class new file mode 100644 index 0000000..394ed44 Binary files /dev/null and b/PROJETIHM_FA/build/fr/iutfbleau/projetIHM2021FI2/View/WindowView.class differ diff --git a/PROJETIHM_FA/libs/mariadb-client.jar b/PROJETIHM_FA/libs/mariadb-client.jar new file mode 100644 index 0000000..f18798b Binary files /dev/null and b/PROJETIHM_FA/libs/mariadb-client.jar differ diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Chambre.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Chambre.java new file mode 100644 index 0000000..03c475f --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Chambre.java @@ -0,0 +1,57 @@ +package fr.iutfbleau.projetIHM2021FI2.API; +/** + * Une chambre + */ + +public interface Chambre extends MonPrint { + + /** + * permet de récupérer le numéro de la chambre. + * @return le numéro. + */ + public int getNumero(); + + /** + * permet de savoir si la chambre a un seul lit qui est simple + * @return vrai si c'est le cas. + * @deprecated replaced by {@link #getType()} + */ + @Deprecated + public boolean unLitSimple(); + + /** + * permet de savoir si la chambre a deux lits simples + * @return vrai si c'est le cas. + * @deprecated replaced by {@link #getType()} + */ + @Deprecated + public boolean deuxLitsSimples(); + + /** + * permet de savoir si la chambre a un lit double + * @return vrai si c'est le cas. + * @deprecated replaced by {@link #getType()} + */ + @Deprecated + public boolean unLitDouble(); + + /** + * @return le type de chambre (un type énuméré de l'API) + * + * NB. Les trois méthodes ci-dessus sont assez moches. + * De toute façon Chambre ou Prérerservation exposent le type énuméré TypeChambre à la vue. + * Il est donc plus simple d'ajouter des types de chambre à ce type énuméré plutôt que d'ajouter des tests ici. + * Je laisse les méthodes obsolètes pour illustrer l'annotation
@deprecated
de la javadoc. + */ + public TypeChambre getType(); + + /** + * @return un string contenant les informations de la chambre + * @see MonPrint + * NB. On n'utilise le mécanisme des méthodes par défaut pour donner du code dans une interface. C'est un petit peu laid et à contre-emploi mais pratique ici. + */ + public default String monPrint() { + return String.format("Chambre " + getNumero() + " ("+ getType() +")"); + } + +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Client.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Client.java new file mode 100644 index 0000000..a983269 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Client.java @@ -0,0 +1,35 @@ +package fr.iutfbleau.projetIHM2021FI2.API; + +/** + * Un client + */ + +public interface Client extends MonPrint{ + + /** + * permet de récupérer l'identifiant du client (qu'on suppose être le même pour les différents systèmes, internes et externes à l'hôtel). + * @return l'identifiant. + */ + public int getId(); + + /** + * permet de récupérer + * @return le nom du client. + */ + public String getNom(); + + /** + * permet de récupérer + * @return le prénom du client + */ + public String getPrenom(); + + /** + * @return un string contenant les informations du client + * @see MonPrint + * NB. On n'utilise le mécanisme des méthodes par défaut pour donner du code dans une interface. C'est un petit peu laid et à contre-emploi mais pratique ici. + */ + public default String monPrint() { + return String.format("Nom " + getNom() + " Prenom " + getPrenom() + " (id="+getId()+")"); + } +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/MonPrint.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/MonPrint.java new file mode 100644 index 0000000..6d329b7 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/MonPrint.java @@ -0,0 +1,12 @@ +package fr.iutfbleau.projetIHM2021FI2.API; +/** + * Toutes nos interfaces vont étendre cette interface. + */ +public interface MonPrint { + + /** + * Fonctionne comme ToPrint() sauf car une interface n'a pas le droit de faire un override sur ToPrint(). + * Toutes nos interfaces vont étendre cette interface. + */ + public String monPrint(); +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Prereservation.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Prereservation.java new file mode 100644 index 0000000..385099b --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Prereservation.java @@ -0,0 +1,54 @@ +package fr.iutfbleau.projetIHM2021FI2.API; +import java.time.LocalDate; +/** + * Une préréservation + * + * e.g. utilisé par le système de réservation externe à l'hôtel. + * + */ + +public interface Prereservation extends MonPrint{ + + /** + * permet de récupérer + * @return la référence. + */ + public String getReference(); + + /** + * permet de récupérer + * @return la date de début + * + * A priori seule la date est importante, le reste est sans importance. + */ + public LocalDate getDateDebut(); + + /** + * permet de récupérer + * @return la durée en jours (mais comme un entier) + */ + public int getJours(); + + /** + * permet de récupérer + * @return le type de chambre + */ + public TypeChambre getTypeChambre(); + + /** + * permet de récupérer + * @return le client + */ + public Client getClient(); + + /** + * @return un string contenant les informations de la réservation + * @see MonPrint + * NB. On n'utilise le mécanisme des méthodes par défaut pour donner du code dans une interface. C'est un petit peu laid et à contre-emploi mais pratique ici. + */ + public default String monPrint() { + return String.format("Préréservation " + getReference() + ": " + getClient().monPrint() + " le " + getDateDebut().toString() + " pour " + getJours() + " nuit(s) "); + } + + +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/PrereservationFactory.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/PrereservationFactory.java new file mode 100644 index 0000000..80b2d71 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/PrereservationFactory.java @@ -0,0 +1,34 @@ +package fr.iutfbleau.projetIHM2021FI2.API; +import java.util.*; +/** + * Cette interface est une usine abstraite. + * + * Elle permet de rechercher les préréservations à partir du numéro d'une préréservation, ou bien du nom et prenom d'un Client. + * + */ +public interface PrereservationFactory{ + + /** + * Recherche une préréservation par reference + * @param r la référence du système de préréservation + * @return la préréservation. + * @throws NullPointerException si un argument est null + * @throws IllegalStateException si la Préréservation avec cette référence n'existe pas. + * + * Ne devrait pas retourner un objet null. + */ + public Prereservation getPrereservation(String r); + + /** + * Recherche une préréservation par nom et prenom + * @param n le nom + * @param p le prenom + * @return un ensemble de préréservations. + * @throws NullPointerException si un argument est null + * @throws IllegalStateException si aucune préréservation n'existe avec ce nom + * + * Ne devrait pas retourner un objet null ou un ensemble vide. + */ + public Set getPrereservations(String n, String p); + +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Reservation.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Reservation.java new file mode 100644 index 0000000..41e0c8e --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/Reservation.java @@ -0,0 +1,56 @@ +package fr.iutfbleau.projetIHM2021FI2.API; +import java.time.LocalDate; +/** + * Une Réservation + * + * e.g. utilisé par le système de réservation interne à l'hôtel. + * + */ + +public interface Reservation { + + /** + * permet de récupérer + * @return la référence. + */ + public String getReference(); + + /** + * permet de récupérer + * @return la date de début + * + * A priori seule la date est importante, le reste est sans importance. + */ + public LocalDate getDateDebut(); + + /** + * permet de récupérer + * @return la durée en jours (mais comme un entier) + */ + public int getJours(); + + /** + * permet de récupérer + * @return la chambre + */ + public Chambre getChambre(); + + /** + * permet de récupérer + * @return le client + */ + public Client getClient(); + + /** + * @return un string contenant les informations de la réservation + * @see MonPrint + * NB. On n'utilise le mécanisme des méthodes par défaut pour donner du code dans une interface. C'est un petit peu laid et à contre-emploi mais pratique ici. + */ + public default String monPrint() { + return String.format("Réservation " + getReference() + ": " + getClient().monPrint() + " le " + getDateDebut().toString() + " pour " + getJours() + " nuit(s) " + getChambre().monPrint()); + } + +} + + + diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/ReservationFactory.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/ReservationFactory.java new file mode 100644 index 0000000..cc23add --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/ReservationFactory.java @@ -0,0 +1,182 @@ +package fr.iutfbleau.projetIHM2021FI2.API; +import java.time.LocalDate; +import java.util.*; + +/** + * Cette interface est une usine abstraite. + * + * Elle permet de trouver une ou des chambres à partir d'une préréservation, de créer une réservation. + * Elle permet aussi de compter toutes les chambres d'un certain type (disponibles ou non). + * + * Conseil : + * si vous instantiez cette classe pour proposer un modèle persistent avec une base de données, attention à ne pas faire des choses qu'on peut faire efficacement en BdD côté Java. + * En particulier, ne pas faire des jointures ou de l'aggrégat côté java alors que votre bdd fait ça beaucoup plus efficacement. + * Plus de détails ici : https://use-the-index-luke.com/sql/join/nested-loops-join-n1-problem + * + * Autre conseil : + * vous n'êtes probablement pas obligé de coder toutes les méthodes listées ici pour que votre projet soit terminé. + * Cette interface est volontairement assez complète pour permettre de faire varier le sujet du projet sans la changer. + * + * Je ne l'ai pas ajouté individuellement pour la documentation de chaque méthode, mais si la classe réalisant cette interface ne réalise pas vraiment une méthode, vous pouvez lever + * java.lang.UnsupportedOperationException + * avec un message "pas encore implanté" ou "aucune implantation prévue" selon les cas. + * + * La raison de cette absence dans la documentation ci-dessous c'est qu'il s'agit d'une Exception héritant de RuntimeException. + * La doc indique aussi : + * "RuntimeException and its subclasses are unchecked exceptions. Unchecked exceptions do not need to be declared in a method or constructor's throws clause if they can be thrown by the execution of the method or constructor and propagate outside the method or constructor boundary." + * + */ +public interface ReservationFactory{ + + /** + * Recherche une chambre adéquate à partir de + * @param p une préréservation + * @return la chambre + * @throws NullPointerException si un argument est null + * @throws IllegalStateException si une chambre correspondant à cette Préréservation n'existe pas. + * + * Ne devrait pas retourner un objet null. + */ + public Chambre getChambre(Prereservation p); + + /** + * Recherche toutes les chambres adéquates à partir de + * @param p une préréservation + * @return les chambres (set de chambre) + * @throws NullPointerException si un argument est null + * @throws IllegalStateException si une chambre correspondant à cette Préréservation n'existe pas. + * + * Ne devrait pas retourner un objet null. + */ + public Set getChambres(Prereservation p); + + /** + * Fabrique (ajoute) une réservation + * @param p une préréservation + * @param c une chambre (normalement libre et adaptée à la préréservation) + * @return la réservation + * @throws NullPointerException si un argument est null + * @throws IllegalArgumentException si la chambre ne correspondant pas au type de chambre de la préréservation. + * @throws IllegalStateException si la chambre n'est pas disponible. + * + * Ne devrait pas retourner un objet null. + */ + public Reservation createReservation(Prereservation p, Chambre c); + + /** + * Cherche les réservations + * @param d une date + * @return la ou les réservation(s) à cette date sous forme d'un ensemble + * @throws NullPointerException si un argument est null + * + * Ne devrait pas retourner un objet null, par contre peut être un ensemble qui est vide. + */ + public Set getReservation(LocalDate d); + + /** + * Cherche le nombre de chambres disponibles pour une date (réservées ou non). + * @param d une date + * @return un entier + * @throws NullPointerException si un argument est null + * + * Ne devrait pas retourner un entier négatif. + */ + public int getDisponibles(LocalDate d); + + /** + * Cherche les réservations + * @param d une date + * @param t un type de chambre + * @return la ou les réservation(s) pour ce type de chambre à cette date sous forme d'un ensemble + * @throws NullPointerException si un argument est null + * + * Ne devrait pas retourner un objet null, par contre peut être un ensemble qui est vide. + */ + public Set getReservation(LocalDate d, TypeChambre t); + + /** + * Cherche le nombre de chambres disponibles d'un certain type pour une date (réservées ou non). + * @param d une date + * @param t un type de chambre + * @return un entier + * @throws NullPointerException si un argument est null + * + * Ne devrait pas retourner un entier négatif. + */ + public int getDisponibles(LocalDate d, TypeChambre t); + + /** + * Cherche la proportion de chambres disponibles pour une date (réservées sur réservables). + * @param d une date + * @return un entier entre 0 et 100 + * @throws NullPointerException si un argument est null + */ + public int getRatio(LocalDate d); + + /** + * Cherche la proportion de chambres disponibles d'un certain type pour une date (réservées sur réservables). + * @param d une date + * @param t un type de chambre + * @return un entier entre 0 et 100 + * @throws NullPointerException si un argument est null + */ + public int getRatio(LocalDate d, TypeChambre t); + + /** + * Cherche le nombre moyen de chambres disponibles entre deux date (réservées ou non), arrondies à l'entier inférieur. + * @param d1 une date + * @param d2 une date + * @return un entier + * @throws NullPointerException si un argument est null + * @throws IllegalArgumentException si l'ordre temporel d1 avant d2 n'est pas respecté. + * + * Ne devrait pas retourner un entier négatif. + */ + public int getDisponibles(LocalDate d1, LocalDate d2); + + /** + * Cherche les réservations + * @param d1 une date + * @param d2 une date + * @param t un type de chambre + * @return la ou les réservation(s) pour ce type de chambre entre les dates sous forme d'un ensemble + * @throws NullPointerException si un argument est null + * @throws IllegalArgumentException si l'ordre temporel d1 avant d2 n'est pas respecté. + * + * Ne devrait pas retourner un objet null, par contre peut être un ensemble qui est vide. + */ + public Set getReservation(LocalDate d1, LocalDate d2, TypeChambre t); + + /** + * Cherche le nombre moyen de chambres disponibles d'un certain type entre deux date (réservées ou non), arrondies à l'entier inférieur. + * @param d1 une date + * @param d2 une date + * @param t un type de chambre + * @return un entier + * @throws NullPointerException si un argument est null + * @throws IllegalArgumentException si l'ordre temporel d1 avant d2 n'est pas respecté. + * + * Ne devrait pas retourner un entier négatif. + */ + public int getDisponibles(LocalDate d1, LocalDate d2, TypeChambre t); + + /** + * Cherche la proportion moyenne de chambres disponibles pour une date (réservées sur réservables). + * @param d1 une date + * @param d2 une date + * @return un entier entre 0 et 100 + * @throws NullPointerException si un argument est null + */ + public int getRatio(LocalDate d1, LocalDate d2); + + /** + * Cherche la proportion moyenne de chambres disponibles d'un certain type pour une date (réservées sur réservables). + * @param d1 une date + * @param d2 une date + * @param t un type de chambre + * @return un entier entre 0 et 100 + * @throws NullPointerException si un argument est null + */ + public int getRatio(LocalDate d1, LocalDate d2, TypeChambre t); + +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/TypeChambre.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/TypeChambre.java new file mode 100644 index 0000000..d1798da --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/API/TypeChambre.java @@ -0,0 +1,10 @@ +package fr.iutfbleau.projetIHM2021FI2.API; +public enum TypeChambre { + UNLS ("Un lit simple"), DEUXLS ("Deux lits simples"), UNLD ("Un lit double"); + + private final String name; + + private TypeChambre(String s) { + name = s; + } +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/MainWindowController.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/MainWindowController.java new file mode 100644 index 0000000..9f8b254 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/MainWindowController.java @@ -0,0 +1,36 @@ +package fr.iutfbleau.projetIHM2021FI2.Controller; + +import java.awt.event.WindowEvent; +import java.awt.event.WindowListener; + +import fr.iutfbleau.projetIHM2021FI2.Model.ConnexionBDD; + +/** + * La classe MainWindowController permet de se déconnecter de la base de données lorsqu'on ferme la fenêtre. + * + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ +public class MainWindowController implements WindowListener { + public void windowActivated (WindowEvent e) { + } + + public void windowClosed (WindowEvent e) { + } + + public void windowClosing (WindowEvent e) { + ConnexionBDD.getInstance().close(); + } + + public void windowDeactivated (WindowEvent e) { + } + + public void windowDeiconified (WindowEvent e) { + } + + public void windowIconified(WindowEvent e) { + } + + public void windowOpened(WindowEvent e) { + } +} \ No newline at end of file diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/SearchButtonController.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/SearchButtonController.java new file mode 100644 index 0000000..af2c0b1 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/SearchButtonController.java @@ -0,0 +1,68 @@ +package fr.iutfbleau.projetIHM2021FI2.Controller; + +import fr.iutfbleau.projetIHM2021FI2.View.*; +import fr.iutfbleau.projetIHM2021FI2.API.*; +import fr.iutfbleau.projetIHM2021FI2.Model.PrereservationFactoryModel; + +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import javax.swing.*; +import java.util.Set; + +/** + * La classe SearchButtonController permet de répertorier les actions effectués lors d'une recherche. + * + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ +public class SearchButtonController implements ActionListener { + private JTextField champNom; + private JTextField champPrenom; + private JTextField champRef; + + public SearchButtonController(JTextField champNom, JTextField champPrenom, JTextField champRef) { + this.champNom = champNom; + this.champPrenom = champPrenom; + this.champRef = champRef; + } + + public void fillTable(String nom, String prenom) { + + + + PrereservationFactoryModel factory = new PrereservationFactoryModel(); + Set cResSet = factory.getPrereservations(nom, prenom); + + + for (Prereservation currRes : cResSet) { + String[] rowToAdd = {currRes.getReference(), currRes.getDateDebut().toString(), String.valueOf(currRes.getJours()), currRes.getTypeChambre().name()}; + + PrereservationView.getInstance().ajoutTuples(rowToAdd); + } + } + + public void fillTable(String reference) { + + + PrereservationFactoryModel factory = new PrereservationFactoryModel(); + Prereservation cRes = factory.getPrereservation(reference); + + String[] rowToAdd = {cRes.getReference(), cRes.getDateDebut().toString(), String.valueOf(cRes.getJours()), cRes.getTypeChambre().name()}; + + PrereservationView.getInstance().ajoutTuples(rowToAdd); + } + + public void actionPerformed(ActionEvent e) + { + + PrereservationView.getInstance().viderTableau(); + System.out.println(this.champNom.getText() + champPrenom.getText() + this.champRef.getText()); + + if (this.champRef.getText().isEmpty()) { + fillTable(this.champNom.getText(), champPrenom.getText()); + } + else { + fillTable(this.champRef.getText()); + } + } +} \ No newline at end of file diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/SelectButtonController.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/SelectButtonController.java new file mode 100644 index 0000000..fae58cb --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/SelectButtonController.java @@ -0,0 +1,48 @@ +package fr.iutfbleau.projetIHM2021FI2.Controller; + +import fr.iutfbleau.projetIHM2021FI2.API.*; +import fr.iutfbleau.projetIHM2021FI2.Model.*; +import fr.iutfbleau.projetIHM2021FI2.View.*; + +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import javax.swing.*; +import java.util.ArrayList; + +/** + * La classe SelectButtonController permet de répertorier les actions effectués lors d'une recherche de chambre. + * + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ +public class SelectButtonController implements ActionListener { + + public SelectButtonController(JButton button) { + } + + public void actionPerformed(ActionEvent e) + { + + String Command = e.getActionCommand(); + Prereservation preRes = PrereservationView.getInstance().getSelectedReservation(); + + if (Command == "Valider la préréservation") { + RecupChambre availableRoom = RecupChambre.byDate(preRes.getDateDebut()); + + int rep = JOptionPane.showOptionDialog(null, availableRoom.monPrint() + " est disponible", "Recherche de chambre", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE, null, new Object[] { "Oui", "Choisir une autre chambre" }, JOptionPane.YES_OPTION); + + if (rep == JOptionPane.YES_OPTION) { + availableRoom.reserve(preRes.getDateDebut()); + } + else { + + ArrayList rooms = RecupChambre.allByDate(preRes.getDateDebut()); + // CREATION LISTE DE CHAMBRES + ChambresView.getInstance().update(rooms); + } + } + else if (Command == "Sélectionner cette chambre") { + ChambresView.getInstance().chambreSelectionnee().reserve(preRes.getDateDebut()); + } + } +} \ No newline at end of file diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/TextFieldController.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/TextFieldController.java new file mode 100644 index 0000000..0c36637 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Controller/TextFieldController.java @@ -0,0 +1,31 @@ +package fr.iutfbleau.projetIHM2021FI2.Controller; + +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import javax.swing.*; + +/** + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ + + + +public class TextFieldController implements ActionListener { + private JTextField champPrenom; + private JTextField champRef; + + public TextFieldController(JTextField champPrenom, JTextField champNom, JTextField champRef) { + + this.champPrenom = champPrenom; + this.champRef = champRef; + } + + public void actionPerformed(ActionEvent e) + { + + if (this.champPrenom.getText() != "") { + this.champRef.setEditable(false); + } + } +} \ No newline at end of file diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Main.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Main.java new file mode 100644 index 0000000..174ffc2 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Main.java @@ -0,0 +1,19 @@ +package fr.iutfbleau.projetIHM2021FI2; + +import fr.iutfbleau.projetIHM2021FI2.Model.*; +import fr.iutfbleau.projetIHM2021FI2.View.*; + +/** + * La classe Main permet le démarrage du programme. + * + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ +public class Main { + static public void main(String[] args) { + ConnexionBDD.getInstance(); + + WindowView window = new WindowView(); + + } +} \ No newline at end of file diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/ConnexionBDD.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/ConnexionBDD.java new file mode 100644 index 0000000..d76e343 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/ConnexionBDD.java @@ -0,0 +1,59 @@ +package fr.iutfbleau.projetIHM2021FI2.Model; +import java.sql.*; +import javax.swing.JOptionPane; + + +/** + * La classe ConnexionBDD permet de se connecter à notre base de données. + * + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ +public class ConnexionBDD { + + private static ConnexionBDD connexionInstance = null; + private Connection sqlCo; + + //Constructeur + private ConnexionBDD() { + this.sqlCo = null; + this.connect(); + } + + // CONNEXION BDD TAJGALT + public void connect() { + try { + Class.forName("org.mariadb.jdbc.Driver"); + try { + this.sqlCo = DriverManager.getConnection("jdbc:mariadb://dwarves.iut-fbleau.fr/tajgalt", "tajgalt", "tajgalt"); + } + catch(SQLException e) { + System.err.println("Identifiants incorrects, vérifiez !"); + } + } + catch(ClassNotFoundException e) { + JOptionPane.showMessageDialog(null, "Connexion Impossible !", "Connexion", JOptionPane.ERROR_MESSAGE); + } + } + + // DECONNEXION BDD + public void close() { + try { + this.sqlCo.close(); + } + catch(SQLException e) { + System.err.println("Impossible de se déconnecter"); + } + } + + public static ConnexionBDD getInstance() { + if (connexionInstance == null) { + connexionInstance = new ConnexionBDD(); + } + return connexionInstance; + } + + public static Connection getSQLco() { + return connexionInstance.sqlCo; + } +} \ No newline at end of file diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationFactoryModel.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationFactoryModel.java new file mode 100644 index 0000000..bc1b03e --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationFactoryModel.java @@ -0,0 +1,84 @@ +package fr.iutfbleau.projetIHM2021FI2.Model; + +import fr.iutfbleau.projetIHM2021FI2.API.*; +import java.time.LocalDate; +import java.util.*; +import java.util.function.Predicate; +import java.sql.*; + +/** + * La classe PrereservationFactoryModel permet de gérer les préréservations. + * + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ +public class PrereservationFactoryModel implements PrereservationFactory { + private HashMap map =new HashMap(); + + /** Constructeur */ + public PrereservationFactoryModel() { + + try { + PreparedStatement pst = ConnexionBDD.getSQLco().prepareStatement( + "SELECT DISTINCT client, reference, debut, nuits, categorie FROM Reservation JOIN Client c ON c.id = client"); + + pst.executeUpdate(); + + ResultSet rs = pst.executeQuery(); + + // On ajoute toutes les préreservations au map + while (rs.next()) { + RecupClient c = RecupClient.byId(rs.getInt("client")); + this.map.put(rs.getString("reference"), new PrereservationModel(rs.getString("reference"), LocalDate.parse(rs.getString("debut")), rs.getInt("nuits"), TypeChambre.values()[rs.getInt("categorie") - 1], c)); + } + + rs.close(); + pst.close(); + } + + catch(SQLException e) { + System.err.println("Problème lors de la récupération des préréservations."); + } + } + + /** + * Recherche par référence + * Ne devrait pas retourner un objet null. + */ + public Prereservation getPrereservation(String r){ + Objects.requireNonNull(r,"La référence recherchée est vide."); + if (this.map.containsKey(r)){ + return this.map.get(r); + } + else { + throw new IllegalStateException("Il n'existe pas de préréservation avec la référence : " + r); + } + } + /** + * Recherche par nom et prénom + * Ne devrait pas retourner un objet null ou un ensemble vide. + */ + public Set getPrereservations(String n, String p){ + Objects.requireNonNull(n,"Le nom est vide."); + Objects.requireNonNull(p,"Le prénom est vide."); + + + Collection c = this.map.values(); + Predicate filtre = preresa -> !preresa.getClient().getNom().equals(n) || !preresa.getClient().getPrenom().equals(p); + // COLLECTION + c.removeIf(filtre); + if (c.isEmpty()){ + throw new IllegalStateException("Pas de préréservation au nom de : " + n + p); + } + // on fabrique un ensemble. + Set found = new HashSet(c); + return found; + } + + /** + * Récupération de toutes les préréservations. + */ + public Set getAllPrereservations() { + return new HashSet(this.map.values()); + } +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationModel.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationModel.java new file mode 100644 index 0000000..f43874a --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/PrereservationModel.java @@ -0,0 +1,53 @@ +package fr.iutfbleau.projetIHM2021FI2.Model; + +import fr.iutfbleau.projetIHM2021FI2.API.*; +import java.time.LocalDate; +import java.util.*; + +/** + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ +public class PrereservationModel implements Prereservation { + private String reference; + private LocalDate dateDebut; + private int jours; + private TypeChambre type; + private Client client; + + public PrereservationModel(String reference, LocalDate dateDebut, int jours, TypeChambre t, Client client){ + Objects.requireNonNull(reference,"La référence est null."); + Objects.requireNonNull(dateDebut,"La date est null."); + if (jours<1) { + throw new IllegalArgumentException("Nombres de jours négatif ou null."); + } + Objects.requireNonNull(t,"Le type de chambre est null."); + Objects.requireNonNull(client,"Le client est null."); + this.reference=reference; + this.dateDebut=dateDebut; + + this.jours=jours; + this.type=t; + this.client=client; + } + + public String getReference(){ + return this.reference; + } + + public LocalDate getDateDebut(){ + return this.dateDebut; + } + + public int getJours(){ + return this.jours; + } + + public TypeChambre getTypeChambre(){ + return this.type; + } + + public Client getClient(){ + return this.client; + } +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/RecupChambre.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/RecupChambre.java new file mode 100644 index 0000000..e81b8a9 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/RecupChambre.java @@ -0,0 +1,120 @@ +package fr.iutfbleau.projetIHM2021FI2.Model; + +import java.sql.*; +import java.sql.Date; +import java.time.LocalDate; +import fr.iutfbleau.projetIHM2021FI2.API.*; +import java.util.*; + +import javax.swing.JOptionPane; + +/** + * La classe RecupChambre nous permet de récupérer et traiter les chambres grâce à la base de données. + * + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ + +public class RecupChambre implements Chambre { + private int numero; + private TypeChambre type; + + public RecupChambre(int numero, TypeChambre t){ + Objects.requireNonNull(t,"Type de chambre est null."); + this.numero=numero; + this.type=t; + } + + + public int getNumero(){ + return this.numero; + } + + + public boolean unLitSimple(){ + //https://stackoverflow.com/questions/1750435/comparing-java-enum-members-or-equals + return (this.type == TypeChambre.UNLS); + } + + + public boolean deuxLitsSimples(){ + return (this.type == TypeChambre.DEUXLS); + } + + + public boolean unLitDouble(){ + return (this.type == TypeChambre.UNLD); + } + + + public TypeChambre getType(){ + return this.type; + } + + + static public RecupChambre byDate(LocalDate date) { + RecupChambre room = null; + + try { + PreparedStatement pst = ConnexionBDD.getInstance().getSQLco().prepareStatement( + "SELECT id, type FROM Chambre WHERE DATEDIFF(?, dateDispo) > 0"); + + pst.setDate(1, Date.valueOf(date)); + pst.executeUpdate(); + ResultSet rs = pst.executeQuery(); + + rs.next(); + // CREATION CHAMBRE + room = new RecupChambre(rs.getInt("id"), TypeChambre.values()[rs.getInt("type") - 1]); + rs.close(); + pst.close(); + } + catch(SQLException e) { + System.err.println("erreur bydate"); + System.out.println("error code " + e.getErrorCode()); + System.out.println(" sqlState " + e.getSQLState()); + } + return room; + } + + static public ArrayList allByDate(LocalDate date) { + ArrayList rooms = new ArrayList(); + + try { + PreparedStatement pst = ConnexionBDD.getInstance().getSQLco().prepareStatement( + "SELECT id, type FROM Chambre WHERE DATEDIFF(?, dateDispo) > 0"); + + pst.setDate(1, Date.valueOf(date)); + pst.executeUpdate(); + ResultSet rs = pst.executeQuery(); + + while (rs.next()) { + rooms.add(new RecupChambre(rs.getInt("id"), TypeChambre.values()[rs.getInt("type") - 1])); + } + rs.close(); + pst.close(); + } + catch(SQLException e) { + System.err.println("Aucune chambre à partir de cette date là"); + } + + return rooms; + } + + public void reserve(LocalDate date) { + try { + PreparedStatement pst = ConnexionBDD.getInstance().getSQLco().prepareStatement( + "UPDATE Chambre SET dateDispo = ? WHERE id = ?;"); + + pst.setDate(1, Date.valueOf(date)); + pst.setInt(2, this.getNumero()); + pst.executeUpdate(); + pst.executeQuery(); + + JOptionPane.showMessageDialog(null, "La chambre " + this.getNumero() + " a été réservée pour le " + date + " avec succès !", "Réservation", JOptionPane.INFORMATION_MESSAGE); + } + catch(SQLException e) { + System.err.println("Impossible de réserver la chambre"); + } + } +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/RecupClient.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/RecupClient.java new file mode 100644 index 0000000..f251a82 --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/Model/RecupClient.java @@ -0,0 +1,90 @@ +package fr.iutfbleau.projetIHM2021FI2.Model; + +import fr.iutfbleau.projetIHM2021FI2.API.*; +import java.util.*; +import java.sql.*; + +/** + * La classe RecupClient permet de récupérer et traiter les clients grâce à la base de données. + * + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ + +public class RecupClient implements Client { + private int id; + private String nom; + private String prenom; + + public RecupClient(int id, String prenom, String nom){ + Objects.requireNonNull(nom,"nom est null."); + Objects.requireNonNull(prenom,"prenom est null."); + this.id=id; + this.nom=nom; + this.prenom=prenom; + } + + + public int getId(){ + return this.id; + } + + + public String getNom(){ + return this.nom; + } + + + public String getPrenom(){ + return this.prenom; + } + + + static public RecupClient byId(int id) { + RecupClient customer = null; + + try { + PreparedStatement pst = ConnexionBDD.getSQLco().prepareStatement( + "SELECT * FROM Client WHERE id = ?"); + + pst.setInt(1, id); + pst.executeUpdate(); + + ResultSet rs = pst.executeQuery(); + rs.next(); + + customer = new RecupClient(rs.getInt("id"), rs.getString("prenom"), rs.getString("nom")); + + rs.close(); + pst.close(); + } + catch(SQLException e) { + System.err.println("Erreur lors de la recherche."); + } + return customer; + } + + + static public String nom(int id) { + String customer = null; + try { + PreparedStatement pst = ConnexionBDD.getSQLco().prepareStatement( + "SELECT * FROM Client WHERE id = ?"); + + pst.setInt(1, id); + pst.executeUpdate(); + ResultSet rs = pst.executeQuery(); + rs.next(); + + customer = rs.getString("nom"); + + rs.close(); + pst.close(); + + } + catch(SQLException e) { + System.err.println("Problème lors de la recherche"); + } + return customer; + } +} diff --git a/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/View/ChambresView.java b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/View/ChambresView.java new file mode 100644 index 0000000..5f1c26c --- /dev/null +++ b/PROJETIHM_FA/src/fr/iutfbleau/projetIHM2021FI2/View/ChambresView.java @@ -0,0 +1,112 @@ +package fr.iutfbleau.projetIHM2021FI2.View; + +import fr.iutfbleau.projetIHM2021FI2.Controller.*; +import fr.iutfbleau.projetIHM2021FI2.Model.*; + +import javax.swing.*; +import java.awt.*; +import javax.swing.table.*; +import java.util.ArrayList; + +/** + * La classe ChambresView permet d'afficher les autres chambres disponibles que l'on peut sélectionner. + * + * @version 1.0 + * @author Anice TAJGALT, Gianni MANZARI, Alban DUMAS + */ +public class ChambresView extends JFrame { + private JLabel instructionsLabel; + private JButton confirmBtn; + private JScrollPane scrollPane; + + + // MODELE TABLE + private DefaultTableModel model; + // TABLE + private JTable table; + + + private ArrayList rooms; + private static ChambresView instance = null; + + + private ChambresView() { + super(); + this.rooms = null; + + this.setLayout(new GridBagLayout()); + this.scrollPane = new JScrollPane(); + this.instructionsLabel = new JLabel("Selectionnez une chambre"); + this.confirmBtn = new JButton("Sélectionner"); + + SelectButtonController btnListener = new SelectButtonController(this.confirmBtn); + this.confirmBtn.addActionListener(btnListener); + + this.setSize(550, 600); + this.setLocation(500,400); + + String[] columnName = {"Chambres disponibles"}; + this.model = new DefaultTableModel(null, columnName); + this.table = new JTable(this.model); + scrollPane.setViewportView(this.table); + + + GridBagConstraints gridBtn = new GridBagConstraints(); + gridBtn.gridx = 0; + gridBtn.gridy = 2; + gridBtn.fill = GridBagConstraints.HORIZONTAL; + gridBtn.insets = new Insets(10, 10, 10, 10); + + GridBagConstraints gridLabel = new GridBagConstraints(); + gridLabel.gridx = 0; + gridLabel.gridy = 0; + gridLabel.fill = GridBagConstraints.HORIZONTAL; + gridLabel.insets = new Insets(10, 10, 10, 10); + + GridBagConstraints gridRoom = new GridBagConstraints(); + gridRoom.gridx = 0; + gridRoom.gridy = 1; + gridRoom.fill = GridBagConstraints.BOTH; + gridRoom.insets = new Insets(10, 10, 10, 10); + gridRoom.weighty = 10.0; + + + this.add(this.instructionsLabel, gridLabel); + this.add(this.scrollPane, gridRoom); + this.add(this.confirmBtn, gridBtn); + + this.setVisible(true); + } + + public void ajoutTuples(String[] data) { + this.model.addRow(data); + } + + public void viderTableau() { + this.model.setRowCount(0); + } + + public RecupChambre chambreSelectionnee() { + + int selectedRow = this.table.getSelectedRow(); + + return this.rooms.get(selectedRow); + } + + public void update(ArrayList rooms) { + this.rooms = rooms; + + this.viderTableau(); + + for (int i = 0; i preresList = prefactory.getAllPrereservations(); + + + // REMPLIS LE TABLEAU + for (Prereservation currRes : preresList) { + String[] rowToAdd = {currRes.getReference(), + currRes.getDateDebut().toString(), + String.valueOf(currRes.getJours()), + currRes.getTypeChambre().name()}; + + PrereservationView.getInstance().ajoutTuples(rowToAdd); + } + + + panel.setLayout(new GridBagLayout()); + + // TEXTE + GridBagConstraints gridP = new GridBagConstraints(); + gridP.gridx = 0; + gridP.gridy = 0; + gridP.fill = GridBagConstraints.HORIZONTAL; + gridP.insets = new Insets(20, 20, 20, 20); + + GridBagConstraints gridN = new GridBagConstraints(); + gridN.gridx = 1; + gridN.gridy = 0; + gridN.fill = GridBagConstraints.HORIZONTAL; + gridN.insets = new Insets(20, 20, 20, 20); + + GridBagConstraints gridR = new GridBagConstraints(); + gridR.gridx = 2; + gridR.gridy = 0; + gridR.gridwidth = 1; + gridR.fill = GridBagConstraints.HORIZONTAL; + gridR.insets = new Insets(20, 20, 20, 20); + + // BOUTON + GridBagConstraints gridS = new GridBagConstraints(); + gridS.gridx = 0; + gridS.gridy = 1; + gridS.fill = GridBagConstraints.HORIZONTAL; + gridS.insets = new Insets(20, 20, 20, 20); + + GridBagConstraints gridSelect = new GridBagConstraints(); + gridSelect.gridx = 0; + gridSelect.gridy = 4; + gridSelect.gridwidth = 2; + gridSelect.fill = GridBagConstraints.BOTH; + gridSelect.insets = new Insets(20, 20, 20, 20); + + + // TABLEAU + GridBagConstraints gridT = new GridBagConstraints(); + gridT.gridx = 0; + gridT.gridy = 3; + gridT.gridwidth = 4; + gridT.fill = GridBagConstraints.BOTH; + gridT.insets = new Insets(20, 20, 20, 20); + gridT.weightx = 1.0; + gridT.weighty = 1.0; + + panel.add(nom,gridN); + panel.add(prenom,gridP); + panel.add(buttonSearch,gridS); + panel.add(reference,gridR); + panel.add(tableau, gridT); + panel.add(selectR, gridSelect); + + + this.add(panel); + this.setVisible(true); + } +} \ No newline at end of file diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/AbstractCallableFunctionStatement.class b/PROJETIHM_FA/src/org/mariadb/jdbc/AbstractCallableFunctionStatement.class new file mode 100644 index 0000000..374154f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/AbstractCallableFunctionStatement.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/AbstractCallableProcedureStatement.class b/PROJETIHM_FA/src/org/mariadb/jdbc/AbstractCallableProcedureStatement.class new file mode 100644 index 0000000..a40af26 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/AbstractCallableProcedureStatement.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/AbstractPrepareStatement.class b/PROJETIHM_FA/src/org/mariadb/jdbc/AbstractPrepareStatement.class new file mode 100644 index 0000000..9649467 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/AbstractPrepareStatement.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/BlobOutputStream.class b/PROJETIHM_FA/src/org/mariadb/jdbc/BlobOutputStream.class new file mode 100644 index 0000000..6ddc540 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/BlobOutputStream.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/CallParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/CallParameter.class new file mode 100644 index 0000000..80a6a43 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/CallParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/CallableParameterMetaData.class b/PROJETIHM_FA/src/org/mariadb/jdbc/CallableParameterMetaData.class new file mode 100644 index 0000000..44cdb4b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/CallableParameterMetaData.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/Driver.class b/PROJETIHM_FA/src/org/mariadb/jdbc/Driver.class new file mode 100644 index 0000000..2edf920 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/Driver.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/HostAddress.class b/PROJETIHM_FA/src/org/mariadb/jdbc/HostAddress.class new file mode 100644 index 0000000..956a5ac Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/HostAddress.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/LocalInfileInterceptor.class b/PROJETIHM_FA/src/org/mariadb/jdbc/LocalInfileInterceptor.class new file mode 100644 index 0000000..6f2742b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/LocalInfileInterceptor.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbBlob.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbBlob.class new file mode 100644 index 0000000..e9ccfd0 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbBlob.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbClientPreparedStatement.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbClientPreparedStatement.class new file mode 100644 index 0000000..7765760 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbClientPreparedStatement.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbClob.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbClob.class new file mode 100644 index 0000000..1c369e9 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbClob.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbConnection$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbConnection$1.class new file mode 100644 index 0000000..127e0a3 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbConnection$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbConnection.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbConnection.class new file mode 100644 index 0000000..385962c Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbConnection.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbDataSource.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbDataSource.class new file mode 100644 index 0000000..826706a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbDataSource.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbDatabaseMetaData$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbDatabaseMetaData$1.class new file mode 100644 index 0000000..3dbf3b3 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbDatabaseMetaData$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbDatabaseMetaData.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbDatabaseMetaData.class new file mode 100644 index 0000000..3e88d8d Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbDatabaseMetaData.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbFunctionStatement.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbFunctionStatement.class new file mode 100644 index 0000000..1a79de5 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbFunctionStatement.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbParameterMetaData.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbParameterMetaData.class new file mode 100644 index 0000000..f60902b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbParameterMetaData.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbPooledConnection.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbPooledConnection.class new file mode 100644 index 0000000..8cc65be Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbPooledConnection.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbPrepareStatementFacade.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbPrepareStatementFacade.class new file mode 100644 index 0000000..a6208df Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbPrepareStatementFacade.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbProcedureStatement.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbProcedureStatement.class new file mode 100644 index 0000000..62c68b7 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbProcedureStatement.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbResultSetMetaData$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbResultSetMetaData$1.class new file mode 100644 index 0000000..9de4b0f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbResultSetMetaData$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbResultSetMetaData.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbResultSetMetaData.class new file mode 100644 index 0000000..36a444f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbResultSetMetaData.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbSavepoint.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbSavepoint.class new file mode 100644 index 0000000..3445303 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbSavepoint.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbServerPreparedStatement.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbServerPreparedStatement.class new file mode 100644 index 0000000..6bebc6c Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbServerPreparedStatement.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbStatement$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbStatement$1.class new file mode 100644 index 0000000..4256149 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbStatement$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbStatement.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbStatement.class new file mode 100644 index 0000000..8f11f7e Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbStatement.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbXid.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbXid.class new file mode 100644 index 0000000..e625957 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaDbXid.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaXaConnection.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaXaConnection.class new file mode 100644 index 0000000..33c09ab Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaXaConnection.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MariaXaResource.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaXaResource.class new file mode 100644 index 0000000..4bcda8f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MariaXaResource.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/MySQLDataSource.class b/PROJETIHM_FA/src/org/mariadb/jdbc/MySQLDataSource.class new file mode 100644 index 0000000..e6fcbca Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/MySQLDataSource.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/UrlParser.class b/PROJETIHM_FA/src/org/mariadb/jdbc/UrlParser.class new file mode 100644 index 0000000..ed880c7 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/UrlParser.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/MariaDbServerCapabilities.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/MariaDbServerCapabilities.class new file mode 100644 index 0000000..d2dd6f9 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/MariaDbServerCapabilities.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/MariaDbType$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/MariaDbType$1.class new file mode 100644 index 0000000..f6d80f7 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/MariaDbType$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/MariaDbType.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/MariaDbType.class new file mode 100644 index 0000000..49c4559 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/MariaDbType.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/AbstractMastersListener.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/AbstractMastersListener.class new file mode 100644 index 0000000..19ad2e2 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/AbstractMastersListener.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/AbstractMastersSlavesListener.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/AbstractMastersSlavesListener.class new file mode 100644 index 0000000..a076e88 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/AbstractMastersSlavesListener.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/FailoverProxy.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/FailoverProxy.class new file mode 100644 index 0000000..9fc59d9 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/FailoverProxy.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/HandleErrorResult.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/HandleErrorResult.class new file mode 100644 index 0000000..414f785 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/HandleErrorResult.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/Listener.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/Listener.class new file mode 100644 index 0000000..11cce3c Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/Listener.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/AuroraListener.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/AuroraListener.class new file mode 100644 index 0000000..edbe5d3 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/AuroraListener.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersFailoverListener.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersFailoverListener.class new file mode 100644 index 0000000..b8faf9e Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersFailoverListener.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener$1.class new file mode 100644 index 0000000..a6d9a80 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener$2.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener$2.class new file mode 100644 index 0000000..8cce859 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener$2.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener.class new file mode 100644 index 0000000..a83bd2f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/impl/MastersSlavesListener.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/ConnectionValidator$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/ConnectionValidator$1.class new file mode 100644 index 0000000..af497fa Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/ConnectionValidator$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/ConnectionValidator$ListenerChecker.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/ConnectionValidator$ListenerChecker.class new file mode 100644 index 0000000..da6981c Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/ConnectionValidator$ListenerChecker.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/ConnectionValidator.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/ConnectionValidator.class new file mode 100644 index 0000000..f5da19d Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/ConnectionValidator.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/FailoverLoop.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/FailoverLoop.class new file mode 100644 index 0000000..30e65c0 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/FailoverLoop.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/TerminatableRunnable.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/TerminatableRunnable.class new file mode 100644 index 0000000..2fa7ee5 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/thread/TerminatableRunnable.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/tools/SearchFilter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/tools/SearchFilter.class new file mode 100644 index 0000000..31b46b4 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/failover/tools/SearchFilter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/Logger.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/Logger.class new file mode 100644 index 0000000..6ce2dff Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/Logger.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/LoggerFactory.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/LoggerFactory.class new file mode 100644 index 0000000..0654727 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/LoggerFactory.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/NoLogger.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/NoLogger.class new file mode 100644 index 0000000..34e371a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/NoLogger.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/ProtocolLoggingProxy.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/ProtocolLoggingProxy.class new file mode 100644 index 0000000..79174d3 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/ProtocolLoggingProxy.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/Slf4JLogger.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/Slf4JLogger.class new file mode 100644 index 0000000..a9427c2 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/logging/Slf4JLogger.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComExecute.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComExecute.class new file mode 100644 index 0000000..9448118 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComExecute.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComStmtExecute.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComStmtExecute.class new file mode 100644 index 0000000..9d19f28 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComStmtExecute.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComStmtLongData.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComStmtLongData.class new file mode 100644 index 0000000..c2bfb9a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComStmtLongData.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComStmtPrepare.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComStmtPrepare.class new file mode 100644 index 0000000..c16665e Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/ComStmtPrepare.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/Packet.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/Packet.class new file mode 100644 index 0000000..d91f1a5 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/Packet.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/ColumnInformation$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/ColumnInformation$1.class new file mode 100644 index 0000000..3177417 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/ColumnInformation$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/ColumnInformation.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/ColumnInformation.class new file mode 100644 index 0000000..310f24b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/ColumnInformation.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/BigDecimalParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/BigDecimalParameter.class new file mode 100644 index 0000000..7ad0db3 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/BigDecimalParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ByteArrayParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ByteArrayParameter.class new file mode 100644 index 0000000..d36c1e5 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ByteArrayParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ByteParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ByteParameter.class new file mode 100644 index 0000000..37efafa Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ByteParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/DateParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/DateParameter.class new file mode 100644 index 0000000..6c9094b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/DateParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/DoubleParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/DoubleParameter.class new file mode 100644 index 0000000..0c08e70 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/DoubleParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/FloatParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/FloatParameter.class new file mode 100644 index 0000000..ca74106 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/FloatParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/IntParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/IntParameter.class new file mode 100644 index 0000000..47a5099 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/IntParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/LongParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/LongParameter.class new file mode 100644 index 0000000..82ae627 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/LongParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/NullParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/NullParameter.class new file mode 100644 index 0000000..16b3f2b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/NullParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ParameterHolder.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ParameterHolder.class new file mode 100644 index 0000000..1fb9c16 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ParameterHolder.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ParameterWriter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ParameterWriter.class new file mode 100644 index 0000000..1e824be Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ParameterWriter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ReaderParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ReaderParameter.class new file mode 100644 index 0000000..ea78a4c Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ReaderParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/SerializableParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/SerializableParameter.class new file mode 100644 index 0000000..91c90bd Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/SerializableParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ShortParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ShortParameter.class new file mode 100644 index 0000000..78a6fbb Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/ShortParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/StreamParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/StreamParameter.class new file mode 100644 index 0000000..d6243de Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/StreamParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/StringParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/StringParameter.class new file mode 100644 index 0000000..6e6d252 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/StringParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/TimeParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/TimeParameter.class new file mode 100644 index 0000000..412091f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/TimeParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/TimestampParameter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/TimestampParameter.class new file mode 100644 index 0000000..2f777da Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/dao/parameters/TimestampParameter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/read/ReadInitialConnectPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/read/ReadInitialConnectPacket.class new file mode 100644 index 0000000..2350b91 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/read/ReadInitialConnectPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/read/ReadPacketFetcher.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/read/ReadPacketFetcher.class new file mode 100644 index 0000000..ac25bc3 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/read/ReadPacketFetcher.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/BinaryRowPacket$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/BinaryRowPacket$1.class new file mode 100644 index 0000000..2f38e2f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/BinaryRowPacket$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/BinaryRowPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/BinaryRowPacket.class new file mode 100644 index 0000000..06b44ed Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/BinaryRowPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/EndOfFilePacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/EndOfFilePacket.class new file mode 100644 index 0000000..7546920 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/EndOfFilePacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/ErrorPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/ErrorPacket.class new file mode 100644 index 0000000..d7d3e69 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/ErrorPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/OkPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/OkPacket.class new file mode 100644 index 0000000..b720915 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/OkPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/RowPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/RowPacket.class new file mode 100644 index 0000000..48da776 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/RowPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/TextRowPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/TextRowPacket.class new file mode 100644 index 0000000..fdb5457 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/result/TextRowPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/AbstractAuthSwitchSendResponsePacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/AbstractAuthSwitchSendResponsePacket.class new file mode 100644 index 0000000..b266b9a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/AbstractAuthSwitchSendResponsePacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/InterfaceAuthSwitchSendResponsePacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/InterfaceAuthSwitchSendResponsePacket.class new file mode 100644 index 0000000..1d7f6c9 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/InterfaceAuthSwitchSendResponsePacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/InterfaceSendPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/InterfaceSendPacket.class new file mode 100644 index 0000000..16d1327 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/InterfaceSendPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendChangeDbPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendChangeDbPacket.class new file mode 100644 index 0000000..1cc8eef Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendChangeDbPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendClearPasswordAuthPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendClearPasswordAuthPacket.class new file mode 100644 index 0000000..3a8135f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendClearPasswordAuthPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendClosePacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendClosePacket.class new file mode 100644 index 0000000..fb2432c Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendClosePacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendGssApiAuthPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendGssApiAuthPacket.class new file mode 100644 index 0000000..4daf5f2 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendGssApiAuthPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendHandshakeResponsePacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendHandshakeResponsePacket.class new file mode 100644 index 0000000..d19a25e Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendHandshakeResponsePacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendNativePasswordAuthPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendNativePasswordAuthPacket.class new file mode 100644 index 0000000..877ed61 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendNativePasswordAuthPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendOldPasswordAuthPacket$RandStruct.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendOldPasswordAuthPacket$RandStruct.class new file mode 100644 index 0000000..a050be8 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendOldPasswordAuthPacket$RandStruct.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendOldPasswordAuthPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendOldPasswordAuthPacket.class new file mode 100644 index 0000000..7b029e0 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendOldPasswordAuthPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendPamAuthPacket$RequestFocusListener.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendPamAuthPacket$RequestFocusListener.class new file mode 100644 index 0000000..34c8b1b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendPamAuthPacket$RequestFocusListener.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendPamAuthPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendPamAuthPacket.class new file mode 100644 index 0000000..f5a5ade Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendPamAuthPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendPingPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendPingPacket.class new file mode 100644 index 0000000..26a59d8 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendPingPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendSslConnectionRequestPacket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendSslConnectionRequestPacket.class new file mode 100644 index 0000000..024465b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/SendSslConnectionRequestPacket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/GssapiAuth.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/GssapiAuth.class new file mode 100644 index 0000000..a89d38a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/GssapiAuth.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/StandardGssapiAuthentication$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/StandardGssapiAuthentication$1.class new file mode 100644 index 0000000..8dd3dce Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/StandardGssapiAuthentication$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/StandardGssapiAuthentication.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/StandardGssapiAuthentication.class new file mode 100644 index 0000000..fde79ea Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/StandardGssapiAuthentication.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/WindowsNativeSspiAuthentication.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/WindowsNativeSspiAuthentication.class new file mode 100644 index 0000000..74fc959 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/packet/send/gssapi/WindowsNativeSspiAuthentication.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractConnectProtocol.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractConnectProtocol.class new file mode 100644 index 0000000..1262cd4 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractConnectProtocol.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractMultiSend.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractMultiSend.class new file mode 100644 index 0000000..5b97b57 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractMultiSend.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol$1.class new file mode 100644 index 0000000..e459424 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol$2.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol$2.class new file mode 100644 index 0000000..7b13bca Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol$2.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol$3.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol$3.class new file mode 100644 index 0000000..4445b02 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol$3.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol.class new file mode 100644 index 0000000..5cad9c9 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AbstractQueryProtocol.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AsyncMultiRead.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AsyncMultiRead.class new file mode 100644 index 0000000..3774401 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AsyncMultiRead.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AsyncMultiReadResult.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AsyncMultiReadResult.class new file mode 100644 index 0000000..41f0e48 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AsyncMultiReadResult.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AuroraProtocol.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AuroraProtocol.class new file mode 100644 index 0000000..5e48221 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/AuroraProtocol.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/MasterProtocol.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/MasterProtocol.class new file mode 100644 index 0000000..e3d4320 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/MasterProtocol.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/MastersSlavesProtocol.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/MastersSlavesProtocol.class new file mode 100644 index 0000000..a343e07 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/MastersSlavesProtocol.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/Protocol.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/Protocol.class new file mode 100644 index 0000000..a09d608 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/Protocol.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/AuthenticationProviderHolder$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/AuthenticationProviderHolder$1.class new file mode 100644 index 0000000..6a7d924 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/AuthenticationProviderHolder$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/AuthenticationProviderHolder$AuthenticationProvider.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/AuthenticationProviderHolder$AuthenticationProvider.class new file mode 100644 index 0000000..0277a1e Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/AuthenticationProviderHolder$AuthenticationProvider.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/AuthenticationProviderHolder.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/AuthenticationProviderHolder.class new file mode 100644 index 0000000..c6a5b34 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/AuthenticationProviderHolder.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/DefaultAuthenticationProvider.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/DefaultAuthenticationProvider.class new file mode 100644 index 0000000..0a0c8bd Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/authentication/DefaultAuthenticationProvider.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/tls/MariaDbX509KeyManager.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/tls/MariaDbX509KeyManager.class new file mode 100644 index 0000000..04bfc1a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/tls/MariaDbX509KeyManager.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/tls/MariaDbX509TrustManager.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/tls/MariaDbX509TrustManager.class new file mode 100644 index 0000000..e2f4371 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/protocol/tls/MariaDbX509TrustManager.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformation.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformation.class new file mode 100644 index 0000000..d721161 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformation.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformationMultiple.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformationMultiple.class new file mode 100644 index 0000000..b439a9b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformationMultiple.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformationRewrite.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformationRewrite.class new file mode 100644 index 0000000..689d03a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformationRewrite.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformationSingle.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformationSingle.class new file mode 100644 index 0000000..3388a6e Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/CmdInformationSingle.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/ColumnNameMap.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/ColumnNameMap.class new file mode 100644 index 0000000..16584d3 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/ColumnNameMap.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/Results.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/Results.class new file mode 100644 index 0000000..b348a88 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/Results.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/ResultsRewrite.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/ResultsRewrite.class new file mode 100644 index 0000000..bfa7ccb Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/ResultsRewrite.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet$1.class new file mode 100644 index 0000000..106db8a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet$2.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet$2.class new file mode 100644 index 0000000..d8c2123 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet$2.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet.class new file mode 100644 index 0000000..9005332 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/NamedPipeSocket$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/NamedPipeSocket$1.class new file mode 100644 index 0000000..e6bea0b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/NamedPipeSocket$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/NamedPipeSocket$2.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/NamedPipeSocket$2.class new file mode 100644 index 0000000..859401c Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/NamedPipeSocket$2.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/NamedPipeSocket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/NamedPipeSocket.class new file mode 100644 index 0000000..df7c3e0 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/NamedPipeSocket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$1.class new file mode 100644 index 0000000..1107978 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$Advapi32$SECURITY_ATTRIBUTES.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$Advapi32$SECURITY_ATTRIBUTES.class new file mode 100644 index 0000000..44a2408 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$Advapi32$SECURITY_ATTRIBUTES.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$Advapi32.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$Advapi32.class new file mode 100644 index 0000000..6bb0ef9 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$Advapi32.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$Kernel32.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$Kernel32.class new file mode 100644 index 0000000..147ffad Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$Kernel32.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$SharedMemoryInputStream.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$SharedMemoryInputStream.class new file mode 100644 index 0000000..2bbf22d Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$SharedMemoryInputStream.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$SharedMemoryOutputStream.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$SharedMemoryOutputStream.class new file mode 100644 index 0000000..af60bfc Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket$SharedMemoryOutputStream.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket.class new file mode 100644 index 0000000..18fb2f0 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/SharedMemorySocket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket$SockAddr.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket$SockAddr.class new file mode 100644 index 0000000..e5e818e Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket$SockAddr.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket$UnixSocketInputStream.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket$UnixSocketInputStream.class new file mode 100644 index 0000000..0559dee Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket$UnixSocketInputStream.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket$UnixSocketOutputStream.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket$UnixSocketOutputStream.class new file mode 100644 index 0000000..54c3bfa Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket$UnixSocketOutputStream.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket.class new file mode 100644 index 0000000..3269d24 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/socket/UnixDomainSocket.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/DecompressInputStream.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/DecompressInputStream.class new file mode 100644 index 0000000..84a72a8 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/DecompressInputStream.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/MariaDbBufferedInputStream.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/MariaDbBufferedInputStream.class new file mode 100644 index 0000000..0ba7cb8 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/MariaDbBufferedInputStream.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/MariaDbInputStream.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/MariaDbInputStream.class new file mode 100644 index 0000000..25f857e Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/MariaDbInputStream.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/MaxAllowedPacketException.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/MaxAllowedPacketException.class new file mode 100644 index 0000000..14f20d5 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/MaxAllowedPacketException.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/PacketOutputStream.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/PacketOutputStream.class new file mode 100644 index 0000000..6905ba8 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/PacketOutputStream.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/PrepareException.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/PrepareException.class new file mode 100644 index 0000000..b125852 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/PrepareException.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/PrepareSqlException.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/PrepareSqlException.class new file mode 100644 index 0000000..235c014 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/stream/PrepareSqlException.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/BulkStatus.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/BulkStatus.class new file mode 100644 index 0000000..e170806 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/BulkStatus.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/CallableStatementCache.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/CallableStatementCache.class new file mode 100644 index 0000000..3a67225 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/CallableStatementCache.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ClientPrepareStatementCache.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ClientPrepareStatementCache.class new file mode 100644 index 0000000..4abf456 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ClientPrepareStatementCache.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/DefaultOptions.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/DefaultOptions.class new file mode 100644 index 0000000..0700c0d Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/DefaultOptions.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ExceptionCode.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ExceptionCode.class new file mode 100644 index 0000000..d2b3d2a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ExceptionCode.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ExceptionMapper$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ExceptionMapper$1.class new file mode 100644 index 0000000..d32a4f3 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ExceptionMapper$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ExceptionMapper.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ExceptionMapper.class new file mode 100644 index 0000000..be09a12 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ExceptionMapper.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/Options.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/Options.class new file mode 100644 index 0000000..0ed3a19 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/Options.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$1.class new file mode 100644 index 0000000..fb4db29 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$2.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$2.class new file mode 100644 index 0000000..a99f1f9 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$2.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$3.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$3.class new file mode 100644 index 0000000..f43a92f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$3.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$CLibrary.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$CLibrary.class new file mode 100644 index 0000000..2774d1a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$CLibrary.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$PidRequestInter.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$PidRequestInter.class new file mode 100644 index 0000000..8d966f6 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory$PidRequestInter.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory.class new file mode 100644 index 0000000..af4e54a Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/PidFactory.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ServerPrepareStatementCache.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ServerPrepareStatementCache.class new file mode 100644 index 0000000..92229b3 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/ServerPrepareStatementCache.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/SqlStates.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/SqlStates.class new file mode 100644 index 0000000..bf63e4e Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/SqlStates.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/Utils$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/Utils$1.class new file mode 100644 index 0000000..c8db95b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/Utils$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/Utils.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/Utils.class new file mode 100644 index 0000000..e73209c Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/Utils.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/buffer/Buffer.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/buffer/Buffer.class new file mode 100644 index 0000000..c0673a0 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/buffer/Buffer.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/ColumnFlags.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/ColumnFlags.class new file mode 100644 index 0000000..5a2b4fa Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/ColumnFlags.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/HaMode.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/HaMode.class new file mode 100644 index 0000000..6a39a85 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/HaMode.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/ParameterConstant.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/ParameterConstant.class new file mode 100644 index 0000000..87a8388 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/ParameterConstant.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/ServerStatus.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/ServerStatus.class new file mode 100644 index 0000000..3721a5d Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/ServerStatus.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/Version.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/Version.class new file mode 100644 index 0000000..3ec4e3f Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/constant/Version.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/CallableStatementCacheKey.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/CallableStatementCacheKey.class new file mode 100644 index 0000000..a4631be Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/CallableStatementCacheKey.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ClientPrepareResult$LexState.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ClientPrepareResult$LexState.class new file mode 100644 index 0000000..eb08bca Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ClientPrepareResult$LexState.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ClientPrepareResult.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ClientPrepareResult.class new file mode 100644 index 0000000..c03bae9 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ClientPrepareResult.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/CloneableCallableStatement.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/CloneableCallableStatement.class new file mode 100644 index 0000000..2443ebf Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/CloneableCallableStatement.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/Identifier.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/Identifier.class new file mode 100644 index 0000000..0886f35 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/Identifier.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/PrepareResult.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/PrepareResult.class new file mode 100644 index 0000000..0963786 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/PrepareResult.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/PrepareStatementCacheKey.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/PrepareStatementCacheKey.class new file mode 100644 index 0000000..a857e50 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/PrepareStatementCacheKey.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/QueryException.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/QueryException.class new file mode 100644 index 0000000..668e579 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/QueryException.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ReconnectDuringTransactionException.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ReconnectDuringTransactionException.class new file mode 100644 index 0000000..8887adc Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ReconnectDuringTransactionException.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ServerPrepareResult.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ServerPrepareResult.class new file mode 100644 index 0000000..3c5211b Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/dao/ServerPrepareResult.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/DynamicSizedSchedulerImpl.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/DynamicSizedSchedulerImpl.class new file mode 100644 index 0000000..e59493c Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/DynamicSizedSchedulerImpl.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/DynamicSizedSchedulerInterface.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/DynamicSizedSchedulerInterface.class new file mode 100644 index 0000000..df6bcba Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/DynamicSizedSchedulerInterface.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/FixedSizedSchedulerImpl.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/FixedSizedSchedulerImpl.class new file mode 100644 index 0000000..ca19718 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/FixedSizedSchedulerImpl.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/MariaDbThreadFactory.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/MariaDbThreadFactory.class new file mode 100644 index 0000000..08218f6 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/MariaDbThreadFactory.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder$1.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder$1.class new file mode 100644 index 0000000..7eb0180 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder$1.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder$SchedulerProvider.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder$SchedulerProvider.class new file mode 100644 index 0000000..176e9f9 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder$SchedulerProvider.class differ diff --git a/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder.class b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder.class new file mode 100644 index 0000000..4d218b8 Binary files /dev/null and b/PROJETIHM_FA/src/org/mariadb/jdbc/internal/util/scheduler/SchedulerServiceProviderHolder.class differ