comparison WebServiceExtensionsV1.1/WebServiceToolWorkflow_REST_SOAP/lib/SAWADLParser/src/edu/uga/cs/lsdis/meteors/wadls/ParamImpl.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 : Param.java .
6 * Created on : Nov 22, 2009 at 4:03:57 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 edu.uga.cs.lsdis.meteors.wadls;
39
40 import java.net.URI;
41 import java.util.ArrayList;
42 import java.util.List;
43 import java.util.Vector;
44
45 import javax.wadls.Param;
46
47 /**
48 *
49 * @author Srikalyan Swayampakula.
50 */
51 public class ParamImpl implements Param
52 {
53
54 List<String> optionvalue = new Vector();
55 protected String name;
56 protected String style;
57 protected String id;
58 protected String type;
59 protected String default1;
60 protected String required = "false";
61 protected boolean repeation = false;
62 protected String fixed;
63 protected String path;
64 protected String modelreference =null;
65 protected String liftingschemamapping=null;
66 protected String loweringschemamapping=null;
67
68
69
70 public String getModelreference() {
71 return modelreference;
72 }
73
74 public void setModelreference(String modelreference) {
75 this.modelreference = modelreference;
76 }
77
78 public String getLiftingschemamapping() {
79 return liftingschemamapping;
80 }
81
82 public void setLiftingschemamapping(String liftingschemamapping) {
83 this.liftingschemamapping = liftingschemamapping;
84 }
85
86 public String getLoweringschemamapping() {
87 return loweringschemamapping;
88 }
89
90 public void setLoweringschemamapping(String loweringschemamapping) {
91 this.loweringschemamapping = loweringschemamapping;
92 }
93
94 public List<String> getOptionvalue() {
95 return optionvalue;
96 }
97
98 public void setOptionvalue(List<String> optionvalue) {
99 this.optionvalue = optionvalue;
100 }
101
102 public ParamImpl()
103 {
104 }
105
106 public ParamImpl(URI href, String name, String style, String id, String type, String default1, String fixed, String path)
107 {
108
109
110 this.name = name;
111 this.style = style;
112 this.id = id;
113 this.type = type;
114 this.default1 = default1;
115 this.fixed = fixed;
116 this.path = path;
117 }
118
119 public String getDefault1()
120 {
121 return default1;
122 }
123
124 public void setDefault1(String default1)
125 {
126 this.default1 = default1;
127 }
128
129
130
131 public String getFixed()
132 {
133 return fixed;
134 }
135
136 public void setFixed(String fixed)
137 {
138 this.fixed = fixed;
139 }
140
141
142 public String getId()
143 {
144 return id;
145 }
146
147 public void setId(String id)
148 {
149 this.id = id;
150 }
151
152 public String getName()
153 {
154 return name;
155 }
156
157 public void setName(String name)
158 {
159 this.name = name;
160 }
161
162
163 public String getPath()
164 {
165 return path;
166 }
167
168 public void setPath(String path)
169 {
170 this.path = path;
171 }
172
173 public boolean isRepeation()
174 {
175 return repeation;
176 }
177
178 public void setRepeation(boolean repeation)
179 {
180 this.repeation = repeation;
181 }
182
183 public String getRequired()
184 {
185 return required;
186 }
187
188 public void setRequired(String required)
189 {
190 this.required = required;
191 }
192
193 public String getStyle()
194 {
195 return style;
196 }
197
198 public void setStyle(String style)
199 {
200 this.style = style;
201 }
202
203 public String getType()
204 {
205 return type;
206 }
207
208 public void setType(String type)
209 {
210 this.type = type;
211 }
212 }