Project

General

Profile

Download (1.4 KB) Statistics
| Branch: | Tag: | Revision:
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

    
15
import org.apache.log4j.Logger;
16

    
17
/**
18
 * @author m.doering
19
 * @version 1.0
20
 * @created 08-Nov-2007 13:06:45
21
 */
22
@Entity
23
public class Proceedings extends PrintedUnitBase implements Cloneable {
24
	private static final Logger logger = Logger.getLogger(Proceedings.class);
25
	
26
	//The conference sponsor
27
	private String organization;
28
	
29
	
30
	public static Proceedings NewInstance(){
31
		Proceedings result = new Proceedings();
32
		return result;
33
	}
34
	
35
	public static Proceedings NewInstance(String organization){
36
		Proceedings result = NewInstance();
37
		result.setOrganization(organization);
38
		return result;
39
	}
40
	
41

    
42

    
43
	public String getOrganization(){
44
		return this.organization;
45
	}
46
	public void setOrganization(String organization){
47
		this.organization = organization;
48
	}
49

    
50
	@Override
51
	public String generateTitle(){
52
		logger.warn("generateTitle not yet fully implemented");
53
		return this.getTitle();
54
	}
55
	
56
	
57
	//*********** CLONE **********************************/	
58
			
59
		public Proceedings clone(){
60
			Proceedings result = (Proceedings)super.clone();
61
			//no changes to: organization
62
			return result;
63
		}
64

    
65
}
(19-19/27)