(no commit message)
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / occurrence / PreservationMethod.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.occurrence;
11
12 import eu.etaxonomy.cdm.model.common.DefinedTermBase;
13 import org.apache.log4j.Logger;
14 import javax.persistence.*;
15
16 /**
17 * http://rs.tdwg.org/ontology/voc/Collection.rdf#SpecimenPreservationMethodTypeTerm
18 * @author m.doering
19 * @version 1.0
20 * @created 08-Nov-2007 13:06:44
21 */
22 @Entity
23 public class PreservationMethod extends DefinedTermBase {
24 static Logger logger = Logger.getLogger(PreservationMethod.class);
25
26 /**
27 * Factory method
28 * @return
29 */
30 public static PreservationMethod NewInstance(String term, String label, String labelAbbrev) {
31 return new PreservationMethod(term, label, labelAbbrev);
32 }
33
34 /**
35 * Constructor
36 */
37 protected PreservationMethod(String term, String label, String labelAbbrev) {
38 super(term, label, labelAbbrev);
39 }
40 }