From 1e5c2015013794320b0f9043b6e5761a209b351e Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 10 Jun 2009 20:59:34 +0000 Subject: [PATCH] Javadocs. --- src/java/com/samskivert/depot/Ops.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/java/com/samskivert/depot/Ops.java b/src/java/com/samskivert/depot/Ops.java index c7cdaf2..12d71e9 100644 --- a/src/java/com/samskivert/depot/Ops.java +++ b/src/java/com/samskivert/depot/Ops.java @@ -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 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 conditions) { return new Or(conditions); } + /** + * Creates an {@link Or} with the supplied target expressions. + */ public static Or or (SQLExpression... conditions) { return new Or(conditions);