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
;
13 import org
.apache
.log4j
.Logger
;
17 import javax
.persistence
.*;
22 * @created 08-Nov-2007 13:06:46
25 public class QuantitativeData
extends DescriptionElementBase
{
26 static Logger logger
= Logger
.getLogger(QuantitativeData
.class);
27 private MeasurementUnit unit
;
28 private Set
<StatisticalMeasurementValue
> statisticalValues
= new HashSet();
34 public static QuantitativeData
NewInstance(){
35 return new QuantitativeData();
41 protected QuantitativeData(){
46 public Set
<StatisticalMeasurementValue
> getStatisticalValues() {
47 return statisticalValues
;
49 protected void setStatisticalValues(
50 Set
<StatisticalMeasurementValue
> statisticalValues
) {
51 this.statisticalValues
= statisticalValues
;
53 public void addStatisticalValue(
54 StatisticalMeasurementValue statisticalValue
) {
55 this.statisticalValues
.add(statisticalValue
);
57 public void removeStatisticalValue(
58 StatisticalMeasurementValue statisticalValue
) {
59 this.statisticalValues
.remove(statisticalValue
);
64 public MeasurementUnit
getUnit(){
67 public void setUnit(MeasurementUnit unit
){
72 public float getMin(){
77 public float getMax(){
82 public float getTypicalLowerBoundary(){
87 public float getTypicalUpperBoundary(){