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 contact complex type.
23 *
24 * <p>The following schema fragment specifies the expected content contained within this class.
25 *
26 * <pre>
27 * <complexType name="contact">
28 * <complexContent>
29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30 * <sequence>
31 * <element ref="{urn:uddi-org:api_v2}description" maxOccurs="unbounded" minOccurs="0"/>
32 * <element ref="{urn:uddi-org:api_v2}personName"/>
33 * <element ref="{urn:uddi-org:api_v2}phone" maxOccurs="unbounded" minOccurs="0"/>
34 * <element ref="{urn:uddi-org:api_v2}email" maxOccurs="unbounded" minOccurs="0"/>
35 * <element ref="{urn:uddi-org:api_v2}address" maxOccurs="unbounded" minOccurs="0"/>
36 * </sequence>
37 * <attribute name="useType" type="{http://www.w3.org/2001/XMLSchema}string" />
38 * </restriction>
39 * </complexContent>
40 * </complexType>
41 * </pre>
42 *
43 *
44 */
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "contact", propOrder = {
47 "description",
48 "personName",
49 "phone",
50 "email",
51 "address"
52 })
53 public class Contact {
54
55 protected List<Description> description;
56 @XmlElement(required = true)
57 protected String personName;
58 protected List<Phone> phone;
59 protected List<Email> email;
60 protected List<Address> address;
61 @XmlAttribute
62 protected String useType;
63
64 /**
65 * Gets the value of the description property.
66 *
67 * <p>
68 * This accessor method returns a reference to the live list,
69 * not a snapshot. Therefore any modification you make to the
70 * returned list will be present inside the JAXB object.
71 * This is why there is not a <CODE>set</CODE> method for the description property.
72 *
73 * <p>
74 * For example, to add a new item, do as follows:
75 * <pre>
76 * getDescription().add(newItem);
77 * </pre>
78 *
79 *
80 * <p>
81 * Objects of the following type(s) are allowed in the list
82 * {@link Description }
83 *
84 *
85 */
86 public List<Description> getDescription() {
87 if (description == null) {
88 description = new ArrayList<Description>();
89 }
90 return this.description;
91 }
92
93 /**
94 * Gets the value of the personName property.
95 *
96 * @return
97 * possible object is
98 * {@link String }
99 *
100 */
101 public String getPersonName() {
102 return personName;
103 }
104
105 /**
106 * Sets the value of the personName property.
107 *
108 * @param value
109 * allowed object is
110 * {@link String }
111 *
112 */
113 public void setPersonName(String value) {
114 this.personName = value;
115 }
116
117 /**
118 * Gets the value of the phone property.
119 *
120 * <p>
121 * This accessor method returns a reference to the live list,
122 * not a snapshot. Therefore any modification you make to the
123 * returned list will be present inside the JAXB object.
124 * This is why there is not a <CODE>set</CODE> method for the phone property.
125 *
126 * <p>
127 * For example, to add a new item, do as follows:
128 * <pre>
129 * getPhone().add(newItem);
130 * </pre>
131 *
132 *
133 * <p>
134 * Objects of the following type(s) are allowed in the list
135 * {@link Phone }
136 *
137 *
138 */
139 public List<Phone> getPhone() {
140 if (phone == null) {
141 phone = new ArrayList<Phone>();
142 }
143 return this.phone;
144 }
145
146 /**
147 * Gets the value of the email property.
148 *
149 * <p>
150 * This accessor method returns a reference to the live list,
151 * not a snapshot. Therefore any modification you make to the
152 * returned list will be present inside the JAXB object.
153 * This is why there is not a <CODE>set</CODE> method for the email property.
154 *
155 * <p>
156 * For example, to add a new item, do as follows:
157 * <pre>
158 * getEmail().add(newItem);
159 * </pre>
160 *
161 *
162 * <p>
163 * Objects of the following type(s) are allowed in the list
164 * {@link Email }
165 *
166 *
167 */
168 public List<Email> getEmail() {
169 if (email == null) {
170 email = new ArrayList<Email>();
171 }
172 return this.email;
173 }
174
175 /**
176 * Gets the value of the address property.
177 *
178 * <p>
179 * This accessor method returns a reference to the live list,
180 * not a snapshot. Therefore any modification you make to the
181 * returned list will be present inside the JAXB object.
182 * This is why there is not a <CODE>set</CODE> method for the address property.
183 *
184 * <p>
185 * For example, to add a new item, do as follows:
186 * <pre>
187 * getAddress().add(newItem);
188 * </pre>
189 *
190 *
191 * <p>
192 * Objects of the following type(s) are allowed in the list
193 * {@link Address }
194 *
195 *
196 */
197 public List<Address> getAddress() {
198 if (address == null) {
199 address = new ArrayList<Address>();
200 }
201 return this.address;
202 }
203
204 /**
205 * Gets the value of the useType property.
206 *
207 * @return
208 * possible object is
209 * {@link String }
210 *
211 */
212 public String getUseType() {
213 return useType;
214 }
215
216 /**
217 * Sets the value of the useType property.
218 *
219 * @param value
220 * allowed object is
221 * {@link String }
222 *
223 */
224 public void setUseType(String value) {
225 this.useType = value;
226 }
227
228 }