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 etaxonomy
.cdm
.model
.reference
;
13 import etaxonomy
.cdm
.model
.agent
.Team
;
14 import etaxonomy
.cdm
.model
.common
.IdentifiableEntity
;
15 import org
.apache
.log4j
.Logger
;
18 * A year() method is required to get the year of publication out of the
22 * @created 02-Nov-2007 18:15:12
24 public abstract class ReferenceBase
extends IdentifiableEntity
{
25 static Logger logger
= Logger
.getLogger(ReferenceBase
.class);
27 //URIs like DOIs, LSIDs or Handles for this reference
28 @Description("URIs like DOIs, LSIDs or Handles for this reference ")
30 //flag to subselect only references that could be useful for nomenclatural citations. If a reference is used as a
31 //nomenclatural reference in a name this flag should be automatically set
32 @Description("flag to subselect only references that could be useful for nomenclatural citations. If a reference is used as a nomenclatural reference in a name this flag should be automatically set")
33 private boolean isNomenclaturallyRelevant
;
34 private ArrayList referenceInSource
;
35 private Team authorTeam
;
37 public ArrayList
getReferenceInSource(){
38 return referenceInSource
;
45 public void setReferenceInSource(ArrayList newVal
){
46 referenceInSource
= newVal
;
49 public Team
getAuthorTeam(){
57 public void setAuthorTeam(Team newVal
){
61 public String
getUri(){
69 public void setUri(String newVal
){
73 public boolean isNomenclaturallyRelevant(){
74 return isNomenclaturallyRelevant
;
81 public void setNomenclaturallyRelevant(boolean newVal
){
82 isNomenclaturallyRelevant
= newVal
;
86 * returns a formatted string containing the entire reference citation including
90 public String
getCitation(){