You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by rr...@apache.org on 2009/09/11 17:07:51 UTC

svn commit: r813870 [6/15] - in /ode/branches/APACHE_ODE_1.X: ./ agents/src/main/java/org/apache/ode/agents/memory/ agents/src/main/resources/META-INF/ axis2-war/src/main/webapp/ axis2-war/src/main/webapp/WEB-INF/ axis2-war/src/main/webapp/WEB-INF/clas...

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LikeEvaluator.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LikeEvaluator.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LikeEvaluator.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LikeEvaluator.java Fri Sep 11 15:07:05 2009
@@ -1,24 +1,24 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.eval.skel;
-
-public interface LikeEvaluator<ID, R, PARAMC> extends CMPEvaluator<ID, R, PARAMC> {
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.eval.skel;
+
+public interface LikeEvaluator<ID, R, PARAMC> extends CMPEvaluator<ID, R, PARAMC> {
+
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LikeEvaluator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LogicEvaluator.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LogicEvaluator.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LogicEvaluator.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LogicEvaluator.java Fri Sep 11 15:07:05 2009
@@ -1,24 +1,24 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.eval.skel;
-
-public interface LogicEvaluator<R, PARAMC> extends CommandEvaluator<R, PARAMC>, CommandContainer {
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.eval.skel;
+
+public interface LogicEvaluator<R, PARAMC> extends CommandEvaluator<R, PARAMC>, CommandContainer {
+
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/LogicEvaluator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/NestedCommandEvaluator.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/NestedCommandEvaluator.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/NestedCommandEvaluator.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/NestedCommandEvaluator.java Fri Sep 11 15:07:05 2009
@@ -1,24 +1,24 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.eval.skel;
-
-public interface NestedCommandEvaluator<R, PARAMC> extends CommandEvaluator<R, PARAMC> {
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.eval.skel;
+
+public interface NestedCommandEvaluator<R, PARAMC> extends CommandEvaluator<R, PARAMC> {
+
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/NestedCommandEvaluator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/OrderByEvaluator.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/OrderByEvaluator.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/OrderByEvaluator.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/OrderByEvaluator.java Fri Sep 11 15:07:05 2009
@@ -1,24 +1,24 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.eval.skel;
-
-public interface OrderByEvaluator<R, PARAMC> extends CommandEvaluator<R, PARAMC> {
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.eval.skel;
+
+public interface OrderByEvaluator<R, PARAMC> extends CommandEvaluator<R, PARAMC> {
+
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/eval/skel/OrderByEvaluator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTAnd.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTEqual.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTField.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTField.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTField.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTField.java Fri Sep 11 15:07:05 2009
@@ -1,42 +1,42 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.jcc;
-
-public class ASTField extends SimpleNode {
-    protected String name;
-
-    public ASTField(int id) {
-        super(id);
-    }
-    /**
-     * @return the name
-     */
-    public String getName() {
-        return name;
-    }
-
-    /**
-     * @param name the name to set
-     */
-    public void setName(String name) {
-        this.name = name;
-    }
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.jcc;
+
+public class ASTField extends SimpleNode {
+    protected String name;
+
+    public ASTField(int id) {
+        super(id);
+    }
+    /**
+     * @return the name
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * @param name the name to set
+     */
+    public void setName(String name) {
+        this.name = name;
+    }
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTField.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTGE.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTGreater.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTIn.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTInValues.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTLE.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTLess.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTLike.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTLimit.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTLimit.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTLimit.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTLimit.java Fri Sep 11 15:07:05 2009
@@ -1,50 +1,50 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.jcc;
-
-public class ASTLimit extends SimpleNode {
-    private int number;
-    
-    public ASTLimit(int id) {
-        super(id);
-    }
-
-    /**
-     * @return the number
-     */
-    public int getNumber() {
-        return number;
-    }
-
-    /**
-     * @param number the number to set
-     */
-    public void setNumber(int number) {
-        this.number = number;
-    }
-    
-    /**
-     * @param number the number to set
-     */
-    public void setNumber(String number) {
-        this.number = Integer.parseInt(number);
-    }
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.jcc;
+
+public class ASTLimit extends SimpleNode {
+    private int number;
+    
+    public ASTLimit(int id) {
+        super(id);
+    }
+
+    /**
+     * @return the number
+     */
+    public int getNumber() {
+        return number;
+    }
+
+    /**
+     * @param number the number to set
+     */
+    public void setNumber(int number) {
+        this.number = number;
+    }
+    
+    /**
+     * @param number the number to set
+     */
+    public void setNumber(String number) {
+        this.number = Integer.parseInt(number);
+    }
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTLimit.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOr.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderBy.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderBy.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderBy.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderBy.java Fri Sep 11 15:07:05 2009
@@ -1,42 +1,42 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.jcc;
-
-public class ASTOrderBy extends SimpleNode {
-    protected String name;
-
-    public ASTOrderBy(int id) {
-        super(id);
-    }
-    /**
-     * @return the name
-     */
-    public String getName() {
-        return name;
-    }
-
-    /**
-     * @param name the name to set
-     */
-    public void setName(String name) {
-        this.name = name;
-    }
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.jcc;
+
+public class ASTOrderBy extends SimpleNode {
+    protected String name;
+
+    public ASTOrderBy(int id) {
+        super(id);
+    }
+    /**
+     * @return the name
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * @param name the name to set
+     */
+    public void setName(String name) {
+        this.name = name;
+    }
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderBy.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderByField.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderType.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderType.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderType.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderType.java Fri Sep 11 15:07:05 2009
@@ -1,44 +1,44 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.jcc;
-
-public class ASTOrderType extends SimpleNode {
-    protected String value;
-
-    public ASTOrderType(int id) {
-        super(id);
-    }
-
-    /**
-     * @return the value
-     */
-    public String getValue() {
-        return value;
-    }
-
-    /**
-     * @param value the value to set
-     */
-    public void setValue(String value) {
-        this.value = value;
-    }
-    
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.jcc;
+
+public class ASTOrderType extends SimpleNode {
+    protected String value;
+
+    public ASTOrderType(int id) {
+        super(id);
+    }
+
+    /**
+     * @return the value
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * @param value the value to set
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+    
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTOrderType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTProperty.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTProperty.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTProperty.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTProperty.java Fri Sep 11 15:07:05 2009
@@ -1,42 +1,42 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.jcc;
-
-import javax.xml.namespace.QName;
-
-public class ASTProperty extends SimpleNode {
-    protected QName name;
-
-    public ASTProperty(int id) {
-        super(id);
-    }
-
-    public void setName(String value) {
-        name = QName.valueOf(value.substring(1));
-    }
-
-    /**
-     * @return the name
-     */
-    public QName getName() {
-        return name;
-    }
-   
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.jcc;
+
+import javax.xml.namespace.QName;
+
+public class ASTProperty extends SimpleNode {
+    protected QName name;
+
+    public ASTProperty(int id) {
+        super(id);
+    }
+
+    public void setName(String value) {
+        name = QName.valueOf(value.substring(1));
+    }
+
+    /**
+     * @return the name
+     */
+    public QName getName() {
+        return name;
+    }
+   
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTProperty.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTStart.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTValue.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTValue.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTValue.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTValue.java Fri Sep 11 15:07:05 2009
@@ -1,44 +1,44 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.jcc;
-
-public class ASTValue extends SimpleNode {
-    protected String value;
-
-    public ASTValue(int id) {
-        super(id);
-    }
-
-    /**
-     * @return the value
-     */
-    public String getValue() {
-        return value;
-    }
-
-    /**
-     * @param value the value to set
-     */
-    public void setValue(String value) {
-        //TODO
-        this.value = value.substring(1, value.length()-1);
-    }
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.jcc;
+
+public class ASTValue extends SimpleNode {
+    protected String value;
+
+    public ASTValue(int id) {
+        super(id);
+    }
+
+    /**
+     * @return the value
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * @param value the value to set
+     */
+    public void setValue(String value) {
+        //TODO
+        this.value = value.substring(1, value.length()-1);
+    }
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/ASTValue.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/Parser.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/Parser.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/Parser.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/Parser.java Fri Sep 11 15:07:05 2009
@@ -1,28 +1,28 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.jcc;
-
-import java.io.StringReader;
-
-public class Parser extends QLParser {
-    public Parser(String query) {
-        super(new StringReader(query));
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.jcc;
+
+import java.io.StringReader;
+
+public class Parser extends QLParser {
+    public Parser(String query) {
+        super(new StringReader(query));
+    }
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/Parser.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/SimpleNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/TreeBuilder.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/TreeBuilder.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/TreeBuilder.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/TreeBuilder.java Fri Sep 11 15:07:05 2009
@@ -1,231 +1,231 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.jcc;
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-import org.apache.ode.ql.tree.Builder;
-import org.apache.ode.ql.tree.nodes.Conjunction;
-import org.apache.ode.ql.tree.nodes.Disjunction;
-import org.apache.ode.ql.tree.nodes.Equality;
-import org.apache.ode.ql.tree.nodes.GE;
-import org.apache.ode.ql.tree.nodes.Greater;
-import org.apache.ode.ql.tree.nodes.Identifier;
-import org.apache.ode.ql.tree.nodes.In;
-import org.apache.ode.ql.tree.nodes.LE;
-import org.apache.ode.ql.tree.nodes.Less;
-import org.apache.ode.ql.tree.nodes.Like;
-import org.apache.ode.ql.tree.nodes.Limit;
-import org.apache.ode.ql.tree.nodes.LogicNode;
-import org.apache.ode.ql.tree.nodes.OrderBy;
-import org.apache.ode.ql.tree.nodes.OrderByElement;
-import org.apache.ode.ql.tree.nodes.OrderByType;
-import org.apache.ode.ql.tree.nodes.Query;
-import org.apache.ode.ql.tree.nodes.Value;
-
-public class TreeBuilder extends Builder<String> {
-    
-    public org.apache.ode.ql.tree.nodes.Node build(String query) {
-      try {
-        org.apache.ode.ql.jcc.ASTStart start = new Parser(query).start();
-        return build(start);
-      }catch(ParseException ex) {
-        //TODO create common exception which will indicate parsing exception
-        throw new RuntimeException(ex.getMessage(), ex);
-      }
-    }
-    private org.apache.ode.ql.tree.nodes.Node build(Node node) {
-        if(node instanceof ASTAnd) {
-            return createConjunction(node);
-        } 
-        if(node instanceof ASTOr) {
-            return createDisjunction(node);
-        } 
-        if(node instanceof ASTLess) {
-            return createLess(node);
-        }
-        if(node instanceof ASTGreater) {
-            return createGreater(node);
-        }
-        if(node instanceof ASTLE) {
-            return createLE(node);
-        }
-        if(node instanceof ASTIn) {
-            return createIn(node);
-        }
-        if(node instanceof ASTGE) {
-            return createGE(node);
-        }
-        if(node instanceof ASTEqual) {
-            return createEquality(node);
-        }
-        if(node instanceof ASTLike) {
-            return createLike(node);
-        }
-        if(node instanceof ASTStart) {
-            return createSelection((ASTStart)node);
-        }
-        throw new IllegalArgumentException("Unsupported node type "+node.getClass());
-    }
-    
-    private Query createSelection(ASTStart node) {
-        Collection<Object> childs = new ArrayList<Object>(node.jjtGetNumChildren());
-        OrderBy orderBy = null;
-        Limit limit = null;
-        for(int index = 0;index < node.jjtGetNumChildren();index++) {
-          Node childNode = node.jjtGetChild(index);
-            if(childNode instanceof ASTOrderBy) {
-              orderBy = createOrderBy(childNode);
-            } else if(childNode instanceof ASTLimit) {
-              limit = createLimit(childNode);
-            } else {
-              Object child = build(childNode);
-              childs.add(child);
-            }
-        }
-        return new Query(childs, orderBy, limit);
-    }
-    private OrderBy createOrderBy(Node node) {
-        Collection<OrderByElement> orders = new ArrayList<OrderByElement>(node.jjtGetNumChildren());
-        for(int i = 0;i < node.jjtGetNumChildren();i++) {
-          orders.add(createOrderByElement((ASTOrderByField)node.jjtGetChild(i)));
-        }
-        return new OrderBy(orders);
-    }
-    private OrderByElement createOrderByElement(ASTOrderByField node) {
-        int childsNum = node.jjtGetNumChildren();
-        OrderByType type;
-        if(childsNum==1) {
-            type = OrderByType.ASC;
-        } if(childsNum==2) {
-            ASTOrderType astType = (ASTOrderType)extractChildNode(node, 1);
-            type = OrderByType.valueOf(astType.getValue().toUpperCase());
-        } else {
-            //TODO
-            throw new IllegalArgumentException();
-        }
-        Identifier id = createIdentifier(node, 0);
-        return new OrderByElement(id, type);
-    }
-    private Conjunction createConjunction(Node node) {
-        Collection<LogicNode> childs = extractLogicNodes(node);
-        return new Conjunction(childs);
-    }
-    
-    private Disjunction createDisjunction(Node node) {
-        Collection<LogicNode> childs = extractLogicNodes(node);
-        return new Disjunction(childs);
-    }
-    
-    private LE createLE(Node node) {
-        checkChildsNumber(node, 2);
-        return new LE(createIdentifier(node, 0), createValue(node, 1));
-    }
-
-    private In createIn(Node node) {
-        checkChildsNumber(node, 2);
-        Node inValuesNode = extractChildNode(node, 1, ASTInValues.class);
-        Collection<Value> values = new ArrayList<Value>(inValuesNode.jjtGetNumChildren());
-        for(int index = 0;index < inValuesNode.jjtGetNumChildren();index++) {
-            values.add(createValue(inValuesNode, index));
-        }
-        return new In(createIdentifier(node, 0), values);
-    }
-    
-    private GE createGE(Node node) {
-        checkChildsNumber(node, 2);
-        return new GE(createIdentifier(node, 0), createValue(node, 1));
-    }
-    private Less createLess(Node node) {
-        checkChildsNumber(node, 2);
-        return new Less(createIdentifier(node, 0), createValue(node, 1));
-    }
-    private Greater createGreater(Node node) {
-        checkChildsNumber(node, 2);
-        return new Greater(createIdentifier(node, 0), createValue(node, 1));
-    }
-    private Equality createEquality(Node node) {
-        checkChildsNumber(node, 2);
-        return new Equality(createIdentifier(node, 0), createValue(node, 1));
-    }
-    private Like createLike(Node node) {
-        checkChildsNumber(node, 2);
-        return new Like(createIdentifier(node, 0), createValue(node, 1));
-    }
-    
-    private Value createValue(Node parentNode, int index) {
-        return new Value<String>(extractValue(parentNode, index).value);
-    }
-    private Limit createLimit(Node node) {
-        return new Limit(((ASTLimit)node).getNumber());
-    }
-    private Identifier createIdentifier(Node parentNode, int index) {
-        Node node = extractChildNode(parentNode, index);
-        if(node instanceof ASTField) {
-            return new org.apache.ode.ql.tree.nodes.Field(((ASTField)node).name);
-        }
-        if(node instanceof ASTProperty) {
-            return new org.apache.ode.ql.tree.nodes.Property(((ASTProperty)node).getName());
-        }
-        //TODO
-        throw new IllegalArgumentException("");
-    }
-    private ASTValue extractValue(Node parentNode, int index) {
-        return (ASTValue)extractChildNode(parentNode, index, ASTValue.class);
-    }
-    
-    @SuppressWarnings("unchecked")
-    private Node extractChildNode(Node parentNode, int index, Class expected) {
-        Node node = extractChildNode(parentNode, index);
-        if(!(expected.isAssignableFrom(node.getClass()))) {
-            //TODO
-            throw new IllegalArgumentException("");
-        }
-        return node;
-    }
-    private Node extractChildNode(Node parentNode, int index) {
-        if(parentNode.jjtGetNumChildren()<=index) {
-            //TODO
-            throw new IllegalArgumentException("");
-        }
-        return parentNode.jjtGetChild(index);
-    }
-    
-    private Collection<LogicNode> extractLogicNodes(Node parentNode) {
-        Collection<LogicNode> childs = new ArrayList<LogicNode>(parentNode.jjtGetNumChildren());
-        for(int index = 0;index < parentNode.jjtGetNumChildren();index++) {
-            childs.add((LogicNode)build(parentNode.jjtGetChild(index)));
-        }
-        return childs;
-    }
-
-    /*
-    private static boolean checkInheritance(Object obj, Class clazz) {
-        return clazz.isAssignableFrom(clazz.getClass());
-    }
-    */
-    private static void checkChildsNumber(Node node, int expected) {
-        int actual = node.jjtGetNumChildren();
-        if(actual!=expected) {
-            throw new IllegalArgumentException("Expected childs cound("+actual+") differes from expected "+expected);
-        }
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.jcc;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+import org.apache.ode.ql.tree.Builder;
+import org.apache.ode.ql.tree.nodes.Conjunction;
+import org.apache.ode.ql.tree.nodes.Disjunction;
+import org.apache.ode.ql.tree.nodes.Equality;
+import org.apache.ode.ql.tree.nodes.GE;
+import org.apache.ode.ql.tree.nodes.Greater;
+import org.apache.ode.ql.tree.nodes.Identifier;
+import org.apache.ode.ql.tree.nodes.In;
+import org.apache.ode.ql.tree.nodes.LE;
+import org.apache.ode.ql.tree.nodes.Less;
+import org.apache.ode.ql.tree.nodes.Like;
+import org.apache.ode.ql.tree.nodes.Limit;
+import org.apache.ode.ql.tree.nodes.LogicNode;
+import org.apache.ode.ql.tree.nodes.OrderBy;
+import org.apache.ode.ql.tree.nodes.OrderByElement;
+import org.apache.ode.ql.tree.nodes.OrderByType;
+import org.apache.ode.ql.tree.nodes.Query;
+import org.apache.ode.ql.tree.nodes.Value;
+
+public class TreeBuilder extends Builder<String> {
+    
+    public org.apache.ode.ql.tree.nodes.Node build(String query) {
+      try {
+        org.apache.ode.ql.jcc.ASTStart start = new Parser(query).start();
+        return build(start);
+      }catch(ParseException ex) {
+        //TODO create common exception which will indicate parsing exception
+        throw new RuntimeException(ex.getMessage(), ex);
+      }
+    }
+    private org.apache.ode.ql.tree.nodes.Node build(Node node) {
+        if(node instanceof ASTAnd) {
+            return createConjunction(node);
+        } 
+        if(node instanceof ASTOr) {
+            return createDisjunction(node);
+        } 
+        if(node instanceof ASTLess) {
+            return createLess(node);
+        }
+        if(node instanceof ASTGreater) {
+            return createGreater(node);
+        }
+        if(node instanceof ASTLE) {
+            return createLE(node);
+        }
+        if(node instanceof ASTIn) {
+            return createIn(node);
+        }
+        if(node instanceof ASTGE) {
+            return createGE(node);
+        }
+        if(node instanceof ASTEqual) {
+            return createEquality(node);
+        }
+        if(node instanceof ASTLike) {
+            return createLike(node);
+        }
+        if(node instanceof ASTStart) {
+            return createSelection((ASTStart)node);
+        }
+        throw new IllegalArgumentException("Unsupported node type "+node.getClass());
+    }
+    
+    private Query createSelection(ASTStart node) {
+        Collection<Object> childs = new ArrayList<Object>(node.jjtGetNumChildren());
+        OrderBy orderBy = null;
+        Limit limit = null;
+        for(int index = 0;index < node.jjtGetNumChildren();index++) {
+          Node childNode = node.jjtGetChild(index);
+            if(childNode instanceof ASTOrderBy) {
+              orderBy = createOrderBy(childNode);
+            } else if(childNode instanceof ASTLimit) {
+              limit = createLimit(childNode);
+            } else {
+              Object child = build(childNode);
+              childs.add(child);
+            }
+        }
+        return new Query(childs, orderBy, limit);
+    }
+    private OrderBy createOrderBy(Node node) {
+        Collection<OrderByElement> orders = new ArrayList<OrderByElement>(node.jjtGetNumChildren());
+        for(int i = 0;i < node.jjtGetNumChildren();i++) {
+          orders.add(createOrderByElement((ASTOrderByField)node.jjtGetChild(i)));
+        }
+        return new OrderBy(orders);
+    }
+    private OrderByElement createOrderByElement(ASTOrderByField node) {
+        int childsNum = node.jjtGetNumChildren();
+        OrderByType type;
+        if(childsNum==1) {
+            type = OrderByType.ASC;
+        } if(childsNum==2) {
+            ASTOrderType astType = (ASTOrderType)extractChildNode(node, 1);
+            type = OrderByType.valueOf(astType.getValue().toUpperCase());
+        } else {
+            //TODO
+            throw new IllegalArgumentException();
+        }
+        Identifier id = createIdentifier(node, 0);
+        return new OrderByElement(id, type);
+    }
+    private Conjunction createConjunction(Node node) {
+        Collection<LogicNode> childs = extractLogicNodes(node);
+        return new Conjunction(childs);
+    }
+    
+    private Disjunction createDisjunction(Node node) {
+        Collection<LogicNode> childs = extractLogicNodes(node);
+        return new Disjunction(childs);
+    }
+    
+    private LE createLE(Node node) {
+        checkChildsNumber(node, 2);
+        return new LE(createIdentifier(node, 0), createValue(node, 1));
+    }
+
+    private In createIn(Node node) {
+        checkChildsNumber(node, 2);
+        Node inValuesNode = extractChildNode(node, 1, ASTInValues.class);
+        Collection<Value> values = new ArrayList<Value>(inValuesNode.jjtGetNumChildren());
+        for(int index = 0;index < inValuesNode.jjtGetNumChildren();index++) {
+            values.add(createValue(inValuesNode, index));
+        }
+        return new In(createIdentifier(node, 0), values);
+    }
+    
+    private GE createGE(Node node) {
+        checkChildsNumber(node, 2);
+        return new GE(createIdentifier(node, 0), createValue(node, 1));
+    }
+    private Less createLess(Node node) {
+        checkChildsNumber(node, 2);
+        return new Less(createIdentifier(node, 0), createValue(node, 1));
+    }
+    private Greater createGreater(Node node) {
+        checkChildsNumber(node, 2);
+        return new Greater(createIdentifier(node, 0), createValue(node, 1));
+    }
+    private Equality createEquality(Node node) {
+        checkChildsNumber(node, 2);
+        return new Equality(createIdentifier(node, 0), createValue(node, 1));
+    }
+    private Like createLike(Node node) {
+        checkChildsNumber(node, 2);
+        return new Like(createIdentifier(node, 0), createValue(node, 1));
+    }
+    
+    private Value createValue(Node parentNode, int index) {
+        return new Value<String>(extractValue(parentNode, index).value);
+    }
+    private Limit createLimit(Node node) {
+        return new Limit(((ASTLimit)node).getNumber());
+    }
+    private Identifier createIdentifier(Node parentNode, int index) {
+        Node node = extractChildNode(parentNode, index);
+        if(node instanceof ASTField) {
+            return new org.apache.ode.ql.tree.nodes.Field(((ASTField)node).name);
+        }
+        if(node instanceof ASTProperty) {
+            return new org.apache.ode.ql.tree.nodes.Property(((ASTProperty)node).getName());
+        }
+        //TODO
+        throw new IllegalArgumentException("");
+    }
+    private ASTValue extractValue(Node parentNode, int index) {
+        return (ASTValue)extractChildNode(parentNode, index, ASTValue.class);
+    }
+    
+    @SuppressWarnings("unchecked")
+    private Node extractChildNode(Node parentNode, int index, Class expected) {
+        Node node = extractChildNode(parentNode, index);
+        if(!(expected.isAssignableFrom(node.getClass()))) {
+            //TODO
+            throw new IllegalArgumentException("");
+        }
+        return node;
+    }
+    private Node extractChildNode(Node parentNode, int index) {
+        if(parentNode.jjtGetNumChildren()<=index) {
+            //TODO
+            throw new IllegalArgumentException("");
+        }
+        return parentNode.jjtGetChild(index);
+    }
+    
+    private Collection<LogicNode> extractLogicNodes(Node parentNode) {
+        Collection<LogicNode> childs = new ArrayList<LogicNode>(parentNode.jjtGetNumChildren());
+        for(int index = 0;index < parentNode.jjtGetNumChildren();index++) {
+            childs.add((LogicNode)build(parentNode.jjtGetChild(index)));
+        }
+        return childs;
+    }
+
+    /*
+    private static boolean checkInheritance(Object obj, Class clazz) {
+        return clazz.isAssignableFrom(clazz.getClass());
+    }
+    */
+    private static void checkChildsNumber(Node node, int expected) {
+        int actual = node.jjtGetNumChildren();
+        if(actual!=expected) {
+            throw new IllegalArgumentException("Expected childs cound("+actual+") differes from expected "+expected);
+        }
+    }
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/jcc/TreeBuilder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/Builder.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/Builder.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/Builder.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/Builder.java Fri Sep 11 15:07:05 2009
@@ -1,24 +1,24 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree;
-
-public abstract class Builder<ET> {
-    public abstract org.apache.ode.ql.tree.nodes.Node build(ET expr);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree;
+
+public abstract class Builder<ET> {
+    public abstract org.apache.ode.ql.tree.nodes.Node build(ET expr);
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/Builder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/BuilderFactory.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/BuilderFactory.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/BuilderFactory.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/BuilderFactory.java Fri Sep 11 15:07:05 2009
@@ -1,36 +1,36 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree;
-
-import org.apache.ode.ql.jcc.TreeBuilder;
-
-public class BuilderFactory {
-  private static BuilderFactory INSTANCE = new BuilderFactory();
-  
-  private BuilderFactory() {}
-  
-  public static BuilderFactory getInstance() {
-    return INSTANCE;
-  }
-  
-  public Builder createBuilder() {
-    return new TreeBuilder();
-  }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree;
+
+import org.apache.ode.ql.jcc.TreeBuilder;
+
+public class BuilderFactory {
+  private static BuilderFactory INSTANCE = new BuilderFactory();
+  
+  private BuilderFactory() {}
+  
+  public static BuilderFactory getInstance() {
+    return INSTANCE;
+  }
+  
+  public Builder createBuilder() {
+    return new TreeBuilder();
+  }
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/BuilderFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/AbstractLogicExpr.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/AbstractLogicExpr.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/AbstractLogicExpr.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/AbstractLogicExpr.java Fri Sep 11 15:07:05 2009
@@ -1,45 +1,45 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree.nodes;
-
-import java.util.Collection;
-
-public class AbstractLogicExpr implements LogicExprNode, LogicNode {
-	private static final long serialVersionUID = -626046952079668882L;
-	
-	private final Collection<LogicNode> childs;
-
-    /**
-     * @param childs
-     */
-    protected AbstractLogicExpr(final Collection<LogicNode> childs) {
-        super();
-        this.childs = childs;
-    }
-
-
-    /**
-     * @see org.apache.ode.ql.tree.nodes.LogicExprNode#getChilds()
-     */
-    public Collection<LogicNode> getChilds() {
-        return childs;
-    }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree.nodes;
+
+import java.util.Collection;
+
+public class AbstractLogicExpr implements LogicExprNode, LogicNode {
+	private static final long serialVersionUID = -626046952079668882L;
+	
+	private final Collection<LogicNode> childs;
+
+    /**
+     * @param childs
+     */
+    protected AbstractLogicExpr(final Collection<LogicNode> childs) {
+        super();
+        this.childs = childs;
+    }
+
+
+    /**
+     * @see org.apache.ode.ql.tree.nodes.LogicExprNode#getChilds()
+     */
+    public Collection<LogicNode> getChilds() {
+        return childs;
+    }
+
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/AbstractLogicExpr.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Conjunction.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Conjunction.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Conjunction.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Conjunction.java Fri Sep 11 15:07:05 2009
@@ -1,35 +1,35 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree.nodes;
-
-import java.util.Collection;
-
-public class Conjunction extends AbstractLogicExpr {
-
-	private static final long serialVersionUID = -470480764480851402L;
-
-	/**
-     * @param childs
-     */
-    public Conjunction(final Collection<LogicNode> childs) {
-        super(childs);
-    }
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree.nodes;
+
+import java.util.Collection;
+
+public class Conjunction extends AbstractLogicExpr {
+
+	private static final long serialVersionUID = -470480764480851402L;
+
+	/**
+     * @param childs
+     */
+    public Conjunction(final Collection<LogicNode> childs) {
+        super(childs);
+    }
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Conjunction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Disjunction.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Disjunction.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Disjunction.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Disjunction.java Fri Sep 11 15:07:05 2009
@@ -1,33 +1,33 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree.nodes;
-
-import java.util.Collection;
-
-public class Disjunction extends AbstractLogicExpr {
-
-    /**
-     * @param childs
-     */
-    public Disjunction(Collection<LogicNode> childs) {
-        super(childs);
-    }
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree.nodes;
+
+import java.util.Collection;
+
+public class Disjunction extends AbstractLogicExpr {
+
+    /**
+     * @param childs
+     */
+    public Disjunction(Collection<LogicNode> childs) {
+        super(childs);
+    }
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Disjunction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Equality.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Equality.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Equality.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Equality.java Fri Sep 11 15:07:05 2009
@@ -1,33 +1,33 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree.nodes;
-
-public class Equality extends IdentifierToValueCMP {
-    private static final long serialVersionUID = 8151616227509392901L;
-
-    /**
-     * @param identifier
-     * @param value
-     */
-    public Equality(Identifier identifier, Value value) {
-        super(identifier, value);
-    }
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree.nodes;
+
+public class Equality extends IdentifierToValueCMP {
+    private static final long serialVersionUID = 8151616227509392901L;
+
+    /**
+     * @param identifier
+     * @param value
+     */
+    public Equality(Identifier identifier, Value value) {
+        super(identifier, value);
+    }
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Equality.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Field.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Field.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Field.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Field.java Fri Sep 11 15:07:05 2009
@@ -1,44 +1,44 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree.nodes;
-
-public class Field implements Identifier {
-    private static final long serialVersionUID = -6349426426188324243L;
-    
-    private final String name;
-    
-    /**
-     * @param name
-     */
-    public Field(final String name) {
-        super();
-        this.name = name;
-    }
-
-
-    /**
-     * @return the name
-     */
-    public String getName() {
-        return name;
-    }
-    
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree.nodes;
+
+public class Field implements Identifier {
+    private static final long serialVersionUID = -6349426426188324243L;
+    
+    private final String name;
+    
+    /**
+     * @param name
+     */
+    public Field(final String name) {
+        super();
+        this.name = name;
+    }
+
+
+    /**
+     * @return the name
+     */
+    public String getName() {
+        return name;
+    }
+    
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Field.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/GE.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/GE.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/GE.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/GE.java Fri Sep 11 15:07:05 2009
@@ -1,34 +1,34 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree.nodes;
-
-public class GE extends IdentifierToValueCMP {
-    private static final long serialVersionUID = -3950615207473647667L;
-
-    /**
-     * @param identifier
-     * @param value
-     */
-    public GE(Identifier identifier, Value value) {
-        super(identifier, value);
-    }
-
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree.nodes;
+
+public class GE extends IdentifierToValueCMP {
+    private static final long serialVersionUID = -3950615207473647667L;
+
+    /**
+     * @param identifier
+     * @param value
+     */
+    public GE(Identifier identifier, Value value) {
+        super(identifier, value);
+    }
+
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/GE.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Greater.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Greater.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Greater.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Greater.java Fri Sep 11 15:07:05 2009
@@ -1,34 +1,34 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree.nodes;
-
-public class Greater extends IdentifierToValueCMP {
-    private static final long serialVersionUID = 3377082099238584486L;
-
-    /**
-     * @param identifier
-     * @param value
-     */
-    public Greater(Identifier identifier, Value value) {
-        super(identifier, value);
-    }
-
-    
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree.nodes;
+
+public class Greater extends IdentifierToValueCMP {
+    private static final long serialVersionUID = 3377082099238584486L;
+
+    /**
+     * @param identifier
+     * @param value
+     */
+    public Greater(Identifier identifier, Value value) {
+        super(identifier, value);
+    }
+
+    
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Greater.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Identifier.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Identifier.java?rev=813870&r1=813869&r2=813870&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Identifier.java (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Identifier.java Fri Sep 11 15:07:05 2009
@@ -1,24 +1,24 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.ode.ql.tree.nodes;
-
-public interface Identifier extends Node {
-    public String getName();
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.ode.ql.tree.nodes;
+
+public interface Identifier extends Node {
+    public String getName();
+}

Propchange: ode/branches/APACHE_ODE_1.X/bpel-ql/src/main/java/org/apache/ode/ql/tree/nodes/Identifier.java
------------------------------------------------------------------------------
    svn:eol-style = native