|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.deploy.ModuleItem
public class ModuleItem
Represents an EPL statement as part of a Module
.
Character position start and end are only available for non-comment only.
Constructor Summary | |
---|---|
ModuleItem(java.lang.String expression,
boolean commentOnly,
int lineNumber,
int charPosStart,
int charPosEnd)
Ctor. |
Method Summary | |
---|---|
int |
getCharPosEnd()
Returns end position of character on line for the item. |
int |
getCharPosStart()
Returns item char position in line. |
java.lang.String |
getExpression()
Returns the EPL. |
int |
getLineNumber()
Returns the line number of item. |
boolean |
isCommentOnly()
Returns true to indicate comments-only expression. |
void |
setCharPosEnd(int charPosEnd)
Sets the end position of character on line for the item. |
void |
setCharPosStart(int charPosStart)
Sets item char position in line. |
void |
setCommentOnly(boolean commentOnly)
Set true to indicate comments-only expression. |
void |
setExpression(java.lang.String expression)
Sets the EPL. |
void |
setLineNumber(int lineNumber)
Sets item line num |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleItem(java.lang.String expression, boolean commentOnly, int lineNumber, int charPosStart, int charPosEnd)
expression
- EPLcommentOnly
- true if the statement consists only of comments or whitespacelineNumber
- line numbercharPosStart
- character position of start of segmentcharPosEnd
- character position of end of segmentMethod Detail |
---|
public java.lang.String getExpression()
public void setExpression(java.lang.String expression)
expression
- to setpublic boolean isCommentOnly()
public void setCommentOnly(boolean commentOnly)
commentOnly
- comments-only indicatorpublic int getLineNumber()
public void setLineNumber(int lineNumber)
lineNumber
- to setpublic int getCharPosStart()
public void setCharPosStart(int charPosStart)
charPosStart
- char positionpublic int getCharPosEnd()
public void setCharPosEnd(int charPosEnd)
charPosEnd
- position
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |