Project

General

Profile

« Previous | Next » 

Revision 39076

reformatted code

View differences:

Person.java
8 8
 * Created by antleb on 3/4/15.
9 9
 */
10 10
public class Person implements IsSerializable {
11
    private String id;
11
	private String id;
12 12
	private String email;
13 13
	private String name;
14 14
	private String lastname;
......
17 17
	private String telephone;
18 18
	private boolean active;
19 19
	private String orcidId;
20
    private Publisher publisher;
20
	private Publisher publisher;
21 21
	private List<Project> coordinatedProjects;
22 22
	private List<Affiliation> affiliations;
23 23
	private List<PersonRole> roles;
24
    private String source;
24
	private String source;
25 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
        this.id = 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
    }
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;
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 42

  
43
    public Person() {
43
	public Person() {
44 44
	}
45 45

  
46
    public Person(String id) {
47
        this.id = id;
48
    }
46
	public Person(String id) {
47
		this.id = id;
48
	}
49 49

  
50
    public String getId() {
51
        return id;
52
    }
50
	public String getId() {
51
		return id;
52
	}
53 53

  
54
    public void setId(String id) {
55
        this.id = id;
56
    }
54
	public void setId(String id) {
55
		this.id = id;
56
	}
57 57

  
58
    public String getEmail() {
58
	public String getEmail() {
59 59
		return email;
60 60
	}
61 61

  
......
143 143
		this.roles = roles;
144 144
	}
145 145

  
146
    public String getSource() {
147
        return source;
148
    }
146
	public String getSource() {
147
		return source;
148
	}
149 149

  
150
    public void setSource(String source) {
151
        this.source = source;
152
    }
150
	public void setSource(String source) {
151
		this.source = source;
152
	}
153 153

  
154
    public Publisher getPublisher() {
155
        return publisher;
156
    }
154
	public Publisher getPublisher() {
155
		return publisher;
156
	}
157 157

  
158
    public void setPublisher(Publisher publisher) {
159
        this.publisher = publisher;
160
    }
158
	public void setPublisher(Publisher publisher) {
159
		this.publisher = publisher;
160
	}
161 161
}

Also available in: Unified diff