2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.model
.occurrence
;
12 import eu
.etaxonomy
.cdm
.model
.common
.DefinedTermBase
;
13 import org
.apache
.log4j
.Logger
;
14 import javax
.persistence
.*;
15 import javax
.xml
.bind
.annotation
.XmlAccessType
;
16 import javax
.xml
.bind
.annotation
.XmlAccessorType
;
17 import javax
.xml
.bind
.annotation
.XmlRootElement
;
20 * http://rs.tdwg.org/ontology/voc/Collection.rdf#SpecimenPreservationMethodTypeTerm
23 * @created 08-Nov-2007 13:06:44
25 @XmlAccessorType(XmlAccessType
.FIELD
)
26 @XmlRootElement(name
= "PreservationMethod")
28 public class PreservationMethod
extends DefinedTermBase
{
29 static Logger logger
= Logger
.getLogger(PreservationMethod
.class);
35 public static PreservationMethod
NewInstance(){
36 return new PreservationMethod();
42 private PreservationMethod() {
50 public static PreservationMethod
NewInstance(String term
, String label
, String labelAbbrev
) {
51 return new PreservationMethod(term
, label
, labelAbbrev
);
57 protected PreservationMethod(String term
, String label
, String labelAbbrev
) {
58 super(term
, label
, labelAbbrev
);