Package org.drools.drl.ast.descr
Class AtomicExprDescr
java.lang.Object
org.drools.drl.ast.descr.BaseDescr
org.drools.drl.ast.descr.AtomicExprDescr
- All Implemented Interfaces:
Externalizable,Serializable,ExpressionDescr,Namespaceable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAtomicExprDescr(String expression) AtomicExprDescr(String expression, boolean isLiteral) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleannegate()replaceVariable(String oldVar, String newVar) voidsetExpression(String expression) voidsetLiteral(boolean literal) voidsetRewrittenExpression(String rewrittenExpression) toString()Methods inherited from class org.drools.drl.ast.descr.BaseDescr
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, isNegated, positionAsString, readExternal, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText, writeExternal
-
Constructor Details
-
AtomicExprDescr
public AtomicExprDescr() -
AtomicExprDescr
-
AtomicExprDescr
-
-
Method Details
-
getExpression
- Specified by:
getExpressionin interfaceExpressionDescr
-
setExpression
-
toString
-
isLiteral
public boolean isLiteral() -
setLiteral
public void setLiteral(boolean literal) -
getRewrittenExpression
-
hasRewrittenExpression
public boolean hasRewrittenExpression() -
setRewrittenExpression
-
replaceVariable
- Overrides:
replaceVariablein classBaseDescr
-
negate
-