public abstract class AbstractEvaluationOperator extends AbstractAddon implements IEvaluationOperator
Constructor and Description |
---|
AbstractEvaluationOperator() |
Modifier and Type | Method and Description |
---|---|
AbstractEvaluationOperator |
clone()
Clones the Addon.
|
void |
compile(ICompilationContext ctxt,
IEvaluationCondition condition)
Does nothing except logging in basic implementation
|
protected void |
compileOperator(ICompilationContext ctxt,
IEvaluationCondition condition)
Does nothing in basic implementation
|
boolean |
equals(Object o) |
Class<?> |
getReferenceExpectedType(Class<?> srcType,
Class<?> srcGenericType)
Returns null in basic implementation.
|
Class<?> |
getReferencePreferredType(Class<?> srcType,
Class<?> srcGenericType)
Returns null in basic implementation.
|
Class<?> |
getSourceExpectedType()
Returns null in basic implementation.
|
int |
hashCode() |
void |
toString(OuterWithLevel outer)
Method used to send String representation of the current object to the
OuterWithLevel . |
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, toString, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
evaluate, getInverted, getNegated, getRepresentation
getImplementationId, getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public final void compile(ICompilationContext ctxt, IEvaluationCondition condition) throws MRuleValidationException
compile
in interface IEvaluationOperator
MRuleValidationException
protected void compileOperator(ICompilationContext ctxt, IEvaluationCondition condition) throws MRuleValidationException
MRuleValidationException
public Class<?> getSourceExpectedType()
getSourceExpectedType
in interface IEvaluationOperator
public Class<?> getReferenceExpectedType(Class<?> srcType, Class<?> srcGenericType)
getReferenceExpectedType
in interface IEvaluationOperator
srcType
- If known, the source accessor type should be provided to make better prevision.srcGenericType
- If known, the source accessor generic type should be provided to make better prevision.public Class<?> getReferencePreferredType(Class<?> srcType, Class<?> srcGenericType)
getReferencePreferredType
in interface IEvaluationOperator
srcType
- If known, the source accessor type should be provided to make better prevision.srcGenericType
- If known, the source accessor generic type should be provided to make better prevision.public void toString(OuterWithLevel outer) throws IOException
Outable
OuterWithLevel
.toString
in interface Outable
IOException
public AbstractEvaluationOperator clone()
IAddon
clone
in interface IAddon
clone
in interface IMRulesObject
clone
in interface IEvaluationOperator
clone
in class AbstractAddon