Package com.jdbc.model
Class DB2024TEAM07_User
java.lang.Object
com.jdbc.model.DB2024TEAM07_User
DB 2024 team 07 user.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Gets email.Gets location.getName()Gets name.intGets student id.Gets user id.Gets user pw.voidSets email.voidsetLocation(String location) Sets location.voidSets name.voidsetStudent_id(int student_id) Sets student id.voidsetUser_id(String user_id) Sets user id.voidsetUser_pw(String user_pw) Sets user pw.
-
Field Details
-
user_id
-
user_pw
-
name
-
student_id
private int student_id -
email
-
location
-
-
Constructor Details
-
DB2024TEAM07_User
public DB2024TEAM07_User()Instantiates a new Db 2024 team 07 user. -
DB2024TEAM07_User
public DB2024TEAM07_User(String user_id, String user_pw, String name, int student_id, String email, String location) Instantiates a new Db 2024 team 07 user.- Parameters:
user_id- the user iduser_pw- the user pwname- the namestudent_id- the student idemail- the emaillocation- the location
-
-
Method Details
-
getUser_id
Gets user id.- Returns:
- the user id
-
setUser_id
Sets user id.- Parameters:
user_id- the user id
-
getUser_pw
Gets user pw.- Returns:
- the user pw
-
setUser_pw
Sets user pw.- Parameters:
user_pw- the user pw
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the name
-
getStudent_id
public int getStudent_id()Gets student id.- Returns:
- the student id
-
setStudent_id
public void setStudent_id(int student_id) Sets student id.- Parameters:
student_id- the student id
-
getEmail
Gets email.- Returns:
- the email
-
setEmail
Sets email.- Parameters:
email- the email
-
getLocation
Gets location.- Returns:
- the location
-
setLocation
Sets location.- Parameters:
location- the location
-