/** * return an empty {@link QueueBooking}. this must only be used for db queries by example. * * @param sessionStart real session time frame start * @param sessionEnd real session time frame end * @return an empty {@link QueueBooking}. */ public static QueueBooking getBooking4Query(long sessionStart, long sessionEnd) { QueueBooking result = getBooking4Query(); result.setRealSessionTimeFrame(sessionStart, sessionEnd); return result; }
/** {@inheritDoc} */ @Override public int compareTo(QueueBooking o) { return this.getSeton().compareTo(o.getSeton()); }