Project

General

Profile

Download (1.78 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
 * This class represents published maps from which information can be derived.
19
 * A map is a visual representation of an area.
20
 * <P>
21
 * This class corresponds, according to the TDWG ontology, to the publication type
22
 * term (from PublicationTypeTerm): "Map".
23
 * 
24
 * @author m.doering
25
 * @version 1.0
26
 * @created 08-Nov-2007 13:06:33
27
 */
28
@Entity
29
public class Map extends PublicationBase {
30
	private static final Logger logger = Logger.getLogger(Map.class);
31

    
32
	/** 
33
	 * Creates a new empty map instance.
34
	 */
35
	public static Map NewInstance(){
36
	Map result = new Map();
37
	return result;
38
	}
39
	
40

    
41
	/**
42
	 * Generates, according to the {@link strategy.cache.reference.IReferenceBaseCacheStrategy cache strategy}
43
	 * assigned to <i>this</i> map, a string that identifies <i>this</i>
44
	 * map and returns it. This string may be stored in the inherited
45
	 * {@link common.IdentifiableEntity#getTitleCache() titleCache} attribute.<BR>
46
	 * This method overrides the generic and inherited
47
	 * ReferenceBase#generateTitle() method.
48
	 *
49
	 * @return  the string identifying <i>this</i> map
50
	 * @see  	ReferenceBase#generateTitle()
51
	 * @see  	common.IdentifiableEntity#getTitleCache()
52
	 * @see  	common.IdentifiableEntity#generateTitle()
53
	 * @see  	strategy.cache.common.IIdentifiableEntityCacheStrategy#getTitleCache()
54
	 */
55
	@Override
56
	public String generateTitle(){
57
		//TODO is this method really needed or is ReferenceBase#generateTitle() enough?
58
		return "";
59
	}
60

    
61
}
(12-12/26)