You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by aj...@apache.org on 2005/02/17 13:23:52 UTC

svn commit: r154152 - in webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util: ./ OperationItemBean.java ServiceItemBean.java ServiceListBean.java

Author: ajith
Date: Thu Feb 17 04:23:49 2005
New Revision: 154152

URL: http://svn.apache.org/viewcvs?view=rev&rev=154152
Log:
Adding the utility package

Added:
    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/
    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/OperationItemBean.java
    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceItemBean.java
    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceListBean.java

Added: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/OperationItemBean.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/OperationItemBean.java?view=auto&rev=154152
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/OperationItemBean.java (added)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/OperationItemBean.java Thu Feb 17 04:23:49 2005
@@ -0,0 +1,19 @@
+package org.apache.axis.util;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Ajith
+ * Date: Feb 17, 2005
+ * Time: 6:03:36 PM
+ */
+public class OperationItemBean {
+    private String operationName;
+
+    public String getOperationName() {
+        return operationName;
+    }
+
+    public void setOperationName(String operationName) {
+        this.operationName = operationName;
+    }
+}

Added: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceItemBean.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceItemBean.java?view=auto&rev=154152
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceItemBean.java (added)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceItemBean.java Thu Feb 17 04:23:49 2005
@@ -0,0 +1,38 @@
+package org.apache.axis.util;
+
+import java.util.ArrayList;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Ajith
+ * Date: Feb 17, 2005
+ * Time: 5:58:09 PM
+ */
+public class ServiceItemBean {
+    private String serviceName;
+    private ArrayList operationsList;
+
+    public ServiceItemBean() {
+        operationsList = new ArrayList();
+    }
+
+    public String getServiceName() {
+        return serviceName;
+    }
+
+    public void setServiceName(String serviceName) {
+        this.serviceName = serviceName;
+    }
+
+    public void addOperation(OperationItemBean operation){
+        this.operationsList.add(operation);
+    }
+
+    public OperationItemBean getOperation(int index){
+         return (OperationItemBean)operationsList.get(index);
+    }
+
+    public int OperationCount(){
+        return operationsList.size();
+    }
+}

Added: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceListBean.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceListBean.java?view=auto&rev=154152
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceListBean.java (added)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/util/ServiceListBean.java Thu Feb 17 04:23:49 2005
@@ -0,0 +1,23 @@
+package org.apache.axis.util;
+
+import java.util.ArrayList;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Ajith
+ * Date: Feb 17, 2005
+ * Time: 5:57:47 PM
+ */
+public class ServiceListBean {
+    private ArrayList serviceList;
+
+    public ServiceListBean() {
+        this.serviceList = new ArrayList();
+    }
+
+    public void addService(ServiceItemBean service){
+        this.serviceList.add(serviceList);
+    }
+
+}
+