This commit is contained in:
Timo Westkämper 2008-11-14 12:07:44 +00:00
parent f78bb80bc2
commit 0daa5385a7
2 changed files with 5 additions and 59 deletions

View File

@ -17,13 +17,12 @@ import static com.mysema.query.grammar.types.Expr.*;
* @version $Id$
*/
public interface Query<A extends Query<A>>{
//A select(Expr<?>... o);
A from(Entity<?>... o);
@Deprecated A innerJoin(Entity<?> o);
@Deprecated A join(Entity<?> o);
@Deprecated A fullJoin(Entity<?> o);
@Deprecated A leftJoin(Entity<?> o);
@Deprecated A with(Expr.Boolean o);
A innerJoin(Entity<?> o);
A join(Entity<?> o);
A fullJoin(Entity<?> o);
A leftJoin(Entity<?> o);
A with(Expr.Boolean o);
A where(Expr.Boolean o);
A groupBy(Expr<?>... o);
A having(Expr.Boolean o);

View File

@ -1,53 +0,0 @@
/*
* Copyright (c) 2008 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.query;
/**
* Results provides
*
* @author tiwe
* @version $Id$
*/
public interface Result {
public interface Result2<A,B> extends Result{
A getFirst();
B getSecond();
}
public interface Result3<A,B,C> extends Result2<A,B>{
C getThird();
}
public interface Result4<A,B,C,D> extends Result3<A,B,C>{
D getFourth();
}
public interface Result5<A,B,C,D,E> extends Result4<A,B,C,D>{
E getFifth();
}
public interface Result6<A,B,C,D,E,F> extends Result5<A,B,C,D,E>{
F getSixth();
}
public interface Result7<A,B,C,D,E,F,G> extends Result6<A,B,C,D,E,F>{
G getSeventh();
}
public interface Result8<A,B,C,D,E,F,G,H> extends Result7<A,B,C,D,E,F,G>{
H getEighth();
}
public interface Result9<A,B,C,D,E,F,G,H,I> extends Result8<A,B,C,D,E,F,G,H>{
I getNinth();
}
public interface Result10<A,B,C,D,E,F,G,H,I,J> extends Result9<A,B,C,D,E,F,G,H,I>{
J getTenth();
}
}