You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by az...@apache.org on 2011/01/05 11:38:15 UTC

svn commit: r1055403 - /axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/OperationReference.java

Author: azeez
Date: Wed Jan  5 10:38:15 2011
New Revision: 1055403

URL: http://svn.apache.org/viewvc?rev=1055403&view=rev
Log:
Oops... forgot to svn add a file when committing patch AXIS2-4090

Added:
    axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/OperationReference.java

Added: axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/OperationReference.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/OperationReference.java?rev=1055403&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/OperationReference.java (added)
+++ axis/axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/OperationReference.java Wed Jan  5 10:38:15 2011
@@ -0,0 +1,65 @@
+package org.apache.axis2.description;
+
+import javax.xml.namespace.QName;
+
+/**
+ * This class is used to encapsulate WSDL operations information. It's used by
+ * other data-driven JUnit Test Classes that deal with <code>AxisOperation</code>s.
+ */
+class OperationReference {
+    
+    private String wsdlPath;
+    private QName serviceName;
+    private String portName;
+    private QName operationName;
+    
+    public OperationReference() { }
+
+    public OperationReference(String wsdlPath, 
+                              QName serviceName, 
+                              String portName,
+                              QName operationName) {
+        this.wsdlPath = wsdlPath;
+        this.serviceName = serviceName;
+        this.portName = portName;
+        this.operationName = operationName;
+    }
+
+    public String getWsdlPath() {
+        return wsdlPath;
+    }
+
+    public QName getServiceName() {
+        return serviceName;
+    }
+
+    public String getPortName() {
+        return portName;
+    }
+
+    public QName getOperationName() {
+        return operationName;
+    }
+
+    public void setWsdlPath(String wsdlPath_) {
+        wsdlPath = wsdlPath_;
+    }
+
+    public void setServiceName(QName serviceName_) {
+        serviceName = serviceName_;
+    }
+
+    public void setPortName(String portName_) {
+        portName = portName_;
+    }
+
+    public void setOperationName(QName operationName_) {
+        operationName = operationName_;
+    }
+
+    public String toString() {
+        return "serviceName:" + serviceName + "; portName:" + portName +
+            ";  operationName:" + operationName;
+    }
+
+}