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

SyncSubscription.java

  1. /*
  2.  * Copyright 2001-2009 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.apache.juddi.api_v3;

  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.XmlElement;
  23. import javax.xml.bind.annotation.XmlType;
  24. import org.uddi.sub_v3.GetSubscriptionResults;


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

  51.     protected String authInfo;
  52.     @XmlElement(name = "get_subscriptionResultsList", nillable = true)
  53.     protected List<GetSubscriptionResults> getSubscriptionResultsList;

  54.     /**
  55.      * Gets the value of the authInfo property.
  56.      *
  57.      * @return
  58.      *     possible object is
  59.      *     {@link String }
  60.      *    
  61.      */
  62.     public String getAuthInfo() {
  63.         return authInfo;
  64.     }

  65.     /**
  66.      * Sets the value of the authInfo property.
  67.      *
  68.      * @param value
  69.      *     allowed object is
  70.      *     {@link String }
  71.      *    
  72.      */
  73.     public void setAuthInfo(String value) {
  74.         this.authInfo = value;
  75.     }

  76.     /**
  77.      * Gets the value of the getSubscriptionResultsList property.
  78.      *
  79.      * <p>
  80.      * This accessor method returns a reference to the live list,
  81.      * not a snapshot. Therefore any modification you make to the
  82.      * returned list will be present inside the JAXB object.
  83.      * This is why there is not a <CODE>set</CODE> method for the getSubscriptionResultsList property.
  84.      *
  85.      * <p>
  86.      * For example, to add a new item, do as follows:
  87.      * <pre>
  88.      *    getGetSubscriptionResultsList().add(newItem);
  89.      * </pre>
  90.      *
  91.      *
  92.      * <p>
  93.      * Objects of the following type(s) are allowed in the list
  94.      * {@link GetSubscriptionResults }
  95.      *
  96.      *
  97.      */
  98.     public List<GetSubscriptionResults> getGetSubscriptionResultsList() {
  99.         if (getSubscriptionResultsList == null) {
  100.             getSubscriptionResultsList = new ArrayList<GetSubscriptionResults>();
  101.         }
  102.         return this.getSubscriptionResultsList;
  103.     }

  104. }