You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mr...@apache.org on 2008/10/14 20:41:36 UTC
svn commit: r704602 - in
/ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2:
OVarType.java WHILE.java
Author: mriou
Date: Tue Oct 14 11:41:35 2008
New Revision: 704602
URL: http://svn.apache.org/viewvc?rev=704602&view=rev
Log:
Underlying variable types when those are backed by a non strictly XML type system.
Modified:
ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/OVarType.java
ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/WHILE.java
Modified: ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/OVarType.java
URL: http://svn.apache.org/viewvc/ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/OVarType.java?rev=704602&r1=704601&r2=704602&view=diff
==============================================================================
--- ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/OVarType.java (original)
+++ ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/OVarType.java Tue Oct 14 11:41:35 2008
@@ -25,6 +25,12 @@
* Base class for variable types.
*/
public abstract class OVarType extends OBase {
+
+ public static int SCHEMA_TYPE = 0;
+ public static int NUMBER_TYPE = 1;
+ public static int STRING_TYPE = 2;
+
+ public int underlyingType = SCHEMA_TYPE;
public OVarType(OProcess owner) {
super(owner);
Modified: ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/WHILE.java
URL: http://svn.apache.org/viewvc/ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/WHILE.java?rev=704602&r1=704601&r2=704602&view=diff
==============================================================================
--- ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/WHILE.java (original)
+++ ode/trunk/runtimes/src/main/java/org/apache/ode/bpel/rtrep/v2/WHILE.java Tue Oct 14 11:41:35 2008
@@ -58,8 +58,8 @@
}
if (condResult) {
- ActivityInfo child = new ActivityInfo(genMonotonic(), getOWhile().activity, newChannel(TerminationChannel.class),
- newChannel(ParentScopeChannel.class));
+ ActivityInfo child = new ActivityInfo(genMonotonic(), getOWhile().activity,
+ newChannel(TerminationChannel.class), newChannel(ParentScopeChannel.class));
instance(createChild(child, _scopeFrame, _linkFrame));
instance(new WAITER(child));
} else /* stop. */{