Project

General

Profile

Download (1.18 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.common;
11

    
12

    
13
import javax.persistence.Entity;
14
import javax.xml.bind.annotation.XmlAccessType;
15
import javax.xml.bind.annotation.XmlAccessorType;
16
import javax.xml.bind.annotation.XmlType;
17

    
18
import org.apache.log4j.Logger;
19

    
20
/**
21
 * simple keywords. could be taxonomic scope/skill , geographic scope or anything else
22
 * @author m.doering
23
 * @version 1.0
24
 * @created 08-Nov-2007 13:06:31
25
 */
26
@XmlAccessorType(XmlAccessType.FIELD)
27
@XmlType(name = "Keyword")
28
@Entity
29
public class Keyword extends OrderedTermBase<Keyword> {
30
	static Logger logger = Logger.getLogger(Keyword.class);
31

    
32
	public static Keyword NewInstance(){
33
		return new Keyword();
34
	}
35

    
36

    
37
	public static Keyword NewInstance(String term, String label, String labelAbbrev){
38
		return new Keyword(term, label, labelAbbrev);
39
	}
40

    
41
	
42
	public Keyword() {
43
		super();
44
	}
45

    
46
	public Keyword(String term, String label, String labelAbbrev) {
47
		super(term, label, labelAbbrev);
48
	}
49

    
50
}
(19-19/44)