|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.lang.descr.BaseDescr
org.drools.lang.descr.OperatorDescr
public class OperatorDescr
A descriptor to represent a relational operator
| Constructor Summary | |
|---|---|
OperatorDescr()
|
|
OperatorDescr(String operator,
boolean negated,
List<String> parameters)
|
|
| Method Summary | |
|---|---|
String |
getAlias()
|
String |
getLeftString()
This is an internal cache of the left string parameter that is set during the rewrite into MVEL, allowing for further analysis of the parameter type. |
String |
getOperator()
|
List<String> |
getParameters()
|
String |
getParametersText()
|
String |
getRightString()
This is an internal cache of the right string parameter that is set during the rewrite into MVEL, allowing for further analysis of the parameter type. |
boolean |
isLeftIsHandle()
|
boolean |
isNegated()
|
boolean |
isRightIsHandle()
|
void |
setAlias(String alias)
|
void |
setLeftIsHandle(boolean leftIsHandle)
|
void |
setLeftString(String left)
This is an internal cache of the left string parameter that is set during the rewrite into MVEL, allowing for further analysis of the parameter type. |
void |
setNegated(boolean negated)
|
void |
setOperator(String operator)
|
void |
setParameters(List<String> parameters)
|
void |
setRightIsHandle(boolean rightIsHandle)
|
void |
setRightString(String right)
This is an internal cache of the right string parameter that is set during the rewrite into MVEL, allowing for further analysis of the parameter type. |
String |
toString()
|
| Methods inherited from class org.drools.lang.descr.BaseDescr |
|---|
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getStartCharacter, getText, positionAsString, readExternal, setEndCharacter, setEndLocation, setLocation, setStartCharacter, setText, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OperatorDescr()
public OperatorDescr(String operator,
boolean negated,
List<String> parameters)
| Method Detail |
|---|
public String getOperator()
public void setOperator(String operator)
public boolean isNegated()
public void setNegated(boolean negated)
public List<String> getParameters()
public String getParametersText()
public void setParameters(List<String> parameters)
public String getAlias()
public void setAlias(String alias)
alias - the alias to setpublic String toString()
toString in class Objectpublic void setLeftString(String left)
left - public void setRightString(String right)
right - public String getLeftString()
public String getRightString()
public boolean isLeftIsHandle()
public void setLeftIsHandle(boolean leftIsHandle)
leftIsHandle - the leftIsHandle to setpublic boolean isRightIsHandle()
public void setRightIsHandle(boolean rightIsHandle)
rightIsHandle - the rightIsHandle to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||