From b42936308c107fc75feeacf9ab85d2dbbb884189 Mon Sep 17 00:00:00 2001 From: Gianpaolo Coro Date: Wed, 12 Sep 2012 14:20:06 +0000 Subject: [PATCH] git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngine@58229 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../ecoengine/transducers/InterpolationTransducer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/dataanalysis/ecoengine/transducers/InterpolationTransducer.java b/src/main/java/org/gcube/dataanalysis/ecoengine/transducers/InterpolationTransducer.java index ff5631d..47d54ea 100644 --- a/src/main/java/org/gcube/dataanalysis/ecoengine/transducers/InterpolationTransducer.java +++ b/src/main/java/org/gcube/dataanalysis/ecoengine/transducers/InterpolationTransducer.java @@ -83,7 +83,8 @@ public class InterpolationTransducer implements Transducerer{ PrimitiveType p9 = new PrimitiveType(Integer.class.getName(), null, PrimitiveTypes.NUMBER, "YearStart", "The year associated to the FirstHCAF parameter","2012"); PrimitiveType p10 = new PrimitiveType(Integer.class.getName(), null, PrimitiveTypes.NUMBER, "YearEnd", "The year associated to the SecondHCAF parameter","2050"); PrimitiveType p11 = new PrimitiveType(Integer.class.getName(), null, PrimitiveTypes.NUMBER, "NumberOfInterpolations", "Number of Intermediate Interpolation points","2"); - PrimitiveType p12 = new PrimitiveType(Enum.class.getName(), null, PrimitiveTypes.ENUMERATED, "InterpolationFunction", "The interpolation Function to use",""); + + PrimitiveType p12 = new PrimitiveType(Enum.class.getName(), InterpolateTables.INTERPOLATIONFUNCTIONS.values(), PrimitiveTypes.ENUMERATED, "InterpolationFunction", "The interpolation Function to use",""); parameters.add(p1); parameters.add(p2);