View Javadoc
1   /*
2    * Copyright 2001-2008 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  
18  
19  package org.uddi.api_v3;
20  
21  import java.io.Serializable;
22  import java.util.ArrayList;
23  import java.util.List;
24  
25  import javax.xml.bind.JAXBElement;
26  import javax.xml.bind.annotation.XmlAccessType;
27  import javax.xml.bind.annotation.XmlAccessorType;
28  import javax.xml.bind.annotation.XmlElement;
29  import javax.xml.bind.annotation.XmlTransient;
30  import javax.xml.bind.annotation.XmlType;
31  
32  
33  /**
34   * <p>Java class for overviewDoc complex type.
35   * 
36   * <p>The following schema fragment specifies the expected content contained within this class.
37   * 
38   * <pre>
39   * &lt;complexType name="overviewDoc">
40   *   &lt;complexContent>
41   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42   *       &lt;choice>
43   *         &lt;sequence>
44   *           &lt;element ref="{urn:uddi-org:api_v3}description" maxOccurs="unbounded"/>
45   *           &lt;element ref="{urn:uddi-org:api_v3}overviewURL" minOccurs="0"/>
46   *         &lt;/sequence>
47   *         &lt;element ref="{urn:uddi-org:api_v3}overviewURL"/>
48   *       &lt;/choice>
49   *     &lt;/restriction>
50   *   &lt;/complexContent>
51   * &lt;/complexType>
52   * </pre>
53   * 
54   * 
55   */
56  @XmlAccessorType(XmlAccessType.FIELD)
57  @XmlType(name = "overviewDoc", propOrder = {
58          "description", "overviewURL"
59  })
60  public class OverviewDoc implements Serializable {
61  	@XmlTransient
62  	private static final long serialVersionUID = 2375126956490542327L;
63  	@XmlElement
64      protected List<Description> description;
65      @XmlElement(required = false)
66      protected OverviewURL overviewURL;
67  
68      
69      public OverviewURL getOverviewURL() {
70  		return overviewURL;
71  	}
72  
73  
74  	public void setOverviewURL(OverviewURL overviewURL) {
75  		this.overviewURL = overviewURL;
76  	}
77  
78  	/**
79       * Gets the rest of the content model. 
80       * 
81       * <p>
82       * You are getting this "catch-all" property because of the following reason: 
83       * The field name "OverviewURL" is used by two different parts of a schema. See: 
84       * line 392 of file:/C:/Development/Projects/jUDDI_v3/uddi-ws/src/main/resources/uddi_v3.xsd
85       * line 390 of file:/C:/Development/Projects/jUDDI_v3/uddi-ws/src/main/resources/uddi_v3.xsd
86       * <p>
87       * To get rid of this property, apply a property customization to one 
88       * of both of the following declarations to change their names: 
89       * Gets the value of the content 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 content property.
96       * 
97       * <p>
98       * For example, to add a new item, do as follows:
99       * <pre>
100      *    getContent().add(newItem);
101      * </pre>
102      * 
103      * 
104      * <p>
105      * Objects of the following type(s) are allowed in the list
106      * {@link JAXBElement }{@code <}{@link Description }{@code >}
107      * {@link JAXBElement }{@code <}{@link OverviewURL }{@code >}
108      * 
109      * 
110      */
111     public List<Description> getDescription() {
112         if (description == null) {
113         	description = new ArrayList<Description>();
114         }
115         return this.description;
116     }
117     
118 }