Major update to the latest CDM definition 2.Nov.2007
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / agent / InstitutionalMembership.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package etaxonomy.cdm.model.agent;
11
12
13 import etaxonomy.cdm.model.common.VersionableEntity;
14 import org.apache.log4j.Logger;
15
16 /**
17 * @author m.doering
18 * @version 1.0
19 * @created 02-Nov-2007 18:14:54
20 */
21 public class InstitutionalMembership extends VersionableEntity {
22 static Logger logger = Logger.getLogger(InstitutionalMembership.class);
23
24 //Time period a person belonged to the institution
25 @Description("Time period a person belonged to the institution")
26 private TimePeriod period;
27 //Department of the institution this person was working in
28 @Description("Department of the institution this person was working in")
29 private String department;
30 //Role this person had in the institution
31 @Description("Role this person had in the institution")
32 private String role;
33 /**
34 * current institute the person belongs to
35 */
36 private Institution institute;
37
38 public Institution getInstitute(){
39 return institute;
40 }
41
42 /**
43 *
44 * @param newVal
45 */
46 public void setInstitute(Institution newVal){
47 institute = newVal;
48 }
49
50 public TimePeriod getPeriod(){
51 return period;
52 }
53
54 /**
55 *
56 * @param newVal
57 */
58 public void setPeriod(TimePeriod newVal){
59 period = newVal;
60 }
61
62 public String getDepartment(){
63 return department;
64 }
65
66 /**
67 *
68 * @param newVal
69 */
70 public void setDepartment(String newVal){
71 department = newVal;
72 }
73
74 public String getRole(){
75 return role;
76 }
77
78 /**
79 *
80 * @param newVal
81 */
82 public void setRole(String newVal){
83 role = newVal;
84 }
85
86 }