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.molecular;
|
11
|
|
12
|
|
13
|
import eu.etaxonomy.cdm.model.common.VersionableEntity;
|
14
|
import org.apache.log4j.Logger;
|
15
|
|
16
|
import java.util.*;
|
17
|
import javax.persistence.*;
|
18
|
|
19
|
/**
|
20
|
* The region name of a DNA string. E.g. 18S, COX, etc.
|
21
|
* @author m.doering
|
22
|
* @version 1.0
|
23
|
* @created 08-Nov-2007 13:06:32
|
24
|
*/
|
25
|
@Entity
|
26
|
public class Locus extends VersionableEntity {
|
27
|
static Logger logger = Logger.getLogger(Locus.class);
|
28
|
private String name;
|
29
|
private String description;
|
30
|
public String getName(){
|
31
|
return this.name;
|
32
|
}
|
33
|
|
34
|
/**
|
35
|
*
|
36
|
* @param name name
|
37
|
*/
|
38
|
public void setName(String name){
|
39
|
this.name = name;
|
40
|
}
|
41
|
|
42
|
public String getDescription(){
|
43
|
return this.description;
|
44
|
}
|
45
|
|
46
|
/**
|
47
|
*
|
48
|
* @param description description
|
49
|
*/
|
50
|
public void setDescription(String description){
|
51
|
this.description = description;
|
52
|
}
|
53
|
|
54
|
}
|