Javadocs.

This commit is contained in:
Michael Bayne
2009-06-10 20:59:34 +00:00
parent 6d520a33d6
commit 1e5c201501
+15
View File
@@ -33,26 +33,41 @@ import com.samskivert.depot.operator.Or;
*/
public class Ops
{
/**
* Creates a {@link Not} with the supplied target expression.
*/
public static Not not (SQLExpression expr)
{
return new Not(expr);
}
/**
* Creates an {@link And} with the supplied target expressions.
*/
public static And and (Collection<? extends SQLExpression> conditions)
{
return new And(conditions);
}
/**
* Creates an {@link And} with the supplied target expressions.
*/
public static And and (SQLExpression... conditions)
{
return new And(conditions);
}
/**
* Creates an {@link Or} with the supplied target expressions.
*/
public static Or or (Collection<? extends SQLExpression> conditions)
{
return new Or(conditions);
}
/**
* Creates an {@link Or} with the supplied target expressions.
*/
public static Or or (SQLExpression... conditions)
{
return new Or(conditions);