Compare commits
8 Commits
Emile.java
...
09ac92b6b2
Author | SHA1 | Date | |
---|---|---|---|
|
09ac92b6b2 | ||
|
d83244bf08 | ||
5d2faf0b49 | |||
|
c26fd27d41 | ||
5abb621a8e | |||
b0b7e5a46a | |||
984038f81a | |||
|
05f1473fb9 |
@@ -33,9 +33,11 @@ dist.javadoc.dir=${dist.dir}/javadoc
|
|||||||
dist.jlink.dir=${dist.dir}/jlink
|
dist.jlink.dir=${dist.dir}/jlink
|
||||||
dist.jlink.output=${dist.jlink.dir}/GSBapplication
|
dist.jlink.output=${dist.jlink.dir}/GSBapplication
|
||||||
excludes=
|
excludes=
|
||||||
|
file.reference.mysql-connector-j-8.3.0.jar=C:\\Users\\medhi.rodrigues\\Documents\\NetBeansProjects\\Driver\\mysql-connector-j-8.3.0.jar
|
||||||
includes=**
|
includes=**
|
||||||
jar.compress=false
|
jar.compress=false
|
||||||
javac.classpath=
|
javac.classpath=\
|
||||||
|
${file.reference.mysql-connector-j-8.3.0.jar}
|
||||||
# Space-separated list of extra javac options
|
# Space-separated list of extra javac options
|
||||||
javac.compilerargs=
|
javac.compilerargs=
|
||||||
javac.deprecation=false
|
javac.deprecation=false
|
||||||
|
32
GSBapplication/src/Metier/Observation.java
Normal file
32
GSBapplication/src/Metier/Observation.java
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
|
||||||
|
package Metier;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author medhi.rodrigues
|
||||||
|
*/
|
||||||
|
public class Observation {
|
||||||
|
/**
|
||||||
|
* observation = l'observation d'un m<>dicament
|
||||||
|
*/
|
||||||
|
private String observation;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//LES GUETTEUR
|
||||||
|
/**
|
||||||
|
* @return the observation
|
||||||
|
*/
|
||||||
|
public String getObservation() {
|
||||||
|
return observation;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
38
GSBapplication/src/Metier/famille.java
Normal file
38
GSBapplication/src/Metier/famille.java
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
package Metier;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author medhi.rodrigues
|
||||||
|
*/
|
||||||
|
public class famille {
|
||||||
|
/**
|
||||||
|
* l'identifiant permettant de connaitre la famille du m<>dicament
|
||||||
|
*/
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/** LE CONSTRUCTEUR DEFAULT
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
public famille(String id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
// LES SETTEUR
|
||||||
|
/**
|
||||||
|
* @return the id
|
||||||
|
*/
|
||||||
|
public String getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "famille{" + "id=" + id + '}';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
75
GSBapplication/src/Metier/praticien.java
Normal file
75
GSBapplication/src/Metier/praticien.java
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
package Metier;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author medhi.rodrigues
|
||||||
|
*/
|
||||||
|
public class praticien {
|
||||||
|
/**
|
||||||
|
* id = L'identifiant du praticien
|
||||||
|
* nom = le nom du praticien
|
||||||
|
* prenom = le prenom du praticien
|
||||||
|
* type_praticien = le type de praticien (ex : M<>decine de Ville)
|
||||||
|
*/
|
||||||
|
private int id;
|
||||||
|
private String nom;
|
||||||
|
private String prenom;
|
||||||
|
private String type_praticien;
|
||||||
|
|
||||||
|
|
||||||
|
/** LE CONSTRUCTEUR DEFAULT
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @param nom
|
||||||
|
* @param prenom
|
||||||
|
* @param type_praticien
|
||||||
|
*/
|
||||||
|
public praticien(int id, String nom, String prenom, String type_praticien) {
|
||||||
|
this.id = id;
|
||||||
|
this.nom = nom;
|
||||||
|
this.prenom = prenom;
|
||||||
|
this.type_praticien = type_praticien;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//LES GETTEUR
|
||||||
|
/**
|
||||||
|
* @return the id
|
||||||
|
*/
|
||||||
|
public int getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the nom
|
||||||
|
*/
|
||||||
|
public String getNom() {
|
||||||
|
return nom;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the prenom
|
||||||
|
*/
|
||||||
|
public String getPrenom() {
|
||||||
|
return prenom;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the type_praticien
|
||||||
|
*/
|
||||||
|
public String getType_praticien() {
|
||||||
|
return type_praticien;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "Praticien{" + "id=" + id + ", nom=" + nom + ", prenom=" + prenom + ", type_praticien=" + type_praticien + '}';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
68
GSBapplication/src/Metier/visiteur_medicaux.java
Normal file
68
GSBapplication/src/Metier/visiteur_medicaux.java
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
package Metier;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author medhi.rodrigues
|
||||||
|
*/
|
||||||
|
public class visiteur_medicaux {
|
||||||
|
/**
|
||||||
|
* id = l'identifiant du visiteur
|
||||||
|
* nom = le nom du visiteur
|
||||||
|
* prenom = le prenom du visiteur
|
||||||
|
* region = la region du visiteur
|
||||||
|
*/
|
||||||
|
private int id;
|
||||||
|
private String nom;
|
||||||
|
private String prenom;
|
||||||
|
private String region;
|
||||||
|
|
||||||
|
/** LE CONSTRUCTEUR DEFAULT
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @param nom
|
||||||
|
* @param prenom
|
||||||
|
* @param region
|
||||||
|
*/
|
||||||
|
public visiteur_medicaux(int id, String nom, String prenom, String region) {
|
||||||
|
this.id = id;
|
||||||
|
this.nom = nom;
|
||||||
|
this.prenom = prenom;
|
||||||
|
this.region = region;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//LES GETTEUR
|
||||||
|
/**
|
||||||
|
* @return the id
|
||||||
|
*/
|
||||||
|
public int getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the nom
|
||||||
|
*/
|
||||||
|
public String getNom() {
|
||||||
|
return nom;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the prenom
|
||||||
|
*/
|
||||||
|
public String getPrenom() {
|
||||||
|
return prenom;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the region
|
||||||
|
*/
|
||||||
|
public String getRegion() {
|
||||||
|
return region;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@@ -81,9 +81,6 @@
|
|||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JTextField" name="jTFIdentifiant">
|
<Component class="javax.swing.JTextField" name="jTFIdentifiant">
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" value="jTextField1"/>
|
|
||||||
</Properties>
|
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTFIdentifiantActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTFIdentifiantActionPerformed"/>
|
||||||
</Events>
|
</Events>
|
||||||
|
@@ -38,7 +38,6 @@ public class jffConnexion extends javax.swing.JFrame {
|
|||||||
|
|
||||||
jLabel1.setText("Bonjour veuillez vous identifier");
|
jLabel1.setText("Bonjour veuillez vous identifier");
|
||||||
|
|
||||||
jTFIdentifiant.setText("jTextField1");
|
|
||||||
jTFIdentifiant.addActionListener(new java.awt.event.ActionListener() {
|
jTFIdentifiant.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
jTFIdentifiantActionPerformed(evt);
|
jTFIdentifiantActionPerformed(evt);
|
||||||
|
Reference in New Issue
Block a user