Mercurial > repos > ganjoo > webservice_toolsuite
comparison WebServiceToolWorkflow/ParserForWADL/src/lsdis/Option.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 : Option.java . | |
6 * Created on : Nov 22, 2009 at 4:53:33 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.util.List; | |
41 | |
42 /** | |
43 * | |
44 * @author Srikalyan Swayampakula. | |
45 */ | |
46 public class Option | |
47 { | |
48 | |
49 private List<Doc> docs; | |
50 private String name; | |
51 private String mediaType; | |
52 | |
53 public Option() | |
54 { | |
55 } | |
56 | |
57 public Option(List<Doc> docs, String name, String mediaType) | |
58 { | |
59 this.docs = docs; | |
60 this.name = name; | |
61 this.mediaType = mediaType; | |
62 } | |
63 | |
64 public List<Doc> getDocs() | |
65 { | |
66 return docs; | |
67 } | |
68 | |
69 public void setDocs(List<Doc> docs) | |
70 { | |
71 this.docs = docs; | |
72 } | |
73 | |
74 public String getMediaType() | |
75 { | |
76 return mediaType; | |
77 } | |
78 | |
79 public void setMediaType(String mediaType) | |
80 { | |
81 this.mediaType = mediaType; | |
82 } | |
83 | |
84 public String getName() | |
85 { | |
86 return name; | |
87 } | |
88 | |
89 public void setName(String name) | |
90 { | |
91 this.name = name; | |
92 } | |
93 } |