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.XmlAnyElement;
24 import javax.xml.bind.annotation.XmlElement;
25 import javax.xml.bind.annotation.XmlType;
26
27
28 /**
29 * <p>Java class for businessEntityExt complex type.
30 *
31 * <p>The following schema fragment specifies the expected content contained within this class.
32 *
33 * <pre>
34 * <complexType name="businessEntityExt">
35 * <complexContent>
36 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 * <sequence>
38 * <element ref="{urn:uddi-org:api_v2}businessEntity"/>
39 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
40 * </sequence>
41 * </restriction>
42 * </complexContent>
43 * </complexType>
44 * </pre>
45 *
46 *
47 */
48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "businessEntityExt", propOrder = {
50 "businessEntity",
51 "any"
52 })
53 public class BusinessEntityExt {
54
55 @XmlElement(required = true)
56 protected BusinessEntity businessEntity;
57 @XmlAnyElement(lax = true)
58 protected List<Object> any;
59
60 /**
61 * Gets the value of the businessEntity property.
62 *
63 * @return
64 * possible object is
65 * {@link BusinessEntity }
66 *
67 */
68 public BusinessEntity getBusinessEntity() {
69 return businessEntity;
70 }
71
72 /**
73 * Sets the value of the businessEntity property.
74 *
75 * @param value
76 * allowed object is
77 * {@link BusinessEntity }
78 *
79 */
80 public void setBusinessEntity(BusinessEntity value) {
81 this.businessEntity = value;
82 }
83
84 /**
85 * Gets the value of the any property.
86 *
87 * <p>
88 * This accessor method returns a reference to the live list,
89 * not a snapshot. Therefore any modification you make to the
90 * returned list will be present inside the JAXB object.
91 * This is why there is not a <CODE>set</CODE> method for the any property.
92 *
93 * <p>
94 * For example, to add a new item, do as follows:
95 * <pre>
96 * getAny().add(newItem);
97 * </pre>
98 *
99 *
100 * <p>
101 * Objects of the following type(s) are allowed in the list
102 * {@link Object }
103 *
104 *
105 */
106 public List<Object> getAny() {
107 if (any == null) {
108 any = new ArrayList<Object>();
109 }
110 return this.any;
111 }
112
113 }