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
.description
;
12 import eu
.etaxonomy
.cdm
.model
.location
.NamedArea
;
13 import org
.apache
.log4j
.Logger
;
14 import org
.hibernate
.annotations
.Cascade
;
15 import org
.hibernate
.annotations
.CascadeType
;
16 import javax
.persistence
.*;
19 * fact attribute contains the concrete occurrence term like "Extinct" This allows
20 * all terms to enter the database and classify them basically according to class
21 * hierarchy of distribution. {validInRegion mandatory} {type is "distribution"}
24 * @created 08-Nov-2007 13:06:21
27 public class Distribution
extends DescriptionElementBase
{
28 static Logger logger
= Logger
.getLogger(Distribution
.class);
30 private NamedArea area
;
31 private PresenceAbsenceTermBase status
;
37 @Cascade({CascadeType
.SAVE_UPDATE
})
38 public NamedArea
getArea(){
41 public void setArea(NamedArea area
){
46 public PresenceAbsenceTermBase
getStatus(){
49 public void setStatus(PresenceAbsenceTermBase status
){