@PersistantProperty(property="min") @PersistantProperty(property="max") public class BETWEEN extends AbstractEvaluationOperator
| Modifier and Type | Field and Description |
|---|---|
static String |
BETWEEN_ID |
| Constructor and Description |
|---|
BETWEEN() |
BETWEEN(IReadAccessor min,
IReadAccessor max) |
| Modifier and Type | Method and Description |
|---|---|
BETWEEN |
clone()
Clones the Addon.
|
protected void |
compileOperator(ICompilationContext ctxt,
IEvaluationCondition condition)
Does nothing in basic implementation
|
boolean |
equals(Object obj) |
boolean |
evaluate(IExecutionContext ctxt,
IEvaluationCondition condition)
Evaluate result for this operator.
|
String |
getImplementationId()
Unique addon implementation ID.
|
IEvaluationOperator |
getInverted()
Returns a new instance instance of Evaluation operator, allowing to invert the operands.
|
IReadAccessor |
getMax() |
IReadAccessor |
getMin() |
IEvaluationOperator |
getNegated()
Returns a new instance instance of Evaluation operator, allowing to negate the operands.
|
Class<?> |
getReferenceExpectedType(Class<?> srcType,
Class<?> srcGenericType)
Returns null in basic implementation.
|
String |
getRepresentation()
String representation for human read
|
Class<?> |
getSourceExpectedType()
Returns null in basic implementation.
|
int |
hashCode() |
void |
setMax(IReadAccessor max) |
void |
setMin(IReadAccessor min) |
void |
toString(OuterWithLevel outer)
Method used to send String representation of the current object to the
OuterWithLevel. |
compile, getReferencePreferredTypegetInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, toString, wasRegisteredgetDebugInfo, getDescription, getName, setDebugInfo, setDescription, setNamefinalize, getClass, notify, notifyAll, wait, wait, waitgetInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegisteredgetDebugInfo, getDescription, getName, setDebugInfo, setDescription, setNamepublic static final String BETWEEN_ID
public BETWEEN()
public BETWEEN(IReadAccessor min, IReadAccessor max)
protected void compileOperator(ICompilationContext ctxt, IEvaluationCondition condition) throws MRuleValidationException
AbstractEvaluationOperatorcompileOperator in class AbstractEvaluationOperatorMRuleValidationExceptionpublic boolean evaluate(IExecutionContext ctxt, IEvaluationCondition condition) throws MConditionEvaluationException
IEvaluationOperatorMConditionEvaluationExceptionpublic IEvaluationOperator getInverted()
IEvaluationOperatorpublic IEvaluationOperator getNegated()
IEvaluationOperatorpublic String getRepresentation()
IEvaluationOperatorpublic String getImplementationId()
IAddonpublic void toString(OuterWithLevel outer) throws IOException
OutableOuterWithLevel.toString in interface OutabletoString in class AbstractEvaluationOperatorIOExceptionpublic Class<?> getSourceExpectedType()
AbstractEvaluationOperatorgetSourceExpectedType in interface IEvaluationOperatorgetSourceExpectedType in class AbstractEvaluationOperatorpublic Class<?> getReferenceExpectedType(Class<?> srcType, Class<?> srcGenericType)
AbstractEvaluationOperatorgetReferenceExpectedType in interface IEvaluationOperatorgetReferenceExpectedType in class AbstractEvaluationOperatorsrcType - 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 BETWEEN clone()
IAddonclone in interface IAddonclone in interface IMRulesObjectclone in interface IEvaluationOperatorclone in class AbstractEvaluationOperatorpublic boolean equals(Object obj)
equals in class AbstractEvaluationOperatorpublic int hashCode()
hashCode in class AbstractEvaluationOperatorpublic IReadAccessor getMin()
public void setMin(IReadAccessor min)
public IReadAccessor getMax()
public void setMax(IReadAccessor max)