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.description;
|
11
|
|
12
|
|
13
|
import eu.etaxonomy.cdm.model.common.OrderedTermBase;
|
14
|
import eu.etaxonomy.cdm.model.common.TermVocabulary;
|
15
|
|
16
|
import org.apache.log4j.Logger;
|
17
|
|
18
|
import java.util.*;
|
19
|
import javax.persistence.*;
|
20
|
|
21
|
/**
|
22
|
* @author m.doering
|
23
|
* @version 1.0
|
24
|
* @created 08-Nov-2007 13:06:53
|
25
|
*/
|
26
|
@Entity
|
27
|
public class State extends OrderedTermBase<State> {
|
28
|
static Logger logger = Logger.getLogger(State.class);
|
29
|
|
30
|
/**
|
31
|
* Factory method
|
32
|
* @return
|
33
|
*/
|
34
|
public static State NewInstance(){
|
35
|
return new State();
|
36
|
}
|
37
|
|
38
|
/**
|
39
|
* Factory method
|
40
|
* @return
|
41
|
*/
|
42
|
public static State NewInstance(String term, String label, String labelAbbrev){
|
43
|
return new State(term, label, labelAbbrev);
|
44
|
}
|
45
|
|
46
|
public State() {
|
47
|
super();
|
48
|
}
|
49
|
|
50
|
public State(String term, String label, String labelAbbrev) {
|
51
|
super(term, label, labelAbbrev);
|
52
|
}
|
53
|
|
54
|
|
55
|
}
|