@Test public void testFoo() { Iterator<Foo> foos = repository.query(new Foo()).list().iterator(); assertTrue(foos.hasNext()); assertTrue(foos.next().getClass() == Foo.class); assertTrue(foos.hasNext()); assertTrue(foos.next().getClass() == FooEx.class); assertFalse(foos.hasNext()); }
public Query(Repository repository) { super(repository); }
Query extends Operation { public Query(Repository repository) { super(repository); } }
Query extends Operation { public Query(Repository repository) { super(repository); } Query(Repository repository); }
Query extends Operation { public Query(Repository repository) { super(repository); } Query(Repository repository); Match<Propoid> now(Propoid propoid, Where where); static Uri getUri(Class<? extends Propoid> type); }
Query extends Operation { public Query(Repository repository) { super(repository); } Query(Repository repository); Match<Propoid> now(Propoid propoid, Where where); static Uri getUri(Class<? extends Propoid> type);  }