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
.media
;
13 import eu
.etaxonomy
.cdm
.model
.common
.IReferencedEntity
;
14 import eu
.etaxonomy
.cdm
.model
.reference
.ReferenceBase
;
15 import org
.apache
.log4j
.Logger
;
16 import org
.hibernate
.annotations
.Cascade
;
17 import org
.hibernate
.annotations
.CascadeType
;
18 import javax
.persistence
.*;
23 * @created 08-Nov-2007 13:06:48
26 public abstract class ReferencedMedia
extends Media
implements IReferencedEntity
{
27 static Logger logger
= Logger
.getLogger(ReferencedMedia
.class);
28 private String citationMicroReference
;
29 private ReferenceBase citation
;
32 @Cascade({CascadeType
.SAVE_UPDATE
})
33 public ReferenceBase
getCitation(){
36 public void setCitation(ReferenceBase citation
){
37 this.citation
= citation
;
40 public String
getCitationMicroReference(){
41 return this.citationMicroReference
;
43 public void setCitationMicroReference(String citationMicroReference
){
44 this.citationMicroReference
= citationMicroReference
;