Class AbstractTemporalPredicate<T extends AbstractTemporalPredicate>
- java.lang.Object
-
- org.drools.model.functions.temporal.AbstractTemporalPredicate<T>
-
- All Implemented Interfaces:
TemporalPredicate,ModelComponent
- Direct Known Subclasses:
AfterPredicate,BeforePredicate,CoincidesPredicate,DuringPredicate,FinishedbyPredicate,FinishesPredicate,IncludesPredicate,MeetsPredicate,MetbyPredicate,OverlappedbyPredicate,OverlapsPredicate,StartedbyPredicate,StartsPredicate
public abstract class AbstractTemporalPredicate<T extends AbstractTemporalPredicate> extends Object implements TemporalPredicate, ModelComponent
-
-
Field Summary
Fields Modifier and Type Field Description protected booleannegatedprotected booleanthisOnRight
-
Constructor Summary
Constructors Constructor Description AbstractTemporalPredicate()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanisEqualTo(ModelComponent other)booleanisNegated()protected abstract booleanisTemporalPredicateEqualTo(T other)booleanisThisOnRight()TemporalPredicatenegate()TemporalPredicatesetNegated(boolean negated)TemporalPredicatethisOnRight()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.model.functions.temporal.TemporalPredicate
evaluate, getInterval
-
-
-
-
Method Detail
-
setNegated
public TemporalPredicate setNegated(boolean negated)
-
isNegated
public boolean isNegated()
- Specified by:
isNegatedin interfaceTemporalPredicate
-
isEqualTo
public boolean isEqualTo(ModelComponent other)
- Specified by:
isEqualToin interfaceModelComponent
-
isTemporalPredicateEqualTo
protected abstract boolean isTemporalPredicateEqualTo(T other)
-
negate
public TemporalPredicate negate()
- Specified by:
negatein interfaceTemporalPredicate
-
isThisOnRight
public boolean isThisOnRight()
- Specified by:
isThisOnRightin interfaceTemporalPredicate
-
thisOnRight
public TemporalPredicate thisOnRight()
- Specified by:
thisOnRightin interfaceTemporalPredicate
-
-