@@ -0,0 +1,1065 @@
+package models;%0A%0Aimport com.alvazan.orm.api.base.CursorToMany;%0A%0Apublic abstract class RemoveSafeCursor%3CT%3E implements CursorToMany%3CT%3E %7B%0A%09private CursorToMany%3CT%3E delegate = null;%0A%0A%09public RemoveSafeCursor(CursorToMany%3CT%3E underlyingCursor) %7B%0A%09%09delegate = underlyingCursor;%0A%09%7D%0A%09@Override%0A%09public void beforeFirst() %7B%0A%09%09delegate.beforeFirst();%0A%09%7D%0A%0A%09@Override%0A%09public boolean next() %7B%0A%09%09boolean delegateHasNext = delegate.next();%0A%09%09if (delegateHasNext) %7B%0A%09%09%09if (isDeleted(delegate.getCurrent())) %7B%0A%09%09%09%09delegate.removeCurrent();%0A%09%09%09%09return next();%0A%09%09%09%7D%0A%09%09%09return true;%0A%09%09%7D%0A%09%09return false;%0A%09%7D%0A%0A%09protected abstract boolean isDeleted(Object next);%0A%09%0A%09@Override%0A%09public T getCurrent() %7B%0A%09%09return delegate.getCurrent();%0A%09%7D%0A%0A%09@Override%0A%09public void afterLast() %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%7D%0A%0A%09@Override%0A%09public boolean previous() %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09return false;%0A%09%7D%0A%0A%09@Override%0A%09public void removeCurrent() %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%7D%0A%0A%09@Override%0A%09public void addElement(T element) %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%7D%0A%0A%7D%0A

tweak to remove table code