[mashup-dev] svn commit r4605 - trunk/mashup/java/modules/core/src/org/wso2/mashup/utils

svn at wso2.org svn at wso2.org
Sun Jul 1 22:37:23 PDT 2007


Author: thilina
Date: Sun Jul  1 22:37:04 2007
New Revision: 4605

Added:
   trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/DownloadServiceResponse.java
Log:
bean to be used for mashup downloading

Added: trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/DownloadServiceResponse.java
==============================================================================
--- (empty file)
+++ trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/DownloadServiceResponse.java	Sun Jul  1 22:37:04 2007
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2006,2007 WSO2, Inc. http://www.wso2.org
+ *
+ * Licensed 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.wso2.mashup.utils;
+
+import javax.activation.DataHandler;
+
+public class DownloadServiceResponse {
+
+    private String serviceJSFileName;
+
+    private DataHandler mashupArchive;
+
+    
+    public DownloadServiceResponse() {
+        super();
+    }
+
+    public DownloadServiceResponse(String serviceJSFileName, DataHandler mashupArchive) {
+        super();
+        this.serviceJSFileName = serviceJSFileName;
+        this.mashupArchive = mashupArchive;
+    }
+
+    public String getServiceJSFileName() {
+        return serviceJSFileName;
+    }
+
+    public void setServiceJSFileName(String serviceJSFileName) {
+        this.serviceJSFileName = serviceJSFileName;
+    }
+
+    public DataHandler getMashupArchive() {
+        return mashupArchive;
+    }
+
+    public void setMashupArchive(DataHandler mashupArchive) {
+        this.mashupArchive = mashupArchive;
+    }
+
+}




More information about the Mashup-dev mailing list