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

SubscriptionResultsList.java

/*
 * Copyright 2001-2008 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */


package org.uddi.sub_v3;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import org.uddi.api_v3.AssertionStatusReport;
import org.uddi.api_v3.BindingDetail;
import org.uddi.api_v3.BusinessDetail;
import org.uddi.api_v3.BusinessList;
import org.uddi.api_v3.RelatedBusinessesList;
import org.uddi.api_v3.ServiceDetail;
import org.uddi.api_v3.ServiceList;
import org.uddi.api_v3.TModelDetail;
import org.uddi.api_v3.TModelList;


/**
 * <p>Java class for subscriptionResultsList complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="subscriptionResultsList">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{urn:uddi-org:sub_v3}chunkToken" minOccurs="0"/>
 *         &lt;element ref="{urn:uddi-org:sub_v3}coveragePeriod"/>
 *         &lt;element ref="{urn:uddi-org:sub_v3}subscription"/>
 *         &lt;choice minOccurs="0">
 *           &lt;element ref="{urn:uddi-org:api_v3}bindingDetail"/>
 *           &lt;element ref="{urn:uddi-org:api_v3}businessDetail"/>
 *           &lt;element ref="{urn:uddi-org:api_v3}serviceDetail"/>
 *           &lt;element ref="{urn:uddi-org:api_v3}tModelDetail"/>
 *           &lt;element ref="{urn:uddi-org:api_v3}businessList"/>
 *           &lt;element ref="{urn:uddi-org:api_v3}relatedBusinessesList"/>
 *           &lt;element ref="{urn:uddi-org:api_v3}serviceList"/>
 *           &lt;element ref="{urn:uddi-org:api_v3}tModelList"/>
 *           &lt;element ref="{urn:uddi-org:api_v3}assertionStatusReport"/>
 *         &lt;/choice>
 *         &lt;element ref="{urn:uddi-org:sub_v3}keyBag" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="someResultsUnavailable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "subscriptionResultsList", propOrder = {
    "chunkToken",
    "coveragePeriod",
    "subscription",
    "bindingDetail",
    "businessDetail",
    "serviceDetail",
    "tModelDetail",
    "businessList",
    "relatedBusinessesList",
    "serviceList",
    "tModelList",
    "assertionStatusReport",
    "keyBag"
})
@XmlRootElement(name="subscriptionResultsList")
public class SubscriptionResultsList implements Serializable{
	@XmlTransient
	private static final long serialVersionUID = 8704510604661100139L;
	protected String chunkToken;
    @XmlElement(required = true)
    protected CoveragePeriod coveragePeriod;
    @XmlElement(required = true)
    protected Subscription subscription;
    @XmlElement(namespace = "urn:uddi-org:api_v3")
    protected BindingDetail bindingDetail;
    @XmlElement(namespace = "urn:uddi-org:api_v3")
    protected BusinessDetail businessDetail;
    @XmlElement(namespace = "urn:uddi-org:api_v3")
    protected ServiceDetail serviceDetail;
    @XmlElement(namespace = "urn:uddi-org:api_v3")
    protected TModelDetail tModelDetail;
    @XmlElement(namespace = "urn:uddi-org:api_v3")
    protected BusinessList businessList;
    @XmlElement(namespace = "urn:uddi-org:api_v3")
    protected RelatedBusinessesList relatedBusinessesList;
    @XmlElement(namespace = "urn:uddi-org:api_v3")
    protected ServiceList serviceList;
    @XmlElement(namespace = "urn:uddi-org:api_v3")
    protected TModelList tModelList;
    @XmlElement(namespace = "urn:uddi-org:api_v3")
    protected AssertionStatusReport assertionStatusReport;
    protected List<KeyBag> keyBag;
    @XmlAttribute
    protected Boolean someResultsUnavailable;

    /**
     * Gets the value of the chunkToken property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getChunkToken() {
        return chunkToken;
    }

    /**
     * Sets the value of the chunkToken property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setChunkToken(String value) {
        this.chunkToken = value;
    }

    /**
     * Gets the value of the coveragePeriod property.
     * 
     * @return
     *     possible object is
     *     {@link CoveragePeriod }
     *     
     */
    public CoveragePeriod getCoveragePeriod() {
        return coveragePeriod;
    }

    /**
     * Sets the value of the coveragePeriod property.
     * 
     * @param value
     *     allowed object is
     *     {@link CoveragePeriod }
     *     
     */
    public void setCoveragePeriod(CoveragePeriod value) {
        this.coveragePeriod = value;
    }

    /**
     * Gets the value of the subscription property.
     * 
     * @return
     *     possible object is
     *     {@link Subscription }
     *     
     */
    public Subscription getSubscription() {
        return subscription;
    }

    /**
     * Sets the value of the subscription property.
     * 
     * @param value
     *     allowed object is
     *     {@link Subscription }
     *     
     */
    public void setSubscription(Subscription value) {
        this.subscription = value;
    }

    /**
     * Gets the value of the bindingDetail property.
     * 
     * @return
     *     possible object is
     *     {@link BindingDetail }
     *     
     */
    public BindingDetail getBindingDetail() {
        return bindingDetail;
    }

    /**
     * Sets the value of the bindingDetail property.
     * 
     * @param value
     *     allowed object is
     *     {@link BindingDetail }
     *     
     */
    public void setBindingDetail(BindingDetail value) {
        this.bindingDetail = value;
    }

    /**
     * Gets the value of the businessDetail property.
     * 
     * @return
     *     possible object is
     *     {@link BusinessDetail }
     *     
     */
    public BusinessDetail getBusinessDetail() {
        return businessDetail;
    }

    /**
     * Sets the value of the businessDetail property.
     * 
     * @param value
     *     allowed object is
     *     {@link BusinessDetail }
     *     
     */
    public void setBusinessDetail(BusinessDetail value) {
        this.businessDetail = value;
    }

    /**
     * Gets the value of the serviceDetail property.
     * 
     * @return
     *     possible object is
     *     {@link ServiceDetail }
     *     
     */
    public ServiceDetail getServiceDetail() {
        return serviceDetail;
    }

    /**
     * Sets the value of the serviceDetail property.
     * 
     * @param value
     *     allowed object is
     *     {@link ServiceDetail }
     *     
     */
    public void setServiceDetail(ServiceDetail value) {
        this.serviceDetail = value;
    }

    /**
     * Gets the value of the tModelDetail property.
     * 
     * @return
     *     possible object is
     *     {@link TModelDetail }
     *     
     */
    public TModelDetail getTModelDetail() {
        return tModelDetail;
    }

    /**
     * Sets the value of the tModelDetail property.
     * 
     * @param value
     *     allowed object is
     *     {@link TModelDetail }
     *     
     */
    public void setTModelDetail(TModelDetail value) {
        this.tModelDetail = value;
    }

    /**
     * Gets the value of the businessList property.
     * 
     * @return
     *     possible object is
     *     {@link BusinessList }
     *     
     */
    public BusinessList getBusinessList() {
        return businessList;
    }

    /**
     * Sets the value of the businessList property.
     * 
     * @param value
     *     allowed object is
     *     {@link BusinessList }
     *     
     */
    public void setBusinessList(BusinessList value) {
        this.businessList = value;
    }

    /**
     * Gets the value of the relatedBusinessesList property.
     * 
     * @return
     *     possible object is
     *     {@link RelatedBusinessesList }
     *     
     */
    public RelatedBusinessesList getRelatedBusinessesList() {
        return relatedBusinessesList;
    }

    /**
     * Sets the value of the relatedBusinessesList property.
     * 
     * @param value
     *     allowed object is
     *     {@link RelatedBusinessesList }
     *     
     */
    public void setRelatedBusinessesList(RelatedBusinessesList value) {
        this.relatedBusinessesList = value;
    }

    /**
     * Gets the value of the serviceList property.
     * 
     * @return
     *     possible object is
     *     {@link ServiceList }
     *     
     */
    public ServiceList getServiceList() {
        return serviceList;
    }

    /**
     * Sets the value of the serviceList property.
     * 
     * @param value
     *     allowed object is
     *     {@link ServiceList }
     *     
     */
    public void setServiceList(ServiceList value) {
        this.serviceList = value;
    }

    /**
     * Gets the value of the tModelList property.
     * 
     * @return
     *     possible object is
     *     {@link TModelList }
     *     
     */
    public TModelList getTModelList() {
        return tModelList;
    }

    /**
     * Sets the value of the tModelList property.
     * 
     * @param value
     *     allowed object is
     *     {@link TModelList }
     *     
     */
    public void setTModelList(TModelList value) {
        this.tModelList = value;
    }

    /**
     * Gets the value of the assertionStatusReport property.
     * 
     * @return
     *     possible object is
     *     {@link AssertionStatusReport }
     *     
     */
    public AssertionStatusReport getAssertionStatusReport() {
        return assertionStatusReport;
    }

    /**
     * Sets the value of the assertionStatusReport property.
     * 
     * @param value
     *     allowed object is
     *     {@link AssertionStatusReport }
     *     
     */
    public void setAssertionStatusReport(AssertionStatusReport value) {
        this.assertionStatusReport = value;
    }

    /**
     * Gets the value of the keyBag property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the keyBag property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getKeyBag().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link KeyBag }
     * 
     * 
     */
    public List<KeyBag> getKeyBag() {
        if (keyBag == null) {
            keyBag = new ArrayList<KeyBag>();
        }
        return this.keyBag;
    }

    /**
     * Gets the value of the someResultsUnavailable property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isSomeResultsUnavailable() {
        return someResultsUnavailable;
    }

    /**
     * Sets the value of the someResultsUnavailable property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setSomeResultsUnavailable(Boolean value) {
        this.someResultsUnavailable = value;
    }

}