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

BusinessDetail.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_v3;

  18. import java.io.Serializable;
  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.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlTransient;
  26. import javax.xml.bind.annotation.XmlType;


  27. /**
  28.  * <p>Java class for businessDetail complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="businessDetail">
  34.  *   &lt;complexContent>
  35.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  36.  *       &lt;sequence>
  37.  *         &lt;element ref="{urn:uddi-org:api_v3}businessEntity" maxOccurs="unbounded" minOccurs="0"/>
  38.  *       &lt;/sequence>
  39.  *       &lt;attribute name="truncated" type="{urn:uddi-org:api_v3}truncated" />
  40.  *     &lt;/restriction>
  41.  *   &lt;/complexContent>
  42.  * &lt;/complexType>
  43.  * </pre>
  44.  *
  45.  *
  46.  */
  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "businessDetail", propOrder = {
  49.     "businessEntity"
  50. })
  51. @XmlRootElement
  52. public class BusinessDetail implements Serializable{
  53.     @XmlTransient
  54.     private static final long serialVersionUID = -6818881090152240688L;

  55.     protected List<BusinessEntity> businessEntity;
  56.     @XmlAttribute
  57.     protected Boolean truncated;

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

  86.     /**
  87.      * Gets the value of the truncated property.
  88.      *
  89.      * @return
  90.      *     possible object is
  91.      *     {@link Boolean }
  92.      *    
  93.      */
  94.     public Boolean isTruncated() {
  95.         return truncated;
  96.     }

  97.     /**
  98.      * Sets the value of the truncated property.
  99.      *
  100.      * @param value
  101.      *     allowed object is
  102.      *     {@link Boolean }
  103.      *    
  104.      */
  105.     public void setTruncated(Boolean value) {
  106.         this.truncated = value;
  107.     }

  108. }