Revision 39068
Added by Antonis Lempesis over 8 years ago
Person.java | ||
---|---|---|
7 | 7 |
/** |
8 | 8 |
* Created by antleb on 3/4/15. |
9 | 9 |
*/ |
10 |
public class Person implements IsSerializable { |
|
11 |
private String id; |
|
10 |
public class Person extends GoldBean implements IsSerializable {
|
|
11 |
|
|
12 | 12 |
private String email; |
13 | 13 |
private String name; |
14 | 14 |
private String lastname; |
... | ... | |
24 | 24 |
private String source; |
25 | 25 |
|
26 | 26 |
public Person(String id, String email, String name, String lastname, String initials, String password, String telephone, boolean active, String orcidId, Publisher publisher, List<Project> coordinatedProjects, List<Affiliation> affiliations, List<PersonRole> roles, String source) { |
27 |
this.id = id;
|
|
27 |
super(id);
|
|
28 | 28 |
this.email = email; |
29 | 29 |
this.name = name; |
30 | 30 |
this.lastname = lastname; |
... | ... | |
43 | 43 |
public Person() { |
44 | 44 |
} |
45 | 45 |
|
46 |
public Person(String id) {
|
|
47 |
this.id = id;
|
|
48 |
}
|
|
46 |
public Person(String id) {
|
|
47 |
super(id);
|
|
48 |
}
|
|
49 | 49 |
|
50 |
public String getId() { |
|
51 |
return id; |
|
52 |
} |
|
53 |
|
|
54 |
public void setId(String id) { |
|
55 |
this.id = id; |
|
56 |
} |
|
57 |
|
|
58 | 50 |
public String getEmail() { |
59 | 51 |
return email; |
60 | 52 |
} |
Also available in: Unified diff
first step