public abstract class MatchingConstraint<P,C> extends Object
| Constructor and Description |
|---|
MatchingConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
CONTAINS(Comparable<T>[] cmp1,
Comparable<T> cmp2) |
static <T> boolean |
EQ(Comparable<T> cmp1,
Comparable<T> cmp2) |
static <T> boolean |
GE(Comparable<T> cmp1,
Comparable<T> cmp2) |
protected abstract C |
getContextValue(IRulesRuntimeContext context) |
protected abstract P |
getPropertyValue(ITableProperties properties) |
static <T> boolean |
LE(Comparable<T> cmp1,
Comparable<T> cmp2) |
MatchingResult |
match(ITableProperties properties,
IRulesRuntimeContext context) |
protected abstract boolean |
matchNotNulls(P propValue,
C contextValue) |
MatchingResult |
matchValues(P propertyValue,
C contextValue) |
public MatchingResult match(ITableProperties properties, IRulesRuntimeContext context)
public MatchingResult matchValues(P propertyValue, C contextValue)
protected abstract P getPropertyValue(ITableProperties properties)
protected abstract C getContextValue(IRulesRuntimeContext context)
public static <T> boolean LE(Comparable<T> cmp1, Comparable<T> cmp2)
public static <T> boolean GE(Comparable<T> cmp1, Comparable<T> cmp2)
public static <T> boolean EQ(Comparable<T> cmp1, Comparable<T> cmp2)
public static <T> boolean CONTAINS(Comparable<T>[] cmp1, Comparable<T> cmp2)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.