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_v2;
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.XmlAttribute;
24 import javax.xml.bind.annotation.XmlType;
25
26
27 /**
28 * <p>Java class for validate_values complex type.
29 *
30 * <p>The following schema fragment specifies the expected content contained within this class.
31 *
32 * <pre>
33 * <complexType name="validate_values">
34 * <complexContent>
35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 * <choice>
37 * <element ref="{urn:uddi-org:api_v2}businessEntity" maxOccurs="unbounded" minOccurs="0"/>
38 * <element ref="{urn:uddi-org:api_v2}businessService" maxOccurs="unbounded" minOccurs="0"/>
39 * <element ref="{urn:uddi-org:api_v2}tModel" maxOccurs="unbounded" minOccurs="0"/>
40 * </choice>
41 * <attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
42 * </restriction>
43 * </complexContent>
44 * </complexType>
45 * </pre>
46 *
47 *
48 */
49 @XmlAccessorType(XmlAccessType.FIELD)
50 @XmlType(name = "validate_values", propOrder = {
51 "businessEntity",
52 "businessService",
53 "tModel"
54 })
55 public class ValidateValues {
56
57 protected List<BusinessEntity> businessEntity;
58 protected List<BusinessService> businessService;
59 protected List<TModel> tModel;
60 @XmlAttribute(name = "generic", required = true)
61 protected String generic;
62
63 /**
64 * Gets the value of the businessEntity property.
65 *
66 * <p>
67 * This accessor method returns a reference to the live list,
68 * not a snapshot. Therefore any modification you make to the
69 * returned list will be present inside the JAXB object.
70 * This is why there is not a <CODE>set</CODE> method for the businessEntity property.
71 *
72 * <p>
73 * For example, to add a new item, do as follows:
74 * <pre>
75 * getBusinessEntity().add(newItem);
76 * </pre>
77 *
78 *
79 * <p>
80 * Objects of the following type(s) are allowed in the list
81 * {@link BusinessEntity }
82 *
83 *
84 */
85 public List<BusinessEntity> getBusinessEntity() {
86 if (businessEntity == null) {
87 businessEntity = new ArrayList<BusinessEntity>();
88 }
89 return this.businessEntity;
90 }
91
92 /**
93 * Gets the value of the businessService property.
94 *
95 * <p>
96 * This accessor method returns a reference to the live list,
97 * not a snapshot. Therefore any modification you make to the
98 * returned list will be present inside the JAXB object.
99 * This is why there is not a <CODE>set</CODE> method for the businessService property.
100 *
101 * <p>
102 * For example, to add a new item, do as follows:
103 * <pre>
104 * getBusinessService().add(newItem);
105 * </pre>
106 *
107 *
108 * <p>
109 * Objects of the following type(s) are allowed in the list
110 * {@link BusinessService }
111 *
112 *
113 */
114 public List<BusinessService> getBusinessService() {
115 if (businessService == null) {
116 businessService = new ArrayList<BusinessService>();
117 }
118 return this.businessService;
119 }
120
121 /**
122 * Gets the value of the tModel property.
123 *
124 * <p>
125 * This accessor method returns a reference to the live list,
126 * not a snapshot. Therefore any modification you make to the
127 * returned list will be present inside the JAXB object.
128 * This is why there is not a <CODE>set</CODE> method for the tModel property.
129 *
130 * <p>
131 * For example, to add a new item, do as follows:
132 * <pre>
133 * getTModel().add(newItem);
134 * </pre>
135 *
136 *
137 * <p>
138 * Objects of the following type(s) are allowed in the list
139 * {@link TModel }
140 *
141 *
142 */
143 public List<TModel> getTModel() {
144 if (tModel == null) {
145 tModel = new ArrayList<TModel>();
146 }
147 return this.tModel;
148 }
149
150 /**
151 * Gets the value of the generic property.
152 *
153 * @return
154 * possible object is
155 * {@link String }
156 *
157 */
158 public String getGeneric() {
159 return generic;
160 }
161
162 /**
163 * Sets the value of the generic property.
164 *
165 * @param value
166 * allowed object is
167 * {@link String }
168 *
169 */
170 public void setGeneric(String value) {
171 this.generic = value;
172 }
173
174 }