Class ComparableConditionInspector<T extends java.lang.Comparable<T>>
- java.lang.Object
-
- org.drools.verifier.core.cache.inspectors.condition.ConditionInspector<T>
-
- org.drools.verifier.core.cache.inspectors.condition.ComparableConditionInspector<T>
-
- All Implemented Interfaces:
HasKeys,HasUUID,HumanReadable,IsConflicting,IsConflicting.Covers<T>,IsOverlapping,IsRedundant,IsSubsuming
- Direct Known Subclasses:
BooleanConditionInspector,NumericIntegerConditionInspector,StringConditionInspector
public class ComparableConditionInspector<T extends java.lang.Comparable<T>> extends ConditionInspector<T> implements IsConflicting.Covers<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.verifier.core.relations.IsConflicting
IsConflicting.Covers<T>
-
-
Constructor Summary
Constructors Constructor Description ComparableConditionInspector(FieldCondition condition, AnalyzerConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconflicts(java.lang.Object other)booleancovers(java.lang.Comparable<T> otherValue)FieldgetField()OperatorgetOperator()booleanoverlaps(java.lang.Object other)booleansubsumes(java.lang.Object other)java.lang.StringtoHumanReadableString()-
Methods inherited from class org.drools.verifier.core.cache.inspectors.condition.ConditionInspector
equals, getCondition, getUuidKey, getValue, getValues, hashCode, hasValue, isRedundant, keys, toString, valueIsEqualTo, valueIsGreaterThan, valueIsGreaterThanOrEqualTo, valueIsLessThan, valueIsLessThanOrEqualTo
-
-
-
-
Constructor Detail
-
ComparableConditionInspector
public ComparableConditionInspector(FieldCondition condition, AnalyzerConfiguration configuration)
-
-
Method Detail
-
getField
public Field getField()
-
getOperator
public Operator getOperator()
-
conflicts
public boolean conflicts(java.lang.Object other)
- Specified by:
conflictsin interfaceIsConflicting<T extends java.lang.Comparable<T>>
-
overlaps
public boolean overlaps(java.lang.Object other)
- Specified by:
overlapsin interfaceIsOverlapping
-
subsumes
public boolean subsumes(java.lang.Object other)
- Specified by:
subsumesin interfaceIsSubsuming<T extends java.lang.Comparable<T>>
-
covers
public boolean covers(java.lang.Comparable<T> otherValue)
- Specified by:
coversin interfaceIsConflicting.Covers<T extends java.lang.Comparable<T>>
-
toHumanReadableString
public java.lang.String toHumanReadableString()
- Specified by:
toHumanReadableStringin interfaceHumanReadable- Specified by:
toHumanReadableStringin classConditionInspector<T extends java.lang.Comparable<T>>
-
-