Project

General

Profile

Download (1.44 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
package eu.etaxonomy.cdm.model.agent;
10

    
11
import javax.persistence.Entity;
12
import org.apache.log4j.Logger;
13

    
14
import eu.etaxonomy.cdm.strategy.cache.INomenclaturalAuthorCacheStrategy;
15

    
16

    
17
/**
18
 * The abstract class for such {@link Agent agents} ({@link Person persons} or {@link Team teams}) who might also be used
19
 * for nomenclatural authorship.
20
 * 
21
 * @author a.mueller
22
 * @version 1.0
23
 * @created 17-APR-2008
24
 */
25
@Entity
26
public abstract class TeamOrPersonBase<T extends TeamOrPersonBase> extends Agent implements INomenclaturalAuthor {
27
	static Logger logger = Logger.getLogger(TeamOrPersonBase.class);
28

    
29
	protected String nomenclaturalTitle;
30
	protected INomenclaturalAuthorCacheStrategy<T> cacheStrategy;
31

    
32
	/**
33
	 * Returns the identification string (nomenclatural abbreviation) used in
34
	 * nomenclature for this {@link Person person} or this {@link Team team}.
35
	 * 
36
	 * @see  INomenclaturalAuthor#getNomenclaturalTitle()
37
	 */
38
	public String getNomenclaturalTitle() {
39
		return nomenclaturalTitle;
40
	}
41

    
42
	/** 
43
	 * @see     #getNomenclaturalTitle()
44
	 */
45
	public void setNomenclaturalTitle(String nomenclaturalTitle) {
46
		this.nomenclaturalTitle = nomenclaturalTitle;
47
	}
48

    
49
}
(10-10/11)