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 javax.persistence.Entity;
|
14
|
import javax.persistence.ManyToOne;
|
15
|
|
16
|
import org.apache.log4j.Logger;
|
17
|
import org.hibernate.annotations.Cascade;
|
18
|
import org.hibernate.annotations.CascadeType;
|
19
|
|
20
|
/**
|
21
|
* @author m.doering
|
22
|
* @version 1.0
|
23
|
* @created 08-Nov-2007 13:06:29
|
24
|
*/
|
25
|
@Entity
|
26
|
public class InProceedings extends SectionBase {
|
27
|
private static final Logger logger = Logger.getLogger(InProceedings.class);
|
28
|
private Proceedings inProceedings;
|
29
|
|
30
|
public static InProceedings NewInstance(){
|
31
|
InProceedings result = new InProceedings();
|
32
|
return result;
|
33
|
}
|
34
|
|
35
|
public static InProceedings NewInstance(Proceedings inProceedings){
|
36
|
InProceedings result = NewInstance();
|
37
|
result.setInProceedings(inProceedings);
|
38
|
return result;
|
39
|
}
|
40
|
|
41
|
|
42
|
@ManyToOne
|
43
|
@Cascade({CascadeType.SAVE_UPDATE})
|
44
|
public Proceedings getInProceedings(){
|
45
|
return this.inProceedings;
|
46
|
}
|
47
|
|
48
|
/**
|
49
|
*
|
50
|
* @param inProceedings inProceedings
|
51
|
*/
|
52
|
public void setInProceedings(Proceedings inProceedings){
|
53
|
this.inProceedings = inProceedings;
|
54
|
}
|
55
|
|
56
|
@Override
|
57
|
public String generateTitle(){
|
58
|
return "";
|
59
|
}
|
60
|
|
61
|
}
|