Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
BusinessService |
|
| 0.0;0 |
1 | // | |
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 | |
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | |
5 | // Generated on: 2009.07.19 at 09:49:41 PM CDT | |
6 | // | |
7 | ||
8 | ||
9 | package org.apache.ws.scout.model.uddi.v2; | |
10 | ||
11 | import java.util.ArrayList; | |
12 | import java.util.List; | |
13 | ||
14 | import javax.xml.bind.annotation.XmlAccessType; | |
15 | import javax.xml.bind.annotation.XmlAccessorType; | |
16 | import javax.xml.bind.annotation.XmlAttribute; | |
17 | import javax.xml.bind.annotation.XmlType; | |
18 | ||
19 | ||
20 | /** | |
21 | * <p>Java class for businessService complex type. | |
22 | * | |
23 | * <p>The following schema fragment specifies the expected content contained within this class. | |
24 | * | |
25 | * <pre> | |
26 | * <complexType name="businessService"> | |
27 | * <complexContent> | |
28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
29 | * <sequence> | |
30 | * <element ref="{urn:uddi-org:api_v2}name" maxOccurs="unbounded" minOccurs="0"/> | |
31 | * <element ref="{urn:uddi-org:api_v2}description" maxOccurs="unbounded" minOccurs="0"/> | |
32 | * <element ref="{urn:uddi-org:api_v2}bindingTemplates" minOccurs="0"/> | |
33 | * <element ref="{urn:uddi-org:api_v2}categoryBag" minOccurs="0"/> | |
34 | * </sequence> | |
35 | * <attribute name="serviceKey" use="required" type="{urn:uddi-org:api_v2}serviceKey" /> | |
36 | * <attribute name="businessKey" type="{urn:uddi-org:api_v2}businessKey" /> | |
37 | * </restriction> | |
38 | * </complexContent> | |
39 | * </complexType> | |
40 | * </pre> | |
41 | * | |
42 | * | |
43 | */ | |
44 | @XmlAccessorType(XmlAccessType.FIELD) | |
45 | @XmlType(name = "businessService", propOrder = { | |
46 | "name", | |
47 | "description", | |
48 | "bindingTemplates", | |
49 | "categoryBag" | |
50 | }) | |
51 | 0 | public class BusinessService { |
52 | ||
53 | protected List<Name> name; | |
54 | protected List<Description> description; | |
55 | protected BindingTemplates bindingTemplates; | |
56 | protected CategoryBag categoryBag; | |
57 | @XmlAttribute(required = true) | |
58 | protected String serviceKey; | |
59 | @XmlAttribute | |
60 | protected String businessKey; | |
61 | ||
62 | /** | |
63 | * Gets the value of the name property. | |
64 | * | |
65 | * <p> | |
66 | * This accessor method returns a reference to the live list, | |
67 | * not a snapshot. Therefore any modification you make to the | |
68 | * returned list will be present inside the JAXB object. | |
69 | * This is why there is not a <CODE>set</CODE> method for the name property. | |
70 | * | |
71 | * <p> | |
72 | * For example, to add a new item, do as follows: | |
73 | * <pre> | |
74 | * getName().add(newItem); | |
75 | * </pre> | |
76 | * | |
77 | * | |
78 | * <p> | |
79 | * Objects of the following type(s) are allowed in the list | |
80 | * {@link Name } | |
81 | * | |
82 | * | |
83 | */ | |
84 | public List<Name> getName() { | |
85 | 0 | if (name == null) { |
86 | 0 | name = new ArrayList<Name>(); |
87 | } | |
88 | 0 | return this.name; |
89 | } | |
90 | ||
91 | /** | |
92 | * Gets the value of the description property. | |
93 | * | |
94 | * <p> | |
95 | * This accessor method returns a reference to the live list, | |
96 | * not a snapshot. Therefore any modification you make to the | |
97 | * returned list will be present inside the JAXB object. | |
98 | * This is why there is not a <CODE>set</CODE> method for the description property. | |
99 | * | |
100 | * <p> | |
101 | * For example, to add a new item, do as follows: | |
102 | * <pre> | |
103 | * getDescription().add(newItem); | |
104 | * </pre> | |
105 | * | |
106 | * | |
107 | * <p> | |
108 | * Objects of the following type(s) are allowed in the list | |
109 | * {@link Description } | |
110 | * | |
111 | * | |
112 | */ | |
113 | public List<Description> getDescription() { | |
114 | 0 | if (description == null) { |
115 | 0 | description = new ArrayList<Description>(); |
116 | } | |
117 | 0 | return this.description; |
118 | } | |
119 | ||
120 | /** | |
121 | * Gets the value of the bindingTemplates property. | |
122 | * | |
123 | * @return | |
124 | * possible object is | |
125 | * {@link BindingTemplates } | |
126 | * | |
127 | */ | |
128 | public BindingTemplates getBindingTemplates() { | |
129 | 0 | return (bindingTemplates == null ? new BindingTemplates() : bindingTemplates) ; |
130 | } | |
131 | ||
132 | /** | |
133 | * Sets the value of the bindingTemplates property. | |
134 | * | |
135 | * @param value | |
136 | * allowed object is | |
137 | * {@link BindingTemplates } | |
138 | * | |
139 | */ | |
140 | public void setBindingTemplates(BindingTemplates value) { | |
141 | 0 | this.bindingTemplates = value; |
142 | 0 | } |
143 | ||
144 | /** | |
145 | * Gets the value of the categoryBag property. | |
146 | * | |
147 | * @return | |
148 | * possible object is | |
149 | * {@link CategoryBag } | |
150 | * | |
151 | */ | |
152 | public CategoryBag getCategoryBag() { | |
153 | 0 | return categoryBag; |
154 | } | |
155 | ||
156 | /** | |
157 | * Sets the value of the categoryBag property. | |
158 | * | |
159 | * @param value | |
160 | * allowed object is | |
161 | * {@link CategoryBag } | |
162 | * | |
163 | */ | |
164 | public void setCategoryBag(CategoryBag value) { | |
165 | 0 | this.categoryBag = value; |
166 | 0 | } |
167 | ||
168 | /** | |
169 | * Gets the value of the serviceKey property. | |
170 | * | |
171 | * @return | |
172 | * possible object is | |
173 | * {@link String } | |
174 | * | |
175 | */ | |
176 | public String getServiceKey() { | |
177 | 0 | return serviceKey; |
178 | } | |
179 | ||
180 | /** | |
181 | * Sets the value of the serviceKey property. | |
182 | * | |
183 | * @param value | |
184 | * allowed object is | |
185 | * {@link String } | |
186 | * | |
187 | */ | |
188 | public void setServiceKey(String value) { | |
189 | 0 | this.serviceKey = value; |
190 | 0 | } |
191 | ||
192 | /** | |
193 | * Gets the value of the businessKey property. | |
194 | * | |
195 | * @return | |
196 | * possible object is | |
197 | * {@link String } | |
198 | * | |
199 | */ | |
200 | public String getBusinessKey() { | |
201 | 0 | return businessKey; |
202 | } | |
203 | ||
204 | /** | |
205 | * Sets the value of the businessKey property. | |
206 | * | |
207 | * @param value | |
208 | * allowed object is | |
209 | * {@link String } | |
210 | * | |
211 | */ | |
212 | public void setBusinessKey(String value) { | |
213 | 0 | this.businessKey = value; |
214 | 0 | } |
215 | ||
216 | } |