501f410fca8a2ba76a474d47bb31955210f58f6b
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / specimen / Locality.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:06
22 */
23 @Entity
24 public class Locality extends VersionableEntity {
25 static Logger logger = Logger.getLogger(Locality.class);
26
27 private String name;
28 private Region region;
29
30 public String getName(){
31 return name;
32 }
33
34 public Region getRegion(){
35 return region;
36 }
37
38 /**
39 *
40 * @param newVal
41 */
42 public void setName(String newVal){
43 name = newVal;
44 }
45
46 /**
47 *
48 * @param newVal
49 */
50 public void setRegion(Region newVal){
51 region = newVal;
52 }
53
54 }