Mercurial > repos > ganjoo > webservice_toolsuite
comparison WebServiceToolWorkflow/ParserForWADL/src/lsdis/Param.java @ 0:e7482c82796e default tip
Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author | ganjoo |
---|---|
date | Tue, 07 Jun 2011 17:34:26 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e7482c82796e |
---|---|
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 lsdis; | |
39 | |
40 import java.net.URI; | |
41 import java.util.List; | |
42 | |
43 /** | |
44 * | |
45 * @author Srikalyan Swayampakula. | |
46 */ | |
47 public class Param | |
48 { | |
49 | |
50 private List<Doc> docs; | |
51 private List<Option> options; | |
52 private Link link; | |
53 private URI href; | |
54 private String name; | |
55 private String style; | |
56 private String id; | |
57 private String type; | |
58 private String default1; | |
59 private boolean required = false; | |
60 private boolean repeation = false; | |
61 private String fixed; | |
62 private String path; | |
63 | |
64 public Param() | |
65 { | |
66 } | |
67 | |
68 public Param(List<Doc> docs, List<Option> options, Link link, URI href, String name, String style, String id, String type, String default1, String fixed, String path,Boolean required) | |
69 { | |
70 this.docs = docs; | |
71 this.options = options; | |
72 this.link = link; | |
73 this.href = href; | |
74 this.name = name; | |
75 this.style = style; | |
76 this.id = id; | |
77 this.type = type; | |
78 this.default1 = default1; | |
79 this.fixed = fixed; | |
80 this.path = path; | |
81 this.required = required; | |
82 } | |
83 | |
84 public String getDefault1() | |
85 { | |
86 return default1; | |
87 } | |
88 | |
89 public void setDefault1(String default1) | |
90 { | |
91 this.default1 = default1; | |
92 } | |
93 | |
94 public List<Doc> getDocs() | |
95 { | |
96 return docs; | |
97 } | |
98 | |
99 public void setDocs(List<Doc> docs) | |
100 { | |
101 this.docs = docs; | |
102 } | |
103 | |
104 public String getFixed() | |
105 { | |
106 return fixed; | |
107 } | |
108 | |
109 public void setFixed(String fixed) | |
110 { | |
111 this.fixed = fixed; | |
112 } | |
113 | |
114 public URI getHref() | |
115 { | |
116 return href; | |
117 } | |
118 | |
119 public void setHref(URI href) | |
120 { | |
121 this.href = href; | |
122 } | |
123 | |
124 public String getId() | |
125 { | |
126 return id; | |
127 } | |
128 | |
129 public void setId(String id) | |
130 { | |
131 this.id = id; | |
132 } | |
133 | |
134 public Link getLink() | |
135 { | |
136 return link; | |
137 } | |
138 | |
139 public void setLink(Link link) | |
140 { | |
141 this.link = link; | |
142 } | |
143 | |
144 public String getName() | |
145 { | |
146 return name; | |
147 } | |
148 | |
149 public void setName(String name) | |
150 { | |
151 this.name = name; | |
152 } | |
153 | |
154 public List<Option> getOptions() | |
155 { | |
156 return options; | |
157 } | |
158 | |
159 public void setOptions(List<Option> options) | |
160 { | |
161 this.options = options; | |
162 } | |
163 | |
164 public String getPath() | |
165 { | |
166 return path; | |
167 } | |
168 | |
169 public void setPath(String path) | |
170 { | |
171 this.path = path; | |
172 } | |
173 | |
174 public boolean isRepeation() | |
175 { | |
176 return repeation; | |
177 } | |
178 | |
179 public void setRepeation(boolean repeation) | |
180 { | |
181 this.repeation = repeation; | |
182 } | |
183 | |
184 public boolean isRequired() | |
185 { | |
186 return required; | |
187 } | |
188 | |
189 public void setRequired(boolean required) | |
190 { | |
191 this.required = required; | |
192 } | |
193 | |
194 public String getStyle() | |
195 { | |
196 return style; | |
197 } | |
198 | |
199 public void setStyle(String style) | |
200 { | |
201 this.style = style; | |
202 } | |
203 | |
204 public String getType() | |
205 { | |
206 return type; | |
207 } | |
208 | |
209 public void setType(String type) | |
210 { | |
211 this.type = type; | |
212 } | |
213 } |