Package org.openl.rules.types.impl
Class MatchingConstraint<P,C>
- java.lang.Object
-
- org.openl.rules.types.impl.MatchingConstraint<P,C>
-
public abstract class MatchingConstraint<P,C> extends Object
-
-
Constructor Summary
Constructors Constructor Description MatchingConstraint()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static <T> booleanCONTAINS(Comparable<T>[] cmp1, Comparable<T> cmp2)static <T> booleanEQ(Comparable<T> cmp1, Comparable<T> cmp2)static <T> booleanGE(Comparable<T> cmp1, Comparable<T> cmp2)protected abstract CgetContextValue(IRulesRuntimeContext context)protected abstract PgetPropertyValue(ITableProperties properties)static <T> booleanLE(Comparable<T> cmp1, Comparable<T> cmp2)MatchingResultmatch(ITableProperties properties, IRulesRuntimeContext context)protected abstract booleanmatchNotNulls(P propValue, C contextValue)MatchingResultmatchValues(P propertyValue, C contextValue)
-
-
-
Method Detail
-
match
public MatchingResult match(ITableProperties properties, IRulesRuntimeContext context)
-
matchValues
public MatchingResult matchValues(P propertyValue, C contextValue)
-
getPropertyValue
protected abstract P getPropertyValue(ITableProperties properties)
-
getContextValue
protected abstract C getContextValue(IRulesRuntimeContext context)
-
LE
public static <T> boolean LE(Comparable<T> cmp1, Comparable<T> cmp2)
-
GE
public static <T> boolean GE(Comparable<T> cmp1, Comparable<T> cmp2)
-
EQ
public static <T> boolean EQ(Comparable<T> cmp1, Comparable<T> cmp2)
-
CONTAINS
public static <T> boolean CONTAINS(Comparable<T>[] cmp1, Comparable<T> cmp2)
-
-