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.reference;
|
11
|
|
12
|
|
13
|
import eu.etaxonomy.cdm.model.agent.Institution;
|
14
|
import org.apache.log4j.Logger;
|
15
|
import org.hibernate.annotations.Cascade;
|
16
|
import org.hibernate.annotations.CascadeType;
|
17
|
|
18
|
import java.util.*;
|
19
|
import javax.persistence.*;
|
20
|
|
21
|
/**
|
22
|
* publisher is "institution" in BibTex ???
|
23
|
* @author m.doering
|
24
|
* @version 1.0
|
25
|
* @created 08-Nov-2007 13:06:49
|
26
|
*/
|
27
|
@Entity
|
28
|
public class Report extends PublicationBase {
|
29
|
static Logger logger = Logger.getLogger(Report.class);
|
30
|
private Institution institution;
|
31
|
|
32
|
@ManyToOne
|
33
|
@Cascade({CascadeType.SAVE_UPDATE})
|
34
|
public Institution getInstitution(){
|
35
|
return this.institution;
|
36
|
}
|
37
|
public void setInstitution(Institution institution){
|
38
|
this.institution = institution;
|
39
|
}
|
40
|
|
41
|
@Override
|
42
|
public String generateTitle(){
|
43
|
return "";
|
44
|
}
|
45
|
|
46
|
}
|