-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUtente.java
More file actions
44 lines (39 loc) · 727 Bytes
/
Utente.java
File metadata and controls
44 lines (39 loc) · 727 Bytes
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
public class Utente {
/**
* classe che rappresenta un utente registrato all'applicazione Worth
*/
/**
* username dell'utente
*/
private String name;
/**
* password dell'utente
*/
private String password;
public Utente() {
super();
}
/**
* metodo costruttore
* @param _name username dell'utente
* @param _password password dell'utente
*/
public Utente(String _name, String _password) {
this.name = _name;
this.password = _password;
}
/**
*
* @return stringa contenete lo username dell'utente
*/
public String getName() {
return this.name;
}
/**
*
* @return stringa contenente la password dell'utente
*/
public String getPassword() {
return this.password;
}
}