From 91641d6548bb486ec23392eca589a9ce2b78c911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Westk=C3=A4mper?= Date: Mon, 5 Jan 2009 12:58:57 +0000 Subject: [PATCH] separated ExprFactory into interface and implementation --- .../mysema/query/collections/ExprFactory.java | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 querydsl-collections/src/main/java/com/mysema/query/collections/ExprFactory.java diff --git a/querydsl-collections/src/main/java/com/mysema/query/collections/ExprFactory.java b/querydsl-collections/src/main/java/com/mysema/query/collections/ExprFactory.java new file mode 100644 index 000000000..9afc5875b --- /dev/null +++ b/querydsl-collections/src/main/java/com/mysema/query/collections/ExprFactory.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2008 Mysema Ltd. + * All rights reserved. + * + */ +package com.mysema.query.collections; + +import com.mysema.query.grammar.types.ColTypes.ExtString; +import com.mysema.query.grammar.types.Path.*; + +/** + * ExprFactory provides + * + * @author tiwe + * @version $Id$ + */ +public interface ExprFactory { + + PBoolean create(Boolean arg); + + PBooleanArray create(Boolean[] args); + + > PComparable create(D arg); + + PSimple create(D arg); + + > PComparableArray create(D[] args); + + ExtString create(String arg); + + PStringArray create(String[] args); + +} \ No newline at end of file