You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by ms...@apache.org on 2007/11/13 23:29:28 UTC

svn commit: r594674 - /ode/branches/extvar/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/ExtVarKeyMapping.java

Author: mszefler
Date: Tue Nov 13 14:29:28 2007
New Revision: 594674

URL: http://svn.apache.org/viewvc?rev=594674&view=rev
Log:
Missing file.

Added:
    ode/branches/extvar/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/ExtVarKeyMapping.java   (with props)

Added: ode/branches/extvar/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/ExtVarKeyMapping.java
URL: http://svn.apache.org/viewvc/ode/branches/extvar/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/ExtVarKeyMapping.java?rev=594674&view=auto
==============================================================================
--- ode/branches/extvar/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/ExtVarKeyMapping.java (added)
+++ ode/branches/extvar/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/ExtVarKeyMapping.java Tue Nov 13 14:29:28 2007
@@ -0,0 +1,32 @@
+package org.apache.ode.bpel.compiler.bom;
+
+import org.w3c.dom.Element;
+
+/**
+ * External variable mapping. Creates a link between a key of an external variable and a BPEL expression.  
+ * 
+ * @author Maciej Szefler <mszefler at gmail dot com>
+ *
+ */
+public class ExtVarKeyMapping extends BpelObject {
+
+    public ExtVarKeyMapping(Element el) {
+        super(el);
+    }
+
+    /**
+     * This identifies part of the key.
+     * @return
+     */
+    public String getKey() {
+        return getAttribute("key", null);
+    }
+    
+    /**
+     * This specifies the expression used to pupulate the key. 
+     * @return
+     */
+    public Expression getExpression() {
+        return getFirstChild(Expression.class);
+    }
+}

Propchange: ode/branches/extvar/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/ExtVarKeyMapping.java
------------------------------------------------------------------------------
    svn:eol-style = native