-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserlist.java
More file actions
105 lines (84 loc) · 2.03 KB
/
Userlist.java
File metadata and controls
105 lines (84 loc) · 2.03 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/*
* 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 ecommerce.ea;
public class Userlist {
private int id,age;
private String name,username,email,password,address;
Userlist(int ID, String NAME, int AGE, String ADDRESS, String USERNAME, String EMAIL, String PASSWORD)
{
this.id = ID;
this.name = NAME;
this.age = AGE;
this.address = ADDRESS;
this.username = USERNAME;
this.email = EMAIL;
this.password = PASSWORD;
}
//SETTERS
public int setID(int ID)
{
this.id = ID;
return this.id;
}
public String setNAME(String NAME)
{
this.name = NAME;
return this.name;
}
public int setAGE(int AGE)
{
this.age = AGE;
return this.age;
}
public String setADDRESS(String ADDRESS)
{
this.address = ADDRESS;
return this.address;
}
public String setUSERNAME(String USERNAME)
{
this.username = USERNAME;
return this.username;
}
public String setEMAIL(String EMAIL)
{
this.email = EMAIL;
return this.email;
}
public String setPASSWORD(String PASSWORD)
{
this.password = PASSWORD;
return this.password;
}
//GETTERS
public int getID()
{
return this.id;
}
public String getNAME()
{
return this.name;
}
public int getAGE()
{
return this.age;
}
public String getADDRESS()
{
return this.address;
}
public String getUSERNAME()
{
return this.username;
}
public String getEMAIL()
{
return this.email;
}
public String getPASSWORD()
{
return this.password;
}
}