root/tools/routingservice/branches/wrs-2.0/src/util/Parameter.java

Revision 298, 6.1 KB (checked in by anton, 19 months ago)

Parameter values overriding implemented, GPL headers added

Line 
1/*  WRS 2.0
2 *  Copyright (C) 2009 Anton Patrushev
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18
19//
20// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
21// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
22// Any modifications to this file will be lost upon recompilation of the source schema.
23// Generated on: 2009.03.25 at 04:41:37 PM JST
24//
25
26package util;
27
28import javax.xml.bind.annotation.XmlAccessType;
29import javax.xml.bind.annotation.XmlAccessorType;
30import javax.xml.bind.annotation.XmlAttribute;
31import javax.xml.bind.annotation.XmlRootElement;
32import javax.xml.bind.annotation.XmlType;
33
34
35/**
36 * <p>Java class for anonymous complex type.
37 *
38 * <p>The following schema fragment specifies the expected content contained within this class.
39 *
40 * <pre>
41 * &lt;complexType>
42 *   &lt;complexContent>
43 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
44 *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
45 *       &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
46 *       &lt;attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
47 *       &lt;attribute name="constant" type="{http://www.w3.org/2001/XMLSchema}boolean" />
48 *       &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
49 *       &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
50 *       &lt;attribute name="source">
51 *         &lt;simpleType>
52 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
53 *             &lt;enumeration value="url"/>
54 *             &lt;enumeration value="profile"/>
55 *             &lt;enumeration value="service"/>
56 *             &lt;enumeration value="resource"/>
57 *           &lt;/restriction>
58 *         &lt;/simpleType>
59 *       &lt;/attribute>
60 *     &lt;/restriction>
61 *   &lt;/complexContent>
62 * &lt;/complexType>
63 * </pre>
64 *
65 *
66 */
67@XmlAccessorType(XmlAccessType.FIELD)
68@XmlType(name = "")
69@XmlRootElement(name = "parameter")
70public class Parameter {
71
72    @XmlAttribute
73    protected String name;
74    @XmlAttribute
75    protected String type;
76    @XmlAttribute
77    protected Boolean required;
78    @XmlAttribute
79    protected Boolean constant;
80    @XmlAttribute
81    protected String key;
82    @XmlAttribute
83    protected String value;
84    @XmlAttribute
85    protected String source;
86
87    /**
88     * Gets the value of the name property.
89     *
90     * @return
91     *     possible object is
92     *     {@link String }
93     *     
94     */
95    public String getName() {
96        return name;
97    }
98
99    /**
100     * Sets the value of the name property.
101     *
102     * @param value
103     *     allowed object is
104     *     {@link String }
105     *     
106     */
107    public void setName(String value) {
108        this.name = value;
109    }
110
111    /**
112     * Gets the value of the type property.
113     *
114     * @return
115     *     possible object is
116     *     {@link String }
117     *     
118     */
119    public String getType() {
120        return type;
121    }
122
123    /**
124     * Sets the value of the type property.
125     *
126     * @param value
127     *     allowed object is
128     *     {@link String }
129     *     
130     */
131    public void setType(String value) {
132        this.type = value;
133    }
134
135    /**
136     * Gets the value of the required property.
137     *
138     * @return
139     *     possible object is
140     *     {@link Boolean }
141     *     
142     */
143    public Boolean isRequired() {
144        return required;
145    }
146
147    /**
148     * Sets the value of the required property.
149     *
150     * @param value
151     *     allowed object is
152     *     {@link Boolean }
153     *     
154     */
155    public void setRequired(Boolean value) {
156        this.required = value;
157    }
158
159    /**
160     * Gets the value of the required property.
161     *
162     * @return
163     *     possible object is
164     *     {@link Boolean }
165     *     
166     */
167    public Boolean isConstant() {
168        return constant;
169    }
170
171    /**
172     * Sets the value of the required property.
173     *
174     * @param value
175     *     allowed object is
176     *     {@link Boolean }
177     *     
178     */
179    public void setConstant(Boolean value) {
180        this.constant = value;
181    }
182   
183    /**
184     * Gets the value of the key property.
185     *
186     * @return
187     *     possible object is
188     *     {@link String }
189     *     
190     */
191    public String getKey() {
192        return key;
193    }
194
195    /**
196     * Sets the value of the key property.
197     *
198     * @param value
199     *     allowed object is
200     *     {@link String }
201     *     
202     */
203    public void setKey(String value) {
204        this.key = value;
205    }
206
207    /**
208     * Gets the value of the value property.
209     *
210     * @return
211     *     possible object is
212     *     {@link String }
213     *     
214     */
215    public String getValue() {
216        return value;
217    }
218
219    /**
220     * Sets the value of the value property.
221     *
222     * @param value
223     *     allowed object is
224     *     {@link String }
225     *     
226     */
227    public void setValue(String value) {
228        this.value = value;
229    }
230
231    /**
232     * Gets the value of the source property.
233     *
234     * @return
235     *     possible object is
236     *     {@link String }
237     *     
238     */
239    public String getSource() {
240        return source;
241    }
242
243    /**
244     * Sets the value of the source property.
245     *
246     * @param value
247     *     allowed object is
248     *     {@link String }
249     *     
250     */
251    public void setSource(String value) {
252        this.source = value;
253    }
254
255}
Note: See TracBrowser for help on using the browser.