public static class TemporalRestriction.OverlapsRestriction extends TemporalRestriction
Self/Other | Period | Instant |
Period | self.begin < other.begin AND self.end > other.begin AND self.end < other.end | not defined | Instant | not defined | not defined |
TemporalRestriction.AfterRestriction, TemporalRestriction.BeforeRestriction, TemporalRestriction.BeginsRestriction, TemporalRestriction.BegunByRestriction, TemporalRestriction.ContainsRestriction, TemporalRestriction.DuringRestriction, TemporalRestriction.EndedByRestriction, TemporalRestriction.EndsRestriction, TemporalRestriction.MeetsRestriction, TemporalRestriction.MetByRestriction, TemporalRestriction.OverlappedByRestriction, TemporalRestriction.OverlapsRestriction, TemporalRestriction.TEqualsRestriction
Constructor and Description |
---|
OverlapsRestriction() |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.criterion.Criterion |
filterPeriodWithPeriod(String selfBegin,
String selfEnd,
Date otherBegin,
Date otherEnd)
Applies this restriction to the specified time periods.
|
filterInstantWithInstant, filterInstantWithPeriod, filterPeriodWithInstant, get, getPropertyCheckingCriterion, greater, isInstant, isPeriod, lower
protected org.hibernate.criterion.Criterion filterPeriodWithPeriod(String selfBegin, String selfEnd, Date otherBegin, Date otherEnd)
TemporalRestriction
filterPeriodWithPeriod
in class TemporalRestriction
selfBegin
- the property name of the begin time stampselfEnd
- the property name of the end time stampotherBegin
- the begin instance of the compared time periodotherEnd
- the end instance of the compared time periodCopyright © 2012-2014 52north.org. All Rights Reserved.