package gov.nih.nci.cbiit.cmts.function;

import java.util.Map;

import gov.nih.nci.cbiit.cmts.core.FunctionType;

public class ConstantFunction {

	public String retrieveValue(FunctionType functionType, Map paramters)
	{
		StringBuffer rtnBf=new StringBuffer();
		rtnBf.append(functionType.getData().get(0).getValue());
		return rtnBf.toString();
	}
}

@@ -147,16 +147,148 @@
 tion %7B%0D%0A
+/**%0D%0A * Returns the xml query statement of retrieving a constant value%0D%0A * @param functionType%0D%0A * @param paramters%0D%0A * @return%0D%0A */
 %0D%0A%09publi
@@ -340,16 +340,32 @@
 ype, Map
+%3CString, String%3E
  paramte
@@ -483,16 +483,28 @@
 %09return 
+%22string(%5C%22%22+
 rtnBf.to
@@ -511,16 +511,22 @@
 String()
++%22%5C%22)%22
 ;%0D%0A%09%7D%0D%0A%7D

enable functions: temporarily remove dateTime.changeFormat, math.subtraction, math.multiplication, math.division