public abstract class AbstractDefinition extends Object implements SiddhiElement
Modifier and Type | Field and Description |
---|---|
protected List<Annotation> |
annotations |
protected List<Attribute> |
attributeList |
protected String |
id |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDefinition() |
protected |
AbstractDefinition(String id) |
Modifier and Type | Method and Description |
---|---|
static Annotation |
annotation(String name) |
protected void |
checkAttribute(String attributeName) |
boolean |
equals(Object o) |
boolean |
equalsIgnoreAnnotations(Object o) |
List<Annotation> |
getAnnotations() |
List<Attribute> |
getAttributeList() |
String[] |
getAttributeNameArray() |
int |
getAttributePosition(String attributeName) |
Attribute.Type |
getAttributeType(String attributeName) |
String |
getId() |
int[] |
getQueryContextEndIndex() |
int[] |
getQueryContextStartIndex() |
int |
hashCode() |
void |
setId(String id) |
void |
setQueryContextEndIndex(int[] lineAndColumn) |
void |
setQueryContextStartIndex(int[] lineAndColumn) |
String |
toString() |
protected String |
toString(String type) |
protected String id
protected List<Annotation> annotations
protected AbstractDefinition()
protected AbstractDefinition(String id)
public static Annotation annotation(String name)
public String getId()
public void setId(String id)
public List<Annotation> getAnnotations()
protected void checkAttribute(String attributeName)
public Attribute.Type getAttributeType(String attributeName)
public int getAttributePosition(String attributeName)
public String[] getAttributeNameArray()
public boolean equalsIgnoreAnnotations(Object o)
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.