This project has retired. For details please refer to its Attic page.
GetBusinessDetail.java

GetBusinessDetail.java

  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. import java.util.ArrayList;
  19. import java.util.List;
  20. import javax.xml.bind.annotation.XmlAccessType;
  21. import javax.xml.bind.annotation.XmlAccessorType;
  22. import javax.xml.bind.annotation.XmlAttribute;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlType;


  25. /**
  26.  * <p>Java class for get_businessDetail complex type.
  27.  *
  28.  * <p>The following schema fragment specifies the expected content contained within this class.
  29.  *
  30.  * <pre>
  31.  * &lt;complexType name="get_businessDetail">
  32.  *   &lt;complexContent>
  33.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  34.  *       &lt;sequence>
  35.  *         &lt;element ref="{urn:uddi-org:api_v2}businessKey" maxOccurs="unbounded"/>
  36.  *       &lt;/sequence>
  37.  *       &lt;attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
  38.  *     &lt;/restriction>
  39.  *   &lt;/complexContent>
  40.  * &lt;/complexType>
  41.  * </pre>
  42.  *
  43.  *
  44.  */
  45. @XmlAccessorType(XmlAccessType.FIELD)
  46. @XmlType(name = "get_businessDetail", propOrder = {
  47.     "businessKey"
  48. })
  49. public class GetBusinessDetail {

  50.     @XmlElement(required = true)
  51.     protected List<String> businessKey;
  52.     @XmlAttribute(name = "generic", required = true)
  53.     protected String generic="2.0";

  54.     /**
  55.      * Gets the value of the businessKey property.
  56.      *
  57.      * <p>
  58.      * This accessor method returns a reference to the live list,
  59.      * not a snapshot. Therefore any modification you make to the
  60.      * returned list will be present inside the JAXB object.
  61.      * This is why there is not a <CODE>set</CODE> method for the businessKey property.
  62.      *
  63.      * <p>
  64.      * For example, to add a new item, do as follows:
  65.      * <pre>
  66.      *    getBusinessKey().add(newItem);
  67.      * </pre>
  68.      *
  69.      *
  70.      * <p>
  71.      * Objects of the following type(s) are allowed in the list
  72.      * {@link String }
  73.      *
  74.      *
  75.      */
  76.     public List<String> getBusinessKey() {
  77.         if (businessKey == null) {
  78.             businessKey = new ArrayList<String>();
  79.         }
  80.         return this.businessKey;
  81.     }

  82.     /**
  83.      * Gets the value of the generic property.
  84.      *
  85.      * @return
  86.      *     possible object is
  87.      *     {@link String }
  88.      *    
  89.      */
  90.     public String getGeneric() {
  91.         return generic;
  92.     }

  93.     /**
  94.      * Sets the value of the generic property.
  95.      *
  96.      * @param value
  97.      *     allowed object is
  98.      *     {@link String }
  99.      *    
  100.      */
  101.     public void setGeneric(String value) {
  102.         this.generic = value;
  103.     }

  104. }