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 javax.persistence.Entity;
|
14
|
//import javax.xml.bind.annotation.XmlAccessType;
|
15
|
//import javax.xml.bind.annotation.XmlAccessorType;
|
16
|
//import javax.xml.bind.annotation.XmlRootElement;
|
17
|
//import javax.xml.bind.annotation.XmlType;
|
18
|
//
|
19
|
//import org.hibernate.envers.Audited;
|
20
|
//import org.hibernate.search.annotations.Indexed;
|
21
|
//import org.springframework.beans.factory.annotation.Configurable;
|
22
|
//
|
23
|
///**
|
24
|
// * The taxon name class for viral taxa. The scientific name will be stored
|
25
|
// * as a string (consisting eventually of several words even combined also with
|
26
|
// * non alphabetical characters) in the inherited {@link eu.etaxonomy.cdm.model.common.IdentifiableEntity#setTitleCache(String) titleCache} attribute.
|
27
|
// * Classification has no influence on the names of viral taxon names and no
|
28
|
// * viral taxon must be taxonomically included in another viral taxon with
|
29
|
// * higher rank. For examples see ICTVdb:
|
30
|
// * "http://www.ncbi.nlm.nih.gov/ICTVdb/Ictv/vn_indxA.htm"
|
31
|
// * <P>
|
32
|
// * This class corresponds to: NameViral according to the ABCD schema.
|
33
|
// *
|
34
|
// * @author m.doering
|
35
|
// * @created 08-Nov-2007 13:07:02
|
36
|
// */
|
37
|
//@XmlAccessorType(XmlAccessType.FIELD)
|
38
|
//@XmlType(name = "", propOrder = {})
|
39
|
//@XmlRootElement(name = "ViralName")
|
40
|
//@Entity
|
41
|
//@Indexed(index = "eu.etaxonomy.cdm.model.name.TaxonName")
|
42
|
//@Audited
|
43
|
//@Configurable
|
44
|
//public class ViralName5{
|
45
|
//// extends TaxonName<ViralName, INameCacheStrategy> {
|
46
|
//// private static final long serialVersionUID = -6201649691028218290L;
|
47
|
////
|
48
|
//// private static final NomenclaturalCode code = NomenclaturalCode.ICVCN;
|
49
|
//
|
50
|
//// ************* CONSTRUCTORS *************/
|
51
|
//
|
52
|
//// protected ViralName(){
|
53
|
//// super(code);
|
54
|
//// }
|
55
|
//
|
56
|
// /**
|
57
|
// * Class constructor: creates a new viral taxon name instance
|
58
|
// * only containing its {@link Rank rank}.
|
59
|
// *
|
60
|
// * @param rank the rank to be assigned to <i>this</i> viral taxon name
|
61
|
// * @see TaxonName#TaxonName(Rank)
|
62
|
// */
|
63
|
//// protected ViralName(Rank rank) {
|
64
|
//// super(code, rank);
|
65
|
//// }
|
66
|
//
|
67
|
//// ************************* METHODS **************************/
|
68
|
//
|
69
|
// /**
|
70
|
// * Returns the {@link NomenclaturalCode nomenclatural code} that governs
|
71
|
// * the construction of <i>this</i> viral taxon name, that is the
|
72
|
// * International Code of Virus Classification and Nomenclature.
|
73
|
// * This method overrides the getNomenclaturalCode method from {@link TaxonName TaxonName}.
|
74
|
// *
|
75
|
// * @return the nomenclatural code for viruses
|
76
|
// * @see #isCodeCompliant()
|
77
|
// * @see TaxonName#getHasProblem()
|
78
|
// * @see TaxonName#getNomenclaturalCode()
|
79
|
// */
|
80
|
//// @Override
|
81
|
//// public NomenclaturalCode getNomenclaturalCode(){
|
82
|
//// return code;
|
83
|
//// }
|
84
|
//
|
85
|
//
|
86
|
////*********************** CLONE ********************************************************/
|
87
|
//
|
88
|
// /**
|
89
|
// * Clones <i>this</i> viral name. This is a shortcut that enables to create
|
90
|
// * a new instance that differs only slightly from <i>this</i> viral name by
|
91
|
// * modifying only some of the attributes.
|
92
|
// *
|
93
|
// * @see eu.etaxonomy.cdm.model.name.TaxonName#clone()
|
94
|
// * @see java.lang.Object#clone()
|
95
|
// */
|
96
|
// @Override
|
97
|
// public Object clone() {
|
98
|
// IViralName result = (IViralName)super.clone();
|
99
|
// //no changes to:
|
100
|
// return result;
|
101
|
// }
|
102
|
//}
|