Project

General

Profile

1
package eu.dnetlib.goldoa.domain;
2

    
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

    
5
import java.util.List;
6

    
7
/**
8
 * Created by antleb on 3/4/15.
9
 */
10
public class Person extends GoldBean implements IsSerializable {
11

    
12
	private String email;
13
	private String name;
14
	private String lastname;
15
	private String initials;
16
	private String password;
17
	private String telephone;
18
	private boolean active;
19
	private String orcidId;
20
    private Publisher publisher;
21
	private List<Project> coordinatedProjects;
22
	private List<Affiliation> affiliations;
23
	private List<PersonRole> roles;
24
    private String source;
25

    
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
        super(id);
28
        this.email = email;
29
        this.name = name;
30
        this.lastname = lastname;
31
        this.initials = initials;
32
        this.password = password;
33
        this.telephone = telephone;
34
        this.active = active;
35
        this.orcidId = orcidId;
36
        this.publisher = publisher;
37
        this.coordinatedProjects = coordinatedProjects;
38
        this.affiliations = affiliations;
39
        this.roles = roles;
40
        this.source = source;
41
    }
42

    
43
    public Person() {
44
	}
45

    
46
	public Person(String id) {
47
		super(id);
48
	}
49

    
50
    public String getEmail() {
51
		return email;
52
	}
53

    
54
	public void setEmail(String email) {
55
		this.email = email;
56
	}
57

    
58
	public String getName() {
59
		return name;
60
	}
61

    
62
	public void setName(String name) {
63
		this.name = name;
64
	}
65

    
66
	public String getLastname() {
67
		return lastname;
68
	}
69

    
70
	public void setLastname(String lastname) {
71
		this.lastname = lastname;
72
	}
73

    
74
	public String getInitials() {
75
		return initials;
76
	}
77

    
78
	public void setInitials(String initials) {
79
		this.initials = initials;
80
	}
81

    
82
	public String getPassword() {
83
		return password;
84
	}
85

    
86
	public void setPassword(String password) {
87
		this.password = password;
88
	}
89

    
90
	public String getTelephone() {
91
		return telephone;
92
	}
93

    
94
	public void setTelephone(String telephone) {
95
		this.telephone = telephone;
96
	}
97

    
98
	public boolean isActive() {
99
		return active;
100
	}
101

    
102
	public void setActive(boolean active) {
103
		this.active = active;
104
	}
105

    
106
	public String getOrcidId() {
107
		return orcidId;
108
	}
109

    
110
	public void setOrcidId(String orcidId) {
111
		this.orcidId = orcidId;
112
	}
113

    
114
	public List<Project> getCoordinatedProjects() {
115
		return coordinatedProjects;
116
	}
117

    
118
	public void setCoordinatedProjects(List<Project> coordinatedProjects) {
119
		this.coordinatedProjects = coordinatedProjects;
120
	}
121

    
122
	public List<Affiliation> getAffiliations() {
123
		return affiliations;
124
	}
125

    
126
	public void setAffiliations(List<Affiliation> affiliations) {
127
		this.affiliations = affiliations;
128
	}
129

    
130
	public List<PersonRole> getRoles() {
131
		return roles;
132
	}
133

    
134
	public void setRoles(List<PersonRole> roles) {
135
		this.roles = roles;
136
	}
137

    
138
    public String getSource() {
139
        return source;
140
    }
141

    
142
    public void setSource(String source) {
143
        this.source = source;
144
    }
145

    
146
    public Publisher getPublisher() {
147
        return publisher;
148
    }
149

    
150
    public void setPublisher(Publisher publisher) {
151
        this.publisher = publisher;
152
    }
153
}
(19-19/36)