Project

General

Profile

1
package eu.dnetlib.goldoa.domain;
2

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

    
5
import java.util.Date;
6

    
7
/**
8
 * Created by antleb on 3/8/15.
9
 */
10
public class Affiliation implements IsSerializable {
11
	private int id;
12
	private Person person;
13
	private Organization organization;
14
	private String department;
15
	private Date start;
16
	private Date end;
17

    
18
	public Affiliation() {
19
	}
20

    
21
	public Affiliation(int id) {
22
		this.id = id;
23
	}
24

    
25
	public Affiliation(int id, Person person, Organization organization, String department, Date start, Date end) {
26
		this.id = id;
27
		this.person = person;
28
		this.organization = organization;
29
		this.department = department;
30
		this.start = start;
31
		this.end = end;
32
	}
33

    
34
	public int getId() {
35
		return id;
36
	}
37

    
38
	public void setId(int id) {
39
		this.id = id;
40
	}
41

    
42
	public Person getPerson() {
43
		return person;
44
	}
45

    
46
	public void setPerson(Person person) {
47
		this.person = person;
48
	}
49

    
50
	public Organization getOrganization() {
51
		return organization;
52
	}
53

    
54
	public void setOrganization(Organization organization) {
55
		this.organization = organization;
56
	}
57

    
58
	public Date getStart() {
59
		return start;
60
	}
61

    
62
	public void setStart(Date start) {
63
		this.start = start;
64
	}
65

    
66
	public Date getEnd() {
67
		return end;
68
	}
69

    
70
	public void setEnd(Date end) {
71
		this.end = end;
72
	}
73

    
74
	public String getDepartment() {
75
		return department;
76
	}
77

    
78
	public void setDepartment(String department) {
79
		this.department = department;
80
	}
81

    
82
}
(1-1/39)