public class ComparableConditionInspector<T extends Comparable<T>> extends ConditionInspector implements Covers<T>
| Modifier and Type | Field and Description |
|---|---|
protected Operator |
operator |
protected T |
value |
key| Constructor and Description |
|---|
ComparableConditionInspector(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 pattern,
String factField,
T value,
String operator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
conflicts(Object other) |
boolean |
covers(Comparable<T> otherValue) |
Operator |
getOperator() |
T |
getValue() |
boolean |
hasValue() |
boolean |
isRedundant(Object object) |
boolean |
overlaps(Object other) |
boolean |
subsumes(Object other) |
String |
toHumanReadableString() |
getFactField, getKey, getPattern, nullSafeEqualsprotected final Operator operator
protected final T extends Comparable<T> value
public T getValue()
public Operator getOperator()
public boolean conflicts(Object other)
conflicts in interface IsConflictingpublic boolean isRedundant(Object object)
isRedundant in interface IsRedundantpublic boolean hasValue()
hasValue in class ConditionInspectorpublic boolean overlaps(Object other)
overlaps in interface IsOverlappingpublic boolean subsumes(Object other)
subsumes in interface IsSubsumingpublic boolean covers(Comparable<T> otherValue)
covers in interface Covers<T extends Comparable<T>>public String toHumanReadableString()
toHumanReadableString in class ConditionInspectorCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.