Class JSFunction
- java.lang.Object
-
- org.wso2.carbon.mediator.datamapper.engine.core.mapper.JSFunction
-
public class JSFunction extends Object
This class will hold the data mapper mapping configuration
-
-
Constructor Summary
Constructors Constructor Description JSFunction(String name, String body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompiledScript
getBindingHelperFunction()
CompiledScript
getCompiledBody()
CompiledScript
getCompiledName()
String
getFunctionBody()
String
getFunctionName()
void
setBindingHelperFunction(CompiledScript bindingHelperFunction)
void
setCompiledBody(CompiledScript compiledBody)
void
setCompiledName(CompiledScript compiledName)
void
setFunctionBody(String functionBody)
void
setFunctionName(String functionName)
-
-
-
Method Detail
-
getFunctionName
public String getFunctionName()
-
setFunctionName
public void setFunctionName(String functionName)
-
getFunctionBody
public String getFunctionBody()
-
setFunctionBody
public void setFunctionBody(String functionBody)
-
getCompiledName
public CompiledScript getCompiledName()
-
setCompiledName
public void setCompiledName(CompiledScript compiledName)
-
getCompiledBody
public CompiledScript getCompiledBody()
-
setCompiledBody
public void setCompiledBody(CompiledScript compiledBody)
-
getBindingHelperFunction
public CompiledScript getBindingHelperFunction()
-
setBindingHelperFunction
public void setBindingHelperFunction(CompiledScript bindingHelperFunction)
-
-