public static class TemporalRestriction.BeginsRestriction extends TemporalRestriction
Self/Other | Period | Instant |
Period | self.begin = other.begin AND self.end < other.end | not defined | Instant | self.position = other.begin | 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 |
---|
BeginsRestriction() |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.criterion.Criterion |
filterInstantWithPeriod(String selfPosition,
Date otherBegin,
Date otherEnd,
boolean periodFromReducedPrecisionInstant)
Applies this restriction to the specified time instance and time period.
|
protected org.hibernate.criterion.Criterion |
filterPeriodWithPeriod(String selfBegin,
String selfEnd,
Date otherBegin,
Date otherEnd)
Applies this restriction to the specified time periods.
|
filterInstantWithInstant, 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 periodprotected org.hibernate.criterion.Criterion filterInstantWithPeriod(String selfPosition, Date otherBegin, Date otherEnd, boolean periodFromReducedPrecisionInstant)
TemporalRestriction
filterInstantWithPeriod
in class TemporalRestriction
selfPosition
- the property name of the instanceotherBegin
- the begin instance of the compared time periodotherEnd
- the end instance of the compared time periodperiodFromReducedPrecisionInstant
- was the period interpreted from a reduced precision time?
see DateTimeHelper.setDateTime2EndOfMostPreciseUnit4RequestedEndPositionCopyright © 2012-2014 52north.org. All Rights Reserved.