コード例 #1
0
 /**
  * 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;
 }
コード例 #2
0
 /** {@inheritDoc} */
 @Override
 public int compareTo(QueueBooking o) {
   return this.getSeton().compareTo(o.getSeton());
 }