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