Project

General

Profile

Download (1.17 KB) Statistics
| Branch: | Tag: | Revision:
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.name;
11

    
12

    
13
import org.apache.log4j.Logger;
14

    
15
import java.util.*;
16
import javax.persistence.*;
17

    
18
/**
19
 * use name attribute for the entire virus name!  examples see ICTVdb: http://www.
20
 * ncbi.nlm.nih.gov/ICTVdb/Ictv/vn_indxA.htm
21
 * @author m.doering
22
 * @version 1.0
23
 * @created 08-Nov-2007 13:07:02
24
 */
25
@Entity
26
public class ViralName extends TaxonNameBase {
27
	static Logger logger = Logger.getLogger(ViralName.class);
28

    
29
	//The accepted acronym for the Virus, e.g. PCV for Peanut Clump Virus
30
	private String acronym;
31

    
32
	public ViralName(Rank rank) {
33
		super(rank);
34
		// TODO Auto-generated constructor stub
35
	}
36

    
37
	
38
	public String getAcronym(){
39
		return this.acronym;
40
	}
41
	public void setAcronym(String acronym){
42
		this.acronym = acronym;
43
	}
44

    
45
	@Override
46
	public String generateTitle(){
47
		return "";
48
	}
49

    
50
	@Override
51
	@Transient
52
	public boolean isCodeCompliant() {
53
		// TODO Auto-generated method stub
54
		return false;
55
	}
56
}
(17-17/18)