-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCommunityMember.java
More file actions
55 lines (36 loc) · 1.16 KB
/
CommunityMember.java
File metadata and controls
55 lines (36 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import java.sql.*;
import java.util.Scanner;
public class CommunityMember extends User {
private String volunteerStatus;
Scanner sc = new Scanner(System.in);
DBConnect connect = new DBConnect();
public static Connection conn = null;
Statement st = null;
static final String URL = "jdbc:mysql://192.168.72.21:3306/";
//User log in for DB
static final String USER = "TheHub";
static final String PASS = "$TheHub2023$";
//constructor
public CommunityMember() {
}
// Used to create private events
public void createPrivateEvent(String EventName){
//possibly importing some functionality from the Event Class
}
public void checkCalendar() {
//this will be code to see the calendar, unsure of how to implement this. Waiting to see how events class is put together.
}
/*
//set volunteer status
public void setVolunteerStatus(boolean volunteer) {
this.volunteerStatus = volunteer;
}
// get volunteer status
public boolean getVolunteerStatus() {
return this.volunteerStatus;
}
// static method to get static count value
/* public static int getComMemberCount() {
return comMemberCount;
}*/
}