public abstract class TimeCreator extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
TimeCreator.MinMax |
Constructor and Description |
---|
TimeCreator() |
Modifier and Type | Method and Description |
---|---|
void |
addMinMaxProjection(org.hibernate.Criteria criteria,
TimeCreator.MinMax minMax,
String property)
Add min/max projection to criteria
|
TimePeriod |
createTimePeriod(Timestamp minStart,
Timestamp maxStart,
Timestamp maxEnd)
Creates a time period object from sources
|
public TimePeriod createTimePeriod(Timestamp minStart, Timestamp maxStart, Timestamp maxEnd)
minStart
- Min start timestampmaxStart
- Max start timestampmaxEnd
- Max end timestamppublic void addMinMaxProjection(org.hibernate.Criteria criteria, TimeCreator.MinMax minMax, String property)
criteria
- Hibernate Criteria to add projectionminMax
- Min/Max identifierproperty
- Property to apply projection toCopyright © 2012-2015 52north.org. All Rights Reserved.