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
;
12 import javax
.persistence
.Entity
;
14 import org
.apache
.log4j
.Logger
;
15 import org
.hibernate
.envers
.Audited
;
16 import org
.springframework
.beans
.factory
.annotation
.Configurable
;
18 import eu
.etaxonomy
.cdm
.model
.common
.CdmBase
;
21 * A publisher is part of any reference inheriting from PublicationBase.
22 * A publication can have several publishers each of them having it's own publication place.
23 * The UML association type is composition, which means that a publisher exists only as part of a publication base, not on its own. Therefore
24 * all the methods of publisher are not visible but handled by publication base.
33 public class Publisher
extends CdmBase
implements Cloneable
{
34 @SuppressWarnings("unused")
35 private static Logger logger
= Logger
.getLogger(Publisher
.class);
38 private String publisherName
;
42 protected Publisher(){
45 protected Publisher(String publisherName
, String place
){
46 this.publisherName
= publisherName
;
52 * @return the publisher
54 public String
getPublisherName() {
59 * @param publisher the publisher to set
61 public void setPublisherName(String publisherName
) {
62 this.publisherName
= publisherName
;
68 public String
getPlace() {
73 * @param place the place to set
75 public void setPlace(String place
) {