2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.model
.molecular
;
13 import eu
.etaxonomy
.cdm
.model
.common
.VersionableEntity
;
14 import org
.apache
.log4j
.Logger
;
16 import javax
.persistence
.*;
17 import javax
.xml
.bind
.annotation
.XmlAccessType
;
18 import javax
.xml
.bind
.annotation
.XmlAccessorType
;
19 import javax
.xml
.bind
.annotation
.XmlElement
;
20 import javax
.xml
.bind
.annotation
.XmlRootElement
;
21 import javax
.xml
.bind
.annotation
.XmlType
;
26 * @created 08-Nov-2007 13:06:25
28 @XmlAccessorType(XmlAccessType
.FIELD
)
29 @XmlType(name
= "GenBankAccession", propOrder
= {
33 @XmlRootElement(name
= "GenBankAccession")
35 public class GenBankAccession
extends VersionableEntity
<GenBankAccession
> {
36 private static final long serialVersionUID
= -8179493118062601585L;
37 private static final Logger logger
= Logger
.getLogger(GenBankAccession
.class);
39 @XmlElement(name
= "AccessionNumber")
40 private String accessionNumber
;
42 @XmlElement(name
= "URI")
45 public String
getAccessionNumber(){
46 logger
.debug("getAccessionNumber");
47 return this.accessionNumber
;
52 * @param accessionNumber accessionNumber
54 public void setAccessionNumber(String accessionNumber
){
55 this.accessionNumber
= accessionNumber
;
58 public String
getUri(){
66 public void setUri(String uri
){