| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| BusinessEntity |
|
| 1.1111111111111112;1.111 |
| 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.XmlElement; | |
| 18 | import javax.xml.bind.annotation.XmlType; | |
| 19 | ||
| 20 | ||
| 21 | /** | |
| 22 | * <p>Java class for businessEntity complex type. | |
| 23 | * | |
| 24 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 25 | * | |
| 26 | * <pre> | |
| 27 | * <complexType name="businessEntity"> | |
| 28 | * <complexContent> | |
| 29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 30 | * <sequence> | |
| 31 | * <element ref="{urn:uddi-org:api_v2}discoveryURLs" minOccurs="0"/> | |
| 32 | * <element ref="{urn:uddi-org:api_v2}name" maxOccurs="unbounded"/> | |
| 33 | * <element ref="{urn:uddi-org:api_v2}description" maxOccurs="unbounded" minOccurs="0"/> | |
| 34 | * <element ref="{urn:uddi-org:api_v2}contacts" minOccurs="0"/> | |
| 35 | * <element ref="{urn:uddi-org:api_v2}businessServices" minOccurs="0"/> | |
| 36 | * <element ref="{urn:uddi-org:api_v2}identifierBag" minOccurs="0"/> | |
| 37 | * <element ref="{urn:uddi-org:api_v2}categoryBag" minOccurs="0"/> | |
| 38 | * </sequence> | |
| 39 | * <attribute name="businessKey" use="required" type="{urn:uddi-org:api_v2}businessKey" /> | |
| 40 | * <attribute name="operator" type="{http://www.w3.org/2001/XMLSchema}string" /> | |
| 41 | * <attribute name="authorizedName" type="{http://www.w3.org/2001/XMLSchema}string" /> | |
| 42 | * </restriction> | |
| 43 | * </complexContent> | |
| 44 | * </complexType> | |
| 45 | * </pre> | |
| 46 | * | |
| 47 | * | |
| 48 | */ | |
| 49 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 50 | @XmlType(name = "businessEntity", propOrder = { | |
| 51 | "discoveryURLs", | |
| 52 | "name", | |
| 53 | "description", | |
| 54 | "contacts", | |
| 55 | "businessServices", | |
| 56 | "identifierBag", | |
| 57 | "categoryBag" | |
| 58 | }) | |
| 59 | 151 | public class BusinessEntity { |
| 60 | ||
| 61 | protected DiscoveryURLs discoveryURLs; | |
| 62 | @XmlElement(required = true) | |
| 63 | protected List<Name> name; | |
| 64 | protected List<Description> description; | |
| 65 | protected Contacts contacts; | |
| 66 | protected BusinessServices businessServices; | |
| 67 | protected IdentifierBag identifierBag; | |
| 68 | protected CategoryBag categoryBag; | |
| 69 | @XmlAttribute(required = true) | |
| 70 | protected String businessKey; | |
| 71 | @XmlAttribute | |
| 72 | protected String operator; | |
| 73 | @XmlAttribute | |
| 74 | protected String authorizedName; | |
| 75 | ||
| 76 | /** | |
| 77 | * Gets the value of the discoveryURLs property. | |
| 78 | * | |
| 79 | * @return | |
| 80 | * possible object is | |
| 81 | * {@link DiscoveryURLs } | |
| 82 | * | |
| 83 | */ | |
| 84 | public DiscoveryURLs getDiscoveryURLs() { | |
| 85 | 75 | return discoveryURLs; |
| 86 | } | |
| 87 | ||
| 88 | /** | |
| 89 | * Sets the value of the discoveryURLs property. | |
| 90 | * | |
| 91 | * @param value | |
| 92 | * allowed object is | |
| 93 | * {@link DiscoveryURLs } | |
| 94 | * | |
| 95 | */ | |
| 96 | public void setDiscoveryURLs(DiscoveryURLs value) { | |
| 97 | 0 | this.discoveryURLs = value; |
| 98 | 0 | } |
| 99 | ||
| 100 | /** | |
| 101 | * Gets the value of the name property. | |
| 102 | * | |
| 103 | * <p> | |
| 104 | * This accessor method returns a reference to the live list, | |
| 105 | * not a snapshot. Therefore any modification you make to the | |
| 106 | * returned list will be present inside the JAXB object. | |
| 107 | * This is why there is not a <CODE>set</CODE> method for the name property. | |
| 108 | * | |
| 109 | * <p> | |
| 110 | * For example, to add a new item, do as follows: | |
| 111 | * <pre> | |
| 112 | * getName().add(newItem); | |
| 113 | * </pre> | |
| 114 | * | |
| 115 | * | |
| 116 | * <p> | |
| 117 | * Objects of the following type(s) are allowed in the list | |
| 118 | * {@link Name } | |
| 119 | * | |
| 120 | * | |
| 121 | */ | |
| 122 | public List<Name> getName() { | |
| 123 | 113 | if (name == null) { |
| 124 | 38 | name = new ArrayList<Name>(); |
| 125 | } | |
| 126 | 113 | return this.name; |
| 127 | } | |
| 128 | ||
| 129 | /** | |
| 130 | * Gets the value of the description property. | |
| 131 | * | |
| 132 | * <p> | |
| 133 | * This accessor method returns a reference to the live list, | |
| 134 | * not a snapshot. Therefore any modification you make to the | |
| 135 | * returned list will be present inside the JAXB object. | |
| 136 | * This is why there is not a <CODE>set</CODE> method for the description property. | |
| 137 | * | |
| 138 | * <p> | |
| 139 | * For example, to add a new item, do as follows: | |
| 140 | * <pre> | |
| 141 | * getDescription().add(newItem); | |
| 142 | * </pre> | |
| 143 | * | |
| 144 | * | |
| 145 | * <p> | |
| 146 | * Objects of the following type(s) are allowed in the list | |
| 147 | * {@link Description } | |
| 148 | * | |
| 149 | * | |
| 150 | */ | |
| 151 | public List<Description> getDescription() { | |
| 152 | 113 | if (description == null) { |
| 153 | 55 | description = new ArrayList<Description>(); |
| 154 | } | |
| 155 | 113 | return this.description; |
| 156 | } | |
| 157 | ||
| 158 | /** | |
| 159 | * Gets the value of the contacts property. | |
| 160 | * | |
| 161 | * @return | |
| 162 | * possible object is | |
| 163 | * {@link Contacts } | |
| 164 | * | |
| 165 | */ | |
| 166 | public Contacts getContacts() { | |
| 167 | 75 | return contacts; |
| 168 | } | |
| 169 | ||
| 170 | /** | |
| 171 | * Sets the value of the contacts property. | |
| 172 | * | |
| 173 | * @param value | |
| 174 | * allowed object is | |
| 175 | * {@link Contacts } | |
| 176 | * | |
| 177 | */ | |
| 178 | public void setContacts(Contacts value) { | |
| 179 | 24 | this.contacts = value; |
| 180 | 24 | } |
| 181 | ||
| 182 | /** | |
| 183 | * Gets the value of the businessServices property. | |
| 184 | * | |
| 185 | * @return | |
| 186 | * possible object is | |
| 187 | * {@link BusinessServices } | |
| 188 | * | |
| 189 | */ | |
| 190 | public BusinessServices getBusinessServices() { | |
| 191 | 75 | return businessServices; |
| 192 | } | |
| 193 | ||
| 194 | /** | |
| 195 | * Sets the value of the businessServices property. | |
| 196 | * | |
| 197 | * @param value | |
| 198 | * allowed object is | |
| 199 | * {@link BusinessServices } | |
| 200 | * | |
| 201 | */ | |
| 202 | public void setBusinessServices(BusinessServices value) { | |
| 203 | 38 | this.businessServices = value; |
| 204 | 38 | } |
| 205 | ||
| 206 | /** | |
| 207 | * Gets the value of the identifierBag property. | |
| 208 | * | |
| 209 | * @return | |
| 210 | * possible object is | |
| 211 | * {@link IdentifierBag } | |
| 212 | * | |
| 213 | */ | |
| 214 | public IdentifierBag getIdentifierBag() { | |
| 215 | 75 | return identifierBag; |
| 216 | } | |
| 217 | ||
| 218 | /** | |
| 219 | * Sets the value of the identifierBag property. | |
| 220 | * | |
| 221 | * @param value | |
| 222 | * allowed object is | |
| 223 | * {@link IdentifierBag } | |
| 224 | * | |
| 225 | */ | |
| 226 | public void setIdentifierBag(IdentifierBag value) { | |
| 227 | 0 | this.identifierBag = value; |
| 228 | 0 | } |
| 229 | ||
| 230 | /** | |
| 231 | * Gets the value of the categoryBag property. | |
| 232 | * | |
| 233 | * @return | |
| 234 | * possible object is | |
| 235 | * {@link CategoryBag } | |
| 236 | * | |
| 237 | */ | |
| 238 | public CategoryBag getCategoryBag() { | |
| 239 | 75 | return categoryBag; |
| 240 | } | |
| 241 | ||
| 242 | /** | |
| 243 | * Sets the value of the categoryBag property. | |
| 244 | * | |
| 245 | * @param value | |
| 246 | * allowed object is | |
| 247 | * {@link CategoryBag } | |
| 248 | * | |
| 249 | */ | |
| 250 | public void setCategoryBag(CategoryBag value) { | |
| 251 | 4 | this.categoryBag = value; |
| 252 | 4 | } |
| 253 | ||
| 254 | /** | |
| 255 | * Gets the value of the businessKey property. | |
| 256 | * | |
| 257 | * @return | |
| 258 | * possible object is | |
| 259 | * {@link String } | |
| 260 | * | |
| 261 | */ | |
| 262 | public String getBusinessKey() { | |
| 263 | 113 | return businessKey; |
| 264 | } | |
| 265 | ||
| 266 | /** | |
| 267 | * Sets the value of the businessKey property. | |
| 268 | * | |
| 269 | * @param value | |
| 270 | * allowed object is | |
| 271 | * {@link String } | |
| 272 | * | |
| 273 | */ | |
| 274 | public void setBusinessKey(String value) { | |
| 275 | 38 | this.businessKey = value; |
| 276 | 38 | } |
| 277 | ||
| 278 | /** | |
| 279 | * Gets the value of the operator property. | |
| 280 | * | |
| 281 | * @return | |
| 282 | * possible object is | |
| 283 | * {@link String } | |
| 284 | * | |
| 285 | */ | |
| 286 | public String getOperator() { | |
| 287 | 0 | return operator; |
| 288 | } | |
| 289 | ||
| 290 | /** | |
| 291 | * Sets the value of the operator property. | |
| 292 | * | |
| 293 | * @param value | |
| 294 | * allowed object is | |
| 295 | * {@link String } | |
| 296 | * | |
| 297 | */ | |
| 298 | public void setOperator(String value) { | |
| 299 | 0 | this.operator = value; |
| 300 | 0 | } |
| 301 | ||
| 302 | /** | |
| 303 | * Gets the value of the authorizedName property. | |
| 304 | * | |
| 305 | * @return | |
| 306 | * possible object is | |
| 307 | * {@link String } | |
| 308 | * | |
| 309 | */ | |
| 310 | public String getAuthorizedName() { | |
| 311 | 0 | return authorizedName; |
| 312 | } | |
| 313 | ||
| 314 | /** | |
| 315 | * Sets the value of the authorizedName property. | |
| 316 | * | |
| 317 | * @param value | |
| 318 | * allowed object is | |
| 319 | * {@link String } | |
| 320 | * | |
| 321 | */ | |
| 322 | public void setAuthorizedName(String value) { | |
| 323 | 24 | this.authorizedName = value; |
| 324 | 24 | } |
| 325 | ||
| 326 | } |