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