Mercurial > repos > ganjoo > webservice_toolsuite
comparison WebServiceToolWorkflow/ParserForWADL/src/lsdis/Representation.java @ 0:d5cd409b8a18 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 18:00:50 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d5cd409b8a18 |
---|---|
1 /* | |
2 * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. | |
3 * | |
4 * Author : Srikalyan Swayampakula. . | |
5 * Name of the File : Representation.java . | |
6 * Created on : Nov 22, 2009 at 4:40:18 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 Representation | |
48 { | |
49 | |
50 private List<Doc> docs; | |
51 private List<Param> params; | |
52 private String id; | |
53 private String element; | |
54 private String mediaType; | |
55 private URI href; | |
56 private String profile; | |
57 | |
58 public Representation() | |
59 { | |
60 } | |
61 | |
62 public Representation(List<Doc> docs, List<Param> params, String id, String element, String mediaType, URI href, String profile) | |
63 { | |
64 this.docs = docs; | |
65 this.params = params; | |
66 this.id = id; | |
67 this.element = element; | |
68 this.mediaType = mediaType; | |
69 this.href = href; | |
70 this.profile = profile; | |
71 } | |
72 | |
73 public List<Doc> getDocs() | |
74 { | |
75 return docs; | |
76 } | |
77 | |
78 public void setDocs(List<Doc> docs) | |
79 { | |
80 this.docs = docs; | |
81 } | |
82 | |
83 public String getElement() | |
84 { | |
85 return element; | |
86 } | |
87 | |
88 public void setElement(String element) | |
89 { | |
90 this.element = element; | |
91 } | |
92 | |
93 public URI getHref() | |
94 { | |
95 return href; | |
96 } | |
97 | |
98 public void setHref(URI href) | |
99 { | |
100 this.href = href; | |
101 } | |
102 | |
103 public String getId() | |
104 { | |
105 return id; | |
106 } | |
107 | |
108 public void setId(String id) | |
109 { | |
110 this.id = id; | |
111 } | |
112 | |
113 public String getMediaType() | |
114 { | |
115 return mediaType; | |
116 } | |
117 | |
118 public void setMediaType(String mediaType) | |
119 { | |
120 this.mediaType = mediaType; | |
121 } | |
122 | |
123 public List<Param> getParams() | |
124 { | |
125 return params; | |
126 } | |
127 | |
128 public void setParams(List<Param> params) | |
129 { | |
130 this.params = params; | |
131 } | |
132 | |
133 public String getProfile() | |
134 { | |
135 return profile; | |
136 } | |
137 | |
138 public void setProfile(String profile) | |
139 { | |
140 this.profile = profile; | |
141 } | |
142 } |