This project has retired. For details please refer to its Attic page.
GetBusinessDetailExt xref
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  package org.uddi.api_v2;
18  
19  import java.util.ArrayList;
20  import java.util.List;
21  import javax.xml.bind.annotation.XmlAccessType;
22  import javax.xml.bind.annotation.XmlAccessorType;
23  import javax.xml.bind.annotation.XmlAttribute;
24  import javax.xml.bind.annotation.XmlElement;
25  import javax.xml.bind.annotation.XmlType;
26  
27  
28  /**
29   * <p>Java class for get_businessDetailExt complex type.
30   * 
31   * <p>The following schema fragment specifies the expected content contained within this class.
32   * 
33   * <pre>
34   * &lt;complexType name="get_businessDetailExt">
35   *   &lt;complexContent>
36   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37   *       &lt;sequence>
38   *         &lt;element ref="{urn:uddi-org:api_v2}businessKey" maxOccurs="unbounded"/>
39   *       &lt;/sequence>
40   *       &lt;attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
41   *     &lt;/restriction>
42   *   &lt;/complexContent>
43   * &lt;/complexType>
44   * </pre>
45   * 
46   * 
47   */
48  @XmlAccessorType(XmlAccessType.FIELD)
49  @XmlType(name = "get_businessDetailExt", propOrder = {
50      "businessKey"
51  })
52  public class GetBusinessDetailExt {
53  
54      @XmlElement(required = true)
55      protected List<String> businessKey;
56      @XmlAttribute(name = "generic", required = true)
57      protected String generic="2.0";
58  
59      /**
60       * Gets the value of the businessKey property.
61       * 
62       * <p>
63       * This accessor method returns a reference to the live list,
64       * not a snapshot. Therefore any modification you make to the
65       * returned list will be present inside the JAXB object.
66       * This is why there is not a <CODE>set</CODE> method for the businessKey property.
67       * 
68       * <p>
69       * For example, to add a new item, do as follows:
70       * <pre>
71       *    getBusinessKey().add(newItem);
72       * </pre>
73       * 
74       * 
75       * <p>
76       * Objects of the following type(s) are allowed in the list
77       * {@link String }
78       * 
79       * 
80       */
81      public List<String> getBusinessKey() {
82          if (businessKey == null) {
83              businessKey = new ArrayList<String>();
84          }
85          return this.businessKey;
86      }
87  
88      /**
89       * Gets the value of the generic property.
90       * 
91       * @return
92       *     possible object is
93       *     {@link String }
94       *     
95       */
96      public String getGeneric() {
97          return generic;
98      }
99  
100     /**
101      * Sets the value of the generic property.
102      * 
103      * @param value
104      *     allowed object is
105      *     {@link String }
106      *     
107      */
108     public void setGeneric(String value) {
109         this.generic = value;
110     }
111 
112 }