Index extends Operation { public Index(Repository repository) { super(repository); } Index(Repository repository); void now(Propoid propoid, boolean unique, Order... ordering);  }
@Test public void test() throws Exception { Foo foo = new Foo(); repository.index(foo, true, Order.ascending(foo.intP), Order.ascending(foo.longP)); repository.index(foo, false, Order.descending(foo.intP), Order.descending(foo.longP)); }