comparison WebServiceExtensionsV1.1/WebServiceToolWorkflow_REST_SOAP/ParserForWADL/src/lsdis/Method.java @ 0:049760c677de default tip

Galaxy WSExtensions added successfully
author uga-galaxy-group
date Tue, 05 Jul 2011 19:34:18 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:049760c677de
1 /*
2 * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved.
3 *
4 * Author : Srikalyan Swayampakula. .
5 * Name of the File : Method.java .
6 * Created on : Nov 22, 2009 at 4:04:55 PM .
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 *
12 * 1. Redistributions of source code must retain the above
13 * copyright notice, this list of conditions and the following
14 * disclaimer.
15 * 2. Redistributions in binary form must reproduce the above
16 * copyright notice, this list of conditions and the following
17 * disclaimer in the documentation and/or other materials
18 * provided with the distribution.
19 * 3. Neither the name of the University of Georgia nor the names
20 * of its contributors may be used to endorse or promote
21 * products derived from this software without specific prior
22 * written permission.
23 *
24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
25 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
26 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
27 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
29 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
31 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
35 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
36 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 */
38 package lsdis;
39
40 import java.net.URI;
41 import java.util.List;
42
43 /**
44 *
45 * @author Srikalyan Swayampakula.
46 */
47 public class Method
48 {
49
50 private List<Doc> docs;
51 private Request request;
52 private List<Response> response;
53 private String id;
54 private String name;
55 private URI href;
56
57 public Method()
58 {
59 }
60
61 public Method(List<Doc> docs, Request request, List<Response> response, String id, String name, URI href)
62 {
63 this.docs = docs;
64 this.request = request;
65 this.response = response;
66 this.id = id;
67 this.name = name;
68 this.href = href;
69 }
70
71 public List<Doc> getDocs()
72 {
73 return docs;
74 }
75
76 public void setDocs(List<Doc> docs)
77 {
78 this.docs = docs;
79 }
80
81 public URI getHref()
82 {
83 return href;
84 }
85
86 public void setHref(URI href)
87 {
88 this.href = href;
89 }
90
91 public String getId()
92 {
93 return id;
94 }
95
96 public void setId(String id)
97 {
98 this.id = id;
99 }
100
101 public String getName()
102 {
103 return name;
104 }
105
106 public void setName(String name)
107 {
108 this.name = name;
109 }
110
111 public Request getRequest()
112 {
113 return request;
114 }
115
116 public void setRequest(Request request)
117 {
118 this.request = request;
119 }
120
121 public List<Response> getResponse()
122 {
123 return response;
124 }
125
126 public void setResponse(List<Response> response)
127 {
128 this.response = response;
129 }
130 }