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 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.XmlElement; 24 import javax.xml.bind.annotation.XmlType; 25 import org.uddi.sub_v3.SubscriptionResultsList; 26 27 28 /** 29 * <p>Java class for syncSubscriptionDetail complex type. 30 * 31 * <p>The following schema fragment specifies the expected content contained within this class. 32 * 33 * <pre> 34 * <complexType name="syncSubscriptionDetail"> 35 * <complexContent> 36 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 37 * <sequence> 38 * <element name="subscriptionResultsList" type="{urn:uddi-org:sub_v3}subscriptionResultsList" maxOccurs="unbounded" minOccurs="0"/> 39 * </sequence> 40 * </restriction> 41 * </complexContent> 42 * </complexType> 43 * </pre> 44 * 45 * 46 */ 47 @XmlAccessorType(XmlAccessType.FIELD) 48 @XmlType(name = "syncSubscriptionDetail", propOrder = { 49 "subscriptionResultsList" 50 }) 51 public class SyncSubscriptionDetail { 52 53 @XmlElement(nillable = true) 54 protected List<SubscriptionResultsList> subscriptionResultsList; 55 56 /** 57 * Gets the value of the subscriptionResultsList property. 58 * 59 * <p> 60 * This accessor method returns a reference to the live list, 61 * not a snapshot. Therefore any modification you make to the 62 * returned list will be present inside the JAXB object. 63 * This is why there is not a <CODE>set</CODE> method for the subscriptionResultsList property. 64 * 65 * <p> 66 * For example, to add a new item, do as follows: 67 * <pre> 68 * getSubscriptionResultsList().add(newItem); 69 * </pre> 70 * 71 * 72 * <p> 73 * Objects of the following type(s) are allowed in the list 74 * {@link SubscriptionResultsList } 75 * 76 * 77 */ 78 public List<SubscriptionResultsList> getSubscriptionResultsList() { 79 if (subscriptionResultsList == null) { 80 subscriptionResultsList = new ArrayList<SubscriptionResultsList>(); 81 } 82 return this.subscriptionResultsList; 83 } 84 85 }