public class FunctionDefinition extends Object implements SiddhiElement
Constructor and Description |
---|
FunctionDefinition() |
Modifier and Type | Method and Description |
---|---|
FunctionDefinition |
body(String body) |
String |
getBody() |
String |
getId() |
String |
getLanguage() |
int[] |
getQueryContextEndIndex() |
int[] |
getQueryContextStartIndex() |
Attribute.Type |
getReturnType() |
FunctionDefinition |
id(String functionID) |
FunctionDefinition |
language(String language) |
void |
setQueryContextEndIndex(int[] lineAndColumn) |
void |
setQueryContextStartIndex(int[] lineAndColumn) |
FunctionDefinition |
type(Attribute.Type type) |
public Attribute.Type getReturnType()
public String getLanguage()
public String getBody()
public String getId()
public FunctionDefinition language(String language)
public FunctionDefinition body(String body)
public FunctionDefinition id(String functionID)
public FunctionDefinition type(Attribute.Type type)
public int[] getQueryContextStartIndex()
getQueryContextStartIndex
in interface SiddhiElement
public void setQueryContextStartIndex(int[] lineAndColumn)
setQueryContextStartIndex
in interface SiddhiElement
public int[] getQueryContextEndIndex()
getQueryContextEndIndex
in interface SiddhiElement
public void setQueryContextEndIndex(int[] lineAndColumn)
setQueryContextEndIndex
in interface SiddhiElement
Copyright © 2018 WSO2. All rights reserved.