Class SingleDrlxParseSuccess
- java.lang.Object
-
- org.drools.modelcompiler.builder.generator.drlxparse.AbstractDrlxParseSuccess
-
- org.drools.modelcompiler.builder.generator.drlxparse.SingleDrlxParseSuccess
-
- All Implemented Interfaces:
DrlxParseResult,DrlxParseSuccess
public class SingleDrlxParseSuccess extends AbstractDrlxParseSuccess
-
-
Field Summary
-
Fields inherited from class org.drools.modelcompiler.builder.generator.drlxparse.AbstractDrlxParseSuccess
watchedProperties
-
-
Constructor Summary
Constructors Constructor Description SingleDrlxParseSuccess(Class<?> patternType, String patternBinding, com.github.javaparser.ast.expr.Expression expr, Type exprType)SingleDrlxParseSuccess(SingleDrlxParseSuccess drlx)
-
Method Summary
-
Methods inherited from class org.drools.modelcompiler.builder.generator.drlxparse.AbstractDrlxParseSuccess
accept, acceptWithReturnValue, addAllWatchedProperties, getWatchedProperties, isSuccess
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.modelcompiler.builder.generator.drlxparse.DrlxParseSuccess
isOOPath
-
-
-
-
Constructor Detail
-
SingleDrlxParseSuccess
public SingleDrlxParseSuccess(Class<?> patternType, String patternBinding, com.github.javaparser.ast.expr.Expression expr, Type exprType)
-
SingleDrlxParseSuccess
public SingleDrlxParseSuccess(SingleDrlxParseSuccess drlx)
-
-
Method Detail
-
setDecodeConstraintType
public SingleDrlxParseSuccess setDecodeConstraintType(org.drools.model.Index.ConstraintType decodeConstraintType)
-
setUsedDeclarationsOnLeft
public SingleDrlxParseSuccess setUsedDeclarationsOnLeft(Collection<String> usedDeclarationsOnLeft)
-
getUsedDeclarationsOnLeft
public Collection<String> getUsedDeclarationsOnLeft()
-
setUsedDeclarations
public SingleDrlxParseSuccess setUsedDeclarations(Collection<String> usedDeclarations)
-
setReactOnProperties
public SingleDrlxParseSuccess setReactOnProperties(Set<String> reactOnProperties)
-
setPatternBindingUnification
public void setPatternBindingUnification(Boolean unification)
-
addReactOnProperty
public SingleDrlxParseSuccess addReactOnProperty(String reactOnProperty)
-
setLeft
public SingleDrlxParseSuccess setLeft(TypedExpression left)
-
setRight
public SingleDrlxParseSuccess setRight(TypedExpression right)
-
setBoundExpr
public SingleDrlxParseSuccess setBoundExpr(TypedExpression boundExpr)
-
setRightLiteral
public SingleDrlxParseSuccess setRightLiteral(Object rightLiteral)
-
setStatic
public SingleDrlxParseSuccess setStatic(boolean isStatic)
-
setTemporal
public SingleDrlxParseSuccess setTemporal(boolean temporal)
-
setCombined
public SingleDrlxParseSuccess setCombined(boolean combined)
-
setSkipThisAsParam
public SingleDrlxParseSuccess setSkipThisAsParam(boolean skipThisAsParam)
-
getExprId
public String getExprId(DRLIdGenerator exprIdGenerator)
-
asUnificationTypedExpression
public Optional<UnificationTypedExpression> asUnificationTypedExpression(TypedExpression expression)
-
getPatternBinding
public String getPatternBinding()
-
setExpr
public void setExpr(com.github.javaparser.ast.expr.Expression expr)
-
getAccumulateBinding
public String getAccumulateBinding()
-
setAccumulateBinding
public void setAccumulateBinding(String accumulateBinding)
-
setExprBinding
public SingleDrlxParseSuccess setExprBinding(String exprBinding)
-
hasUnificationVariable
public boolean hasUnificationVariable()
-
getUnificationVariable
public String getUnificationVariable()
-
getUnificationName
public String getUnificationName()
-
getUnificationVariableType
public Class<?> getUnificationVariableType()
-
getExpr
public com.github.javaparser.ast.expr.Expression getExpr()
-
getExprBinding
public String getExprBinding()
-
getExprType
public Type getExprType()
-
getExprRawClass
public Class<?> getExprRawClass()
-
getLeftExprRawClass
public Class<?> getLeftExprRawClass()
-
getLeftExprTypeBeforeCoercion
public Class<?> getLeftExprTypeBeforeCoercion()
-
getPatternType
public Class<?> getPatternType()
-
getPatternJPType
public com.github.javaparser.ast.type.Type getPatternJPType()
-
isPatternBindingUnification
public boolean isPatternBindingUnification()
-
getDecodeConstraintType
public org.drools.model.Index.ConstraintType getDecodeConstraintType()
-
getUsedDeclarations
public Collection<String> getUsedDeclarations()
-
getLeft
public TypedExpression getLeft()
-
getRight
public TypedExpression getRight()
-
getBoundExpr
public TypedExpression getBoundExpr()
-
getRightLiteral
public Object getRightLiteral()
-
isStatic
public boolean isStatic()
-
isTemporal
public boolean isTemporal()
-
isCombined
public boolean isCombined()
-
isPredicate
public boolean isPredicate()
-
setIsPredicate
public SingleDrlxParseSuccess setIsPredicate(boolean predicate)
-
isSkipThisAsParam
public boolean isSkipThisAsParam()
-
setBetaConstraint
public SingleDrlxParseSuccess setBetaConstraint(boolean betaConstraint)
-
isBetaConstraint
public boolean isBetaConstraint()
-
setRequiresSplit
public SingleDrlxParseSuccess setRequiresSplit(boolean requiresSplit)
-
isRequiresSplit
public boolean isRequiresSplit()
-
setUnification
public SingleDrlxParseSuccess setUnification(boolean unification)
-
isUnification
public boolean isUnification()
-
combineWith
public DrlxParseResult combineWith(DrlxParseResult other, com.github.javaparser.ast.expr.BinaryExpr.Operator operator)
-
setOriginalDrlConstraint
public DrlxParseResult setOriginalDrlConstraint(String originalDrlConstraint)
-
getOriginalDrlConstraint
public String getOriginalDrlConstraint()
-
setImplicitCastExpression
public SingleDrlxParseSuccess setImplicitCastExpression(Optional<com.github.javaparser.ast.expr.Expression> implicitCastExpression)
-
getImplicitCastExpression
public Optional<com.github.javaparser.ast.expr.Expression> getImplicitCastExpression()
-
getNullSafeExpressions
public List<com.github.javaparser.ast.expr.Expression> getNullSafeExpressions()
-
setNullSafeExpressions
public SingleDrlxParseSuccess setNullSafeExpressions(List<com.github.javaparser.ast.expr.Expression> nullSafeExpressions)
-
setVariablesFromDifferentPattern
public SingleDrlxParseSuccess setVariablesFromDifferentPattern(Set<String> variablesFromDifferentPattern)
-
-