update projects.

This commit is contained in:
2026-02-11 20:21:12 -05:00
parent e3c1add817
commit 7750cf3b83
17 changed files with 534 additions and 8 deletions
+49
View File
@@ -17,3 +17,52 @@ Tests with ASPECTJ:
/ or on linux:
sh ./gradlew edu.addressbook.view:run
AspectJ Referee component will call the Game plays.
schema
CREATE TABLE contact (
contact_id NUMBER PRIMARY KEY,
first_name TEXT,
last_name TEXT
);
CREATE TABLE phone (
contact_id NUMBER FOREIGN KEY,
phone_no TEXT
);
CREATE TABLE emailaddress (
contact_id NUMBER FOREIGN KEY,
email TEXT
);
CREATE TABLE address (
contact_id NUMBER FOREIGN KEY,
street TEXT,
city TEXT,
state TEXT,
zip TEXT
);
CREATE TABLE note (
contact_id NUMBER FOREIGN KEY,
note TEXT
);
CREATE TABLE activity (
activity_id NUMBER FOREIGN KEY,
activity_type TEXT,
activity_note TEXT
);
CREATE TABLE contact_activity (
activity_id NUMBER FOREIGN KEY,
contact_id NUMBER FOREIGN KEY
);
CREATE TABLE friends (
contact_id NUMBER FOREIGN KEY,
friend_contact_id NUMBER FORIEGN KEY
);