1
|
/**
|
2
|
* Copyright (C) 2008 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*/
|
6
|
|
7
|
package eu.etaxonomy.cdm.persistence.dao.hibernate.description;
|
8
|
|
9
|
import java.util.List;
|
10
|
|
11
|
import org.hibernate.Criteria;
|
12
|
import org.springframework.stereotype.Repository;
|
13
|
|
14
|
import eu.etaxonomy.cdm.model.description.StatisticalMeasurementValue;
|
15
|
import eu.etaxonomy.cdm.persistence.dao.description.IStatisticalMeasurementValueDao;
|
16
|
import eu.etaxonomy.cdm.persistence.dao.hibernate.common.CdmEntityDaoBase;
|
17
|
|
18
|
/**
|
19
|
* @author a.babadshanjan
|
20
|
* @created 07.11.2008
|
21
|
*/
|
22
|
@Repository
|
23
|
public class StatisticalMeasurementValueDaoImpl extends CdmEntityDaoBase<StatisticalMeasurementValue>
|
24
|
implements IStatisticalMeasurementValueDao {
|
25
|
|
26
|
public StatisticalMeasurementValueDaoImpl() {
|
27
|
super(StatisticalMeasurementValue.class);
|
28
|
}
|
29
|
|
30
|
public List<StatisticalMeasurementValue> list() {
|
31
|
Criteria crit = getSession().createCriteria(type);
|
32
|
return crit.list();
|
33
|
}
|
34
|
}
|