Delete warnings in molecular
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / molecular / GenBankAccession.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.molecular;
11
12
13 import eu.etaxonomy.cdm.model.common.VersionableEntity;
14 import org.apache.log4j.Logger;
15
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;
22
23 /**
24 * @author m.doering
25 * @version 1.0
26 * @created 08-Nov-2007 13:06:25
27 */
28 @XmlAccessorType(XmlAccessType.FIELD)
29 @XmlType(name = "GenBankAccession", propOrder = {
30 "accessionNumber",
31 "uri"
32 })
33 @XmlRootElement(name = "GenBankAccession")
34 @Entity
35 public class GenBankAccession extends VersionableEntity<GenBankAccession> {
36 private static final long serialVersionUID = -8179493118062601585L;
37 private static final Logger logger = Logger.getLogger(GenBankAccession.class);
38
39 @XmlElement(name = "AccessionNumber")
40 private String accessionNumber;
41
42 @XmlElement(name = "URI")
43 private String uri;
44
45 public String getAccessionNumber(){
46 logger.debug("getAccessionNumber");
47 return this.accessionNumber;
48 }
49
50 /**
51 *
52 * @param accessionNumber accessionNumber
53 */
54 public void setAccessionNumber(String accessionNumber){
55 this.accessionNumber = accessionNumber;
56 }
57
58 public String getUri(){
59 return this.uri;
60 }
61
62 /**
63 *
64 * @param uri uri
65 */
66 public void setUri(String uri){
67 this.uri = uri;
68 }
69
70 }