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 18 19 package org.uddi.vs_v3; 20 21 import java.io.Serializable; 22 import java.util.ArrayList; 23 import java.util.List; 24 import javax.xml.bind.annotation.XmlAccessType; 25 import javax.xml.bind.annotation.XmlAccessorType; 26 import javax.xml.bind.annotation.XmlElement; 27 import javax.xml.bind.annotation.XmlTransient; 28 import javax.xml.bind.annotation.XmlType; 29 import org.uddi.api_v3.BindingTemplate; 30 import org.uddi.api_v3.BusinessEntity; 31 import org.uddi.api_v3.BusinessService; 32 import org.uddi.api_v3.PublisherAssertion; 33 import org.uddi.api_v3.TModel; 34 35 36 /** 37 * <p>Java class for validate_values complex type. 38 * 39 * <p>The following schema fragment specifies the expected content contained within this class. 40 * 41 * <pre> 42 * <complexType name="validate_values"> 43 * <complexContent> 44 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 45 * <sequence> 46 * <element ref="{urn:uddi-org:api_v3}authInfo" minOccurs="0"/> 47 * <choice> 48 * <element ref="{urn:uddi-org:api_v3}businessEntity" maxOccurs="unbounded"/> 49 * <element ref="{urn:uddi-org:api_v3}businessService" maxOccurs="unbounded"/> 50 * <element ref="{urn:uddi-org:api_v3}bindingTemplate" maxOccurs="unbounded"/> 51 * <element ref="{urn:uddi-org:api_v3}tModel" maxOccurs="unbounded"/> 52 * <element ref="{urn:uddi-org:api_v3}publisherAssertion" maxOccurs="unbounded"/> 53 * </choice> 54 * </sequence> 55 * </restriction> 56 * </complexContent> 57 * </complexType> 58 * </pre> 59 * 60 * 61 */ 62 @XmlAccessorType(XmlAccessType.FIELD) 63 @XmlType(name = "validate_values", propOrder = { 64 "authInfo", 65 "businessEntity", 66 "businessService", 67 "bindingTemplate", 68 "tModel", 69 "publisherAssertion" 70 }) 71 public class ValidateValues implements Serializable{ 72 @XmlTransient 73 private static final long serialVersionUID = 940644923802364940L; 74 @XmlElement(namespace = "urn:uddi-org:api_v3") 75 protected String authInfo; 76 @XmlElement(namespace = "urn:uddi-org:api_v3") 77 protected List<BusinessEntity> businessEntity; 78 @XmlElement(namespace = "urn:uddi-org:api_v3") 79 protected List<BusinessService> businessService; 80 @XmlElement(namespace = "urn:uddi-org:api_v3") 81 protected List<BindingTemplate> bindingTemplate; 82 @XmlElement(namespace = "urn:uddi-org:api_v3") 83 protected List<TModel> tModel; 84 @XmlElement(namespace = "urn:uddi-org:api_v3") 85 protected List<PublisherAssertion> publisherAssertion; 86 87 /** 88 * Gets the value of the authInfo property. 89 * 90 * @return 91 * possible object is 92 * {@link String } 93 * 94 */ 95 public String getAuthInfo() { 96 return authInfo; 97 } 98 99 /** 100 * Sets the value of the authInfo property. 101 * 102 * @param value 103 * allowed object is 104 * {@link String } 105 * 106 */ 107 public void setAuthInfo(String value) { 108 this.authInfo = value; 109 } 110 111 /** 112 * Gets the value of the businessEntity property. 113 * 114 * <p> 115 * This accessor method returns a reference to the live list, 116 * not a snapshot. Therefore any modification you make to the 117 * returned list will be present inside the JAXB object. 118 * This is why there is not a <CODE>set</CODE> method for the businessEntity property. 119 * 120 * <p> 121 * For example, to add a new item, do as follows: 122 * <pre> 123 * getBusinessEntity().add(newItem); 124 * </pre> 125 * 126 * 127 * <p> 128 * Objects of the following type(s) are allowed in the list 129 * {@link BusinessEntity } 130 * 131 * 132 */ 133 public List<BusinessEntity> getBusinessEntity() { 134 if (businessEntity == null) { 135 businessEntity = new ArrayList<BusinessEntity>(); 136 } 137 return this.businessEntity; 138 } 139 140 /** 141 * Gets the value of the businessService property. 142 * 143 * <p> 144 * This accessor method returns a reference to the live list, 145 * not a snapshot. Therefore any modification you make to the 146 * returned list will be present inside the JAXB object. 147 * This is why there is not a <CODE>set</CODE> method for the businessService property. 148 * 149 * <p> 150 * For example, to add a new item, do as follows: 151 * <pre> 152 * getBusinessService().add(newItem); 153 * </pre> 154 * 155 * 156 * <p> 157 * Objects of the following type(s) are allowed in the list 158 * {@link BusinessService } 159 * 160 * 161 */ 162 public List<BusinessService> getBusinessService() { 163 if (businessService == null) { 164 businessService = new ArrayList<BusinessService>(); 165 } 166 return this.businessService; 167 } 168 169 /** 170 * Gets the value of the bindingTemplate property. 171 * 172 * <p> 173 * This accessor method returns a reference to the live list, 174 * not a snapshot. Therefore any modification you make to the 175 * returned list will be present inside the JAXB object. 176 * This is why there is not a <CODE>set</CODE> method for the bindingTemplate property. 177 * 178 * <p> 179 * For example, to add a new item, do as follows: 180 * <pre> 181 * getBindingTemplate().add(newItem); 182 * </pre> 183 * 184 * 185 * <p> 186 * Objects of the following type(s) are allowed in the list 187 * {@link BindingTemplate } 188 * 189 * 190 */ 191 public List<BindingTemplate> getBindingTemplate() { 192 if (bindingTemplate == null) { 193 bindingTemplate = new ArrayList<BindingTemplate>(); 194 } 195 return this.bindingTemplate; 196 } 197 198 /** 199 * Gets the value of the tModel property. 200 * 201 * <p> 202 * This accessor method returns a reference to the live list, 203 * not a snapshot. Therefore any modification you make to the 204 * returned list will be present inside the JAXB object. 205 * This is why there is not a <CODE>set</CODE> method for the tModel property. 206 * 207 * <p> 208 * For example, to add a new item, do as follows: 209 * <pre> 210 * getTModel().add(newItem); 211 * </pre> 212 * 213 * 214 * <p> 215 * Objects of the following type(s) are allowed in the list 216 * {@link TModel } 217 * 218 * 219 */ 220 public List<TModel> getTModel() { 221 if (tModel == null) { 222 tModel = new ArrayList<TModel>(); 223 } 224 return this.tModel; 225 } 226 227 /** 228 * Gets the value of the publisherAssertion property. 229 * 230 * <p> 231 * This accessor method returns a reference to the live list, 232 * not a snapshot. Therefore any modification you make to the 233 * returned list will be present inside the JAXB object. 234 * This is why there is not a <CODE>set</CODE> method for the publisherAssertion property. 235 * 236 * <p> 237 * For example, to add a new item, do as follows: 238 * <pre> 239 * getPublisherAssertion().add(newItem); 240 * </pre> 241 * 242 * 243 * <p> 244 * Objects of the following type(s) are allowed in the list 245 * {@link PublisherAssertion } 246 * 247 * 248 */ 249 public List<PublisherAssertion> getPublisherAssertion() { 250 if (publisherAssertion == null) { 251 publisherAssertion = new ArrayList<PublisherAssertion>(); 252 } 253 return this.publisherAssertion; 254 } 255 256 }