(no commit message)
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / specimen / Collection.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 eu.etaxonomy.cdm.model.specimen;
11
12
13 import eu.etaxonomy.cdm.model.common.VersionableEntity;
14 import org.apache.log4j.Logger;
15 import java.util.*;
16 import javax.persistence.*;
17
18 /**
19 * @author Andreas Mueller
20 * @version 1.0
21 * @created 15-Aug-2007 18:36:01
22 */
23 @Entity
24 public class Collection extends VersionableEntity {
25 static Logger logger = Logger.getLogger(Collection.class);
26
27 private String code;
28 private String codeStandard;
29 private String name;
30 private String townOrLocation;
31 private Institution institute;
32
33 public String getCode(){
34 return code;
35 }
36
37 public String getCodeStandard(){
38 return codeStandard;
39 }
40
41 public Institution getInstitute(){
42 return institute;
43 }
44
45 public String getName(){
46 return name;
47 }
48
49 public String getTownOrLocation(){
50 return townOrLocation;
51 }
52
53 /**
54 *
55 * @param newVal
56 */
57 public void setCode(String newVal){
58 code = newVal;
59 }
60
61 /**
62 *
63 * @param newVal
64 */
65 public void setCodeStandard(String newVal){
66 codeStandard = newVal;
67 }
68
69 /**
70 *
71 * @param newVal
72 */
73 public void setInstitute(Institution newVal){
74 institute = newVal;
75 }
76
77 /**
78 *
79 * @param newVal
80 */
81 public void setName(String newVal){
82 name = newVal;
83 }
84
85 /**
86 *
87 * @param newVal
88 */
89 public void setTownOrLocation(String newVal){
90 townOrLocation = newVal;
91 }
92
93 }