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.annotation.XmlAccessType;
26  import javax.xml.bind.annotation.XmlAccessorType;
27  import javax.xml.bind.annotation.XmlElement;
28  import javax.xml.bind.annotation.XmlTransient;
29  import javax.xml.bind.annotation.XmlType;
30  
31  /**
32   * <p>Java class for instanceDetails complex type.
33   * 
34   * <p>The following schema fragment specifies the expected content contained within this class.
35   * 
36   * <pre>
37   * &lt;complexType name="instanceDetails">
38   *   &lt;complexContent>
39   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40   *       &lt;sequence>
41   *         &lt;element ref="{urn:uddi-org:api_v3}description" maxOccurs="unbounded" minOccurs="0"/>
42   *         &lt;choice>
43   *           &lt;sequence>
44   *             &lt;element ref="{urn:uddi-org:api_v3}overviewDoc" maxOccurs="unbounded"/>
45   *             &lt;element ref="{urn:uddi-org:api_v3}instanceParms" minOccurs="0"/>
46   *           &lt;/sequence>
47   *           &lt;element ref="{urn:uddi-org:api_v3}instanceParms"/>
48   *         &lt;/choice>
49   *       &lt;/sequence>
50   *     &lt;/restriction>
51   *   &lt;/complexContent>
52   * &lt;/complexType>
53   * </pre>
54   * 
55   * 
56   */
57  @XmlAccessorType(XmlAccessType.FIELD)
58  @XmlType(name = "instanceDetails", propOrder = {
59      "description", "overviewDoc", "instanceParms"
60  })
61  public class InstanceDetails implements Serializable {
62  	@XmlTransient
63  	private static final long serialVersionUID = -8133581381978826309L;
64      @XmlElement(required=false)
65      protected String instanceParms;
66      @XmlElement(required=false)
67      protected List<Description> description;
68      @XmlElement(required=false)
69      protected List<OverviewDoc> overviewDoc;
70      
71      public void setInstanceParms(String instanceParms) {
72  		this.instanceParms = instanceParms;
73  	}
74      
75      public String getInstanceParms() {
76      	return instanceParms;
77      }
78      
79      public List<OverviewDoc> getOverviewDoc() {
80          if (overviewDoc == null) {
81              overviewDoc = new ArrayList<OverviewDoc>();
82          }
83          return this.overviewDoc;    	
84      }
85      
86      public List<Description> getDescription() {
87          if (description == null) {
88              description = new ArrayList<Description>();
89          }
90          return this.description;
91      }
92  
93  }