View Javadoc

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 contacts complex type.
22   * 
23   * <p>The following schema fragment specifies the expected content contained within this class.
24   * 
25   * <pre>
26   * &lt;complexType name="contacts">
27   *   &lt;complexContent>
28   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29   *       &lt;sequence>
30   *         &lt;element ref="{urn:uddi-org:api_v2}contact" maxOccurs="unbounded"/>
31   *       &lt;/sequence>
32   *     &lt;/restriction>
33   *   &lt;/complexContent>
34   * &lt;/complexType>
35   * </pre>
36   * 
37   * 
38   */
39  @XmlAccessorType(XmlAccessType.FIELD)
40  @XmlType(name = "contacts", propOrder = {
41      "contact"
42  })
43  public class Contacts {
44  
45      @XmlElement(required = true)
46      protected List<Contact> contact;
47  
48      /**
49       * Gets the value of the contact property.
50       * 
51       * <p>
52       * This accessor method returns a reference to the live list,
53       * not a snapshot. Therefore any modification you make to the
54       * returned list will be present inside the JAXB object.
55       * This is why there is not a <CODE>set</CODE> method for the contact property.
56       * 
57       * <p>
58       * For example, to add a new item, do as follows:
59       * <pre>
60       *    getContact().add(newItem);
61       * </pre>
62       * 
63       * 
64       * <p>
65       * Objects of the following type(s) are allowed in the list
66       * {@link Contact }
67       * 
68       * 
69       */
70      public List<Contact> getContact() {
71          if (contact == null) {
72              contact = new ArrayList<Contact>();
73          }
74          return this.contact;
75      }
76  
77  }