| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| BusinessInfo |
|
| 1.3333333333333333;1.333 |
| 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 businessInfo complex type. | |
| 23 | * | |
| 24 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 25 | * | |
| 26 | * <pre> | |
| 27 | * <complexType name="businessInfo"> | |
| 28 | * <complexContent> | |
| 29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 30 | * <sequence> | |
| 31 | * <element ref="{urn:uddi-org:api_v2}name" maxOccurs="unbounded"/> | |
| 32 | * <element ref="{urn:uddi-org:api_v2}description" maxOccurs="unbounded" minOccurs="0"/> | |
| 33 | * <element ref="{urn:uddi-org:api_v2}serviceInfos"/> | |
| 34 | * </sequence> | |
| 35 | * <attribute name="businessKey" use="required" type="{urn:uddi-org:api_v2}businessKey" /> | |
| 36 | * </restriction> | |
| 37 | * </complexContent> | |
| 38 | * </complexType> | |
| 39 | * </pre> | |
| 40 | * | |
| 41 | * | |
| 42 | */ | |
| 43 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 44 | @XmlType(name = "businessInfo", propOrder = { | |
| 45 | "name", | |
| 46 | "description", | |
| 47 | "serviceInfos" | |
| 48 | }) | |
| 49 | 78 | public class BusinessInfo { |
| 50 | ||
| 51 | @XmlElement(required = true) | |
| 52 | protected List<Name> name; | |
| 53 | protected List<Description> description; | |
| 54 | @XmlElement(required = true) | |
| 55 | protected ServiceInfos serviceInfos; | |
| 56 | @XmlAttribute(required = true) | |
| 57 | protected String businessKey; | |
| 58 | ||
| 59 | /** | |
| 60 | * Gets the value of the name property. | |
| 61 | * | |
| 62 | * <p> | |
| 63 | * This accessor method returns a reference to the live list, | |
| 64 | * not a snapshot. Therefore any modification you make to the | |
| 65 | * returned list will be present inside the JAXB object. | |
| 66 | * This is why there is not a <CODE>set</CODE> method for the name property. | |
| 67 | * | |
| 68 | * <p> | |
| 69 | * For example, to add a new item, do as follows: | |
| 70 | * <pre> | |
| 71 | * getName().add(newItem); | |
| 72 | * </pre> | |
| 73 | * | |
| 74 | * | |
| 75 | * <p> | |
| 76 | * Objects of the following type(s) are allowed in the list | |
| 77 | * {@link Name } | |
| 78 | * | |
| 79 | * | |
| 80 | */ | |
| 81 | public List<Name> getName() { | |
| 82 | 0 | if (name == null) { |
| 83 | 0 | name = new ArrayList<Name>(); |
| 84 | } | |
| 85 | 0 | return this.name; |
| 86 | } | |
| 87 | ||
| 88 | /** | |
| 89 | * Gets the value of the description property. | |
| 90 | * | |
| 91 | * <p> | |
| 92 | * This accessor method returns a reference to the live list, | |
| 93 | * not a snapshot. Therefore any modification you make to the | |
| 94 | * returned list will be present inside the JAXB object. | |
| 95 | * This is why there is not a <CODE>set</CODE> method for the description property. | |
| 96 | * | |
| 97 | * <p> | |
| 98 | * For example, to add a new item, do as follows: | |
| 99 | * <pre> | |
| 100 | * getDescription().add(newItem); | |
| 101 | * </pre> | |
| 102 | * | |
| 103 | * | |
| 104 | * <p> | |
| 105 | * Objects of the following type(s) are allowed in the list | |
| 106 | * {@link Description } | |
| 107 | * | |
| 108 | * | |
| 109 | */ | |
| 110 | public List<Description> getDescription() { | |
| 111 | 0 | if (description == null) { |
| 112 | 0 | description = new ArrayList<Description>(); |
| 113 | } | |
| 114 | 0 | return this.description; |
| 115 | } | |
| 116 | ||
| 117 | /** | |
| 118 | * Gets the value of the serviceInfos property. | |
| 119 | * | |
| 120 | * @return | |
| 121 | * possible object is | |
| 122 | * {@link ServiceInfos } | |
| 123 | * | |
| 124 | */ | |
| 125 | public ServiceInfos getServiceInfos() { | |
| 126 | 0 | return serviceInfos; |
| 127 | } | |
| 128 | ||
| 129 | /** | |
| 130 | * Sets the value of the serviceInfos property. | |
| 131 | * | |
| 132 | * @param value | |
| 133 | * allowed object is | |
| 134 | * {@link ServiceInfos } | |
| 135 | * | |
| 136 | */ | |
| 137 | public void setServiceInfos(ServiceInfos value) { | |
| 138 | 0 | this.serviceInfos = value; |
| 139 | 0 | } |
| 140 | ||
| 141 | /** | |
| 142 | * Gets the value of the businessKey property. | |
| 143 | * | |
| 144 | * @return | |
| 145 | * possible object is | |
| 146 | * {@link String } | |
| 147 | * | |
| 148 | */ | |
| 149 | public String getBusinessKey() { | |
| 150 | 65 | return businessKey; |
| 151 | } | |
| 152 | ||
| 153 | /** | |
| 154 | * Sets the value of the businessKey property. | |
| 155 | * | |
| 156 | * @param value | |
| 157 | * allowed object is | |
| 158 | * {@link String } | |
| 159 | * | |
| 160 | */ | |
| 161 | public void setBusinessKey(String value) { | |
| 162 | 0 | this.businessKey = value; |
| 163 | 0 | } |
| 164 | ||
| 165 | } |