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()); }
@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()); }
@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()); }