Example #1
0
 public int compareTo(de.fu.weave.orm.Entity entity) {
   if (entity == null) return -1;
   if (entity instanceof Room) {
     return compareTo((Room) entity);
   }
   return getClass().getName().compareTo(entity.getClass().getName());
 }
Example #2
0
 @Override
 public int compareTo(de.fu.weave.orm.Entity entity) {
   if (entity instanceof Year) {
     return compareTo((Year) entity);
   }
   return getClass().getName().compareTo(entity.getClass().getName());
 }
Example #3
0
 @Override
 public int compareTo(de.fu.weave.orm.Entity entity) {
   if (entity instanceof CourseAttribute) {
     return compareTo((CourseAttribute) entity);
   }
   return getClass().getName().compareTo(entity.getClass().getName());
 }