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.api_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.XmlAttribute;
27 import javax.xml.bind.annotation.XmlRootElement;
28 import javax.xml.bind.annotation.XmlTransient;
29 import javax.xml.bind.annotation.XmlType;
30
31
32 /**
33 * <p>Java class for bindingDetail complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * <complexType name="bindingDetail">
39 * <complexContent>
40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 * <sequence>
42 * <element ref="{urn:uddi-org:api_v3}listDescription" minOccurs="0"/>
43 * <element ref="{urn:uddi-org:api_v3}bindingTemplate" maxOccurs="unbounded" minOccurs="0"/>
44 * </sequence>
45 * <attribute name="truncated" type="{urn:uddi-org:api_v3}truncated" />
46 * </restriction>
47 * </complexContent>
48 * </complexType>
49 * </pre>
50 *
51 *
52 */
53 @XmlAccessorType(XmlAccessType.FIELD)
54 @XmlType(name = "bindingDetail", propOrder = {
55 "listDescription",
56 "bindingTemplate"
57 })
58 @XmlRootElement
59 public class BindingDetail implements Serializable{
60
61 @XmlTransient
62 private static final long serialVersionUID = 7390772738800524046L;
63
64 protected ListDescription listDescription;
65 protected List<BindingTemplate> bindingTemplate;
66 @XmlAttribute
67 protected Boolean truncated;
68
69 /**
70 * Gets the value of the listDescription property.
71 *
72 * @return
73 * possible object is
74 * {@link ListDescription }
75 *
76 */
77 public ListDescription getListDescription() {
78 return listDescription;
79 }
80
81 /**
82 * Sets the value of the listDescription property.
83 *
84 * @param value
85 * allowed object is
86 * {@link ListDescription }
87 *
88 */
89 public void setListDescription(ListDescription value) {
90 this.listDescription = value;
91 }
92
93 /**
94 * Gets the value of the bindingTemplate property.
95 *
96 * <p>
97 * This accessor method returns a reference to the live list,
98 * not a snapshot. Therefore any modification you make to the
99 * returned list will be present inside the JAXB object.
100 * This is why there is not a <CODE>set</CODE> method for the bindingTemplate property.
101 *
102 * <p>
103 * For example, to add a new item, do as follows:
104 * <pre>
105 * getBindingTemplate().add(newItem);
106 * </pre>
107 *
108 *
109 * <p>
110 * Objects of the following type(s) are allowed in the list
111 * {@link BindingTemplate }
112 *
113 *
114 */
115 public List<BindingTemplate> getBindingTemplate() {
116 if (bindingTemplate == null) {
117 bindingTemplate = new ArrayList<BindingTemplate>();
118 }
119 return this.bindingTemplate;
120 }
121
122 /**
123 * Gets the value of the truncated property.
124 *
125 * @return
126 * possible object is
127 * {@link Boolean }
128 *
129 */
130 public Boolean isTruncated() {
131 return truncated;
132 }
133
134 /**
135 * Sets the value of the truncated property.
136 *
137 * @param value
138 * allowed object is
139 * {@link Boolean }
140 *
141 */
142 public void setTruncated(Boolean value) {
143 this.truncated = value;
144 }
145
146 }