(no commit message)
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / taxon / TaxonFact.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
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.
8 */
9
10 package eu.etaxonomy.cdm.model.taxon;
11
12
13 import eu.etaxonomy.cdm.model.publication.PublicationBase;
14 import eu.etaxonomy.cdm.model.common.FactBase;
15 import eu.etaxonomy.cdm.model.common.Media;
16 import eu.etaxonomy.cdm.model.common.Fact;
17 import org.apache.log4j.Logger;
18 import java.util.*;
19 import javax.persistence.*;
20
21 /**
22 * @author Andreas Mueller
23 * @version 1.0
24 * @created 15-Aug-2007 18:36:14
25 */
26 @Entity
27 public class TaxonFact extends FactBase implements Fact {
28 static Logger logger = Logger.getLogger(TaxonFact.class);
29
30 private TaxonFactType type;
31 private PublicationBase citation;
32 private ArrayList medias;
33
34 public PublicationBase getCitation(){
35 return citation;
36 }
37
38 public ArrayList getMedias(){
39 return medias;
40 }
41
42 public TaxonFactType getType(){
43 return type;
44 }
45
46 /**
47 *
48 * @param newVal
49 */
50 public void setCitation(PublicationBase newVal){
51 citation = newVal;
52 }
53
54 /**
55 *
56 * @param newVal
57 */
58 public void setMedias(ArrayList newVal){
59 medias = newVal;
60 }
61
62 /**
63 *
64 * @param newVal
65 */
66 public void setType(TaxonFactType newVal){
67 type = newVal;
68 }
69
70 }