modified: bd.properties
modified: bd.script modified: bin/controleur/CtrlAccesListe.class modified: bin/controleur/CtrlLogin.class modified: bin/controleur/CtrlSaisieMembre.class new file: bin/controleur/TocToac.class modified: src/controleur/CtrlAccesListe.java modified: src/controleur/CtrlLogin.java modified: src/controleur/CtrlSaisieMembre.java new file: src/controleur/TocToac.java
This commit is contained in:
parent
fec65efd5e
commit
57a3ccddc1
@ -1,4 +1,4 @@
|
||||
#HSQL Database Engine 2.3.0
|
||||
#Sun Dec 08 14:09:00 CET 2013
|
||||
#Sun Dec 08 15:15:04 CET 2013
|
||||
version=2.3.0
|
||||
modified=no
|
||||
|
@ -36,7 +36,7 @@ SET SCHEMA PUBLIC
|
||||
CREATE MEMORY TABLE PUBLIC.MEMBRES(IDMEMBRE INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 0) NOT NULL PRIMARY KEY,NOM VARCHAR(20),PRENOM VARCHAR(20),ADRESSE VARCHAR(50),DTN DATE,NUMTEL VARCHAR(20),DROIT INTEGER,DATEADHESION DATE,PASSWORD VARCHAR(20))
|
||||
ALTER TABLE PUBLIC.MEMBRES ALTER COLUMN IDMEMBRE RESTART WITH 0
|
||||
CREATE MEMORY TABLE PUBLIC.EVENEMENTS(IDEVENEMENT INTEGER GENERATED BY DEFAULT AS IDENTITY(START WITH 0) NOT NULL PRIMARY KEY,TYPE INTEGER,DATEE DATE,LIEU VARCHAR(20))
|
||||
ALTER TABLE PUBLIC.EVENEMENTS ALTER COLUMN IDEVENEMENT RESTART WITH 12
|
||||
ALTER TABLE PUBLIC.EVENEMENTS ALTER COLUMN IDEVENEMENT RESTART WITH 17
|
||||
CREATE MEMORY TABLE PUBLIC.PARTICIPER(IDEVENEMENT INTEGER,IDMEMBRE INTEGER,ROLE INTEGER,PRIMARY KEY(IDMEMBRE,IDEVENEMENT),FOREIGN KEY(IDMEMBRE) REFERENCES PUBLIC.MEMBRES(IDMEMBRE),FOREIGN KEY(IDEVENEMENT) REFERENCES PUBLIC.EVENEMENTS(IDEVENEMENT))
|
||||
CREATE MEMORY TABLE PUBLIC.DISCIPLINES(NOMDISIPLINE VARCHAR(20) PRIMARY KEY,IDEVENEMENT INTEGER,FOREIGN KEY(IDEVENEMENT) REFERENCES PUBLIC.EVENEMENTS(IDEVENEMENT))
|
||||
ALTER SEQUENCE SYSTEM_LOBS.LOB_ID RESTART WITH 1
|
||||
@ -62,3 +62,8 @@ INSERT INTO EVENEMENTS VALUES(8,1,'2012-11-20','toulouse')
|
||||
INSERT INTO EVENEMENTS VALUES(9,1,'2012-11-20','toulouse')
|
||||
INSERT INTO EVENEMENTS VALUES(10,1,'2012-11-20','toulouse')
|
||||
INSERT INTO EVENEMENTS VALUES(11,0,'2013-10-12','lol')
|
||||
INSERT INTO EVENEMENTS VALUES(12,1,'2012-11-20','toulouse')
|
||||
INSERT INTO EVENEMENTS VALUES(13,1,'2012-11-20','toulouse')
|
||||
INSERT INTO EVENEMENTS VALUES(14,1,'2012-11-20','toulouse')
|
||||
INSERT INTO EVENEMENTS VALUES(15,1,'2012-11-20','toulouse')
|
||||
INSERT INTO EVENEMENTS VALUES(16,1,'2012-11-20','toulouse')
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/controleur/TocToac.class
Normal file
BIN
bin/controleur/TocToac.class
Normal file
Binary file not shown.
@ -6,6 +6,7 @@ import java.sql.SQLException;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
|
||||
import vue.AfficherListeMembre;
|
||||
import vue.Planning;
|
||||
|
||||
import modele.Evenements;
|
||||
@ -13,7 +14,9 @@ import modele.Evenements;
|
||||
|
||||
public class CtrlAccesListe {
|
||||
|
||||
public static void main(String[] args) throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException{
|
||||
|
||||
|
||||
public void ctrl() throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException{
|
||||
Evenements e;
|
||||
ResultSet r;
|
||||
|
||||
@ -55,6 +58,7 @@ public class CtrlAccesListe {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -4,8 +4,9 @@ public class CtrlLogin {
|
||||
//attributs
|
||||
|
||||
//Constructeurs
|
||||
public CtrlLogin (){};
|
||||
|
||||
//méthodes
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,14 +1,15 @@
|
||||
package controleur;
|
||||
|
||||
import vue.AfficherListeMembre;
|
||||
import vue.AjoutPersonne;
|
||||
|
||||
public class CtrlSaisieMembre {
|
||||
public static void main(String[] args)
|
||||
public void ctrl()
|
||||
{
|
||||
AjoutPersonne fen = new AjoutPersonne("Ajout nouveau membre", 500, 500);
|
||||
|
||||
fen.setVisible(true);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
16
src/controleur/TocToac.java
Normal file
16
src/controleur/TocToac.java
Normal file
@ -0,0 +1,16 @@
|
||||
package controleur;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
public class TocToac {
|
||||
public static void main(String[] args) throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException
|
||||
{
|
||||
CtrlAccesListe l = new CtrlAccesListe();
|
||||
l.ctrl();
|
||||
|
||||
CtrlSaisieMembre m = new CtrlSaisieMembre();
|
||||
m.ctrl();
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user