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
.reference
;
13 import org
.apache
.log4j
.Logger
;
14 import org
.hibernate
.annotations
.Cascade
;
15 import org
.hibernate
.annotations
.CascadeType
;
18 import javax
.persistence
.*;
23 * @created 08-Nov-2007 13:06:10
26 public class Article
extends StrictReferenceBase
implements INomenclaturalReference
{
27 static Logger logger
= Logger
.getLogger(Article
.class);
28 private String series
;
29 private String volume
;
31 private Journal inJournal
;
34 @Cascade({CascadeType
.SAVE_UPDATE
})
35 public Journal
getInJournal(){
36 return this.inJournal
;
38 public void setInJournal(Journal inJournal
){
39 this.inJournal
= inJournal
;
42 public String
getSeries(){
48 * @param series series
50 public void setSeries(String series
){
54 public String
getVolume(){
60 * @param volume volume
62 public void setVolume(String volume
){
66 public String
getPages(){
74 public void setPages(String pages
){
79 * returns a formatted string containing the entire reference citation including
83 public String
getCitation(){
88 * returns a formatted string containing the reference citation excluding authors
89 * as used in a taxon name
92 public String
getNomenclaturalCitation(){
97 public String
generateTitle(){