public static class TemporalRestriction.BegunByRestriction extends TemporalRestriction
Self/Other | Period | Instant |
Period | self.begin = other.begin AND self.end > other.end | self.begin = other.position | 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 |
---|
BegunByRestriction() |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.criterion.Criterion |
filterPeriodWithInstant(String selfBegin,
String selfEnd,
Date otherPosition)
Applies this restriction to the specified time period and time instance.
|
protected org.hibernate.criterion.Criterion |
filterPeriodWithPeriod(String selfBegin,
String selfEnd,
Date otherBegin,
Date otherEnd)
Applies this restriction to the specified time periods.
|
filterInstantWithInstant, filterInstantWithPeriod, 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 filterPeriodWithInstant(String selfBegin, String selfEnd, Date otherPosition)
TemporalRestriction
filterPeriodWithInstant
in class TemporalRestriction
selfBegin
- the property name of the begin time stampselfEnd
- the property name of the end time stampotherPosition
- the position of the compared time instanceCopyright © 2012-2015 52north.org. All Rights Reserved.