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
.publication
;
13 import eu
.etaxonomy
.cdm
.model
.agent
.Team
;
14 import eu
.etaxonomy
.cdm
.model
.common
.NameAlias
;
15 import eu
.etaxonomy
.cdm
.model
.common
.IdentifiableEntity
;
16 import org
.apache
.log4j
.Logger
;
18 import javax
.persistence
.*;
21 * A year() method is required to get the year of publication out of the
23 * @author Andreas Mueller
25 * @created 15-Aug-2007 18:36:11
28 public abstract class PublicationBase
extends IdentifiableEntity
{
29 static Logger logger
= Logger
.getLogger(PublicationBase
.class);
31 private String datePublished
;
34 private String placePublished
;
35 private String publisher
;
38 private ArrayList otherTitles
;
39 private Team authorship
;
41 public Team
getAuthorship(){
45 public String
getDatePublished(){
49 public String
getDoi(){
53 public ArrayList
getOtherTitles(){
57 public String
getPages(){
61 public String
getPlacePublished(){
62 return placePublished
;
65 public String
getPublisher(){
69 public String
getTitle(){
73 public String
getUrl(){
79 * @param datePublished
82 public int getYear(String datePublished
){
90 public void setAuthorship(Team newVal
){
98 public void setDatePublished(String newVal
){
99 datePublished
= newVal
;
106 public void setDoi(String newVal
){
114 public void setOtherTitles(ArrayList newVal
){
115 otherTitles
= newVal
;
122 public void setPages(String newVal
){
130 public void setPlacePublished(String newVal
){
131 placePublished
= newVal
;
138 public void setPublisher(String newVal
){
146 public void setTitle(String newVal
){
154 public void setUrl(String newVal
){