This project has retired. For details please refer to its Attic page.
CommunicationGraph xref
View Javadoc
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.repl_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.XmlRootElement;
28  import javax.xml.bind.annotation.XmlTransient;
29  import javax.xml.bind.annotation.XmlType;
30  
31  
32  /**
33   * <p>Java class for anonymous complex type.
34   * 
35   * <p>The following schema fragment specifies the expected content contained within this class.
36   * 
37   * <pre>
38   * &lt;complexType>
39   *   &lt;complexContent>
40   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41   *       &lt;sequence>
42   *         &lt;element name="node" type="{urn:uddi-org:repl_v3}operatorNodeID_type" maxOccurs="unbounded"/>
43   *         &lt;element name="controlledMessage" type="{urn:uddi-org:repl_v3}controlledMessage_type" maxOccurs="unbounded"/>
44   *         &lt;element name="edge" maxOccurs="unbounded" minOccurs="0">
45   *           &lt;complexType>
46   *             &lt;complexContent>
47   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
48   *                 &lt;sequence>
49   *                   &lt;element name="message" type="{urn:uddi-org:repl_v3}message_type" maxOccurs="unbounded"/>
50   *                   &lt;element name="messageSender" type="{urn:uddi-org:repl_v3}operatorNodeID_type"/>
51   *                   &lt;element name="messageReceiver" type="{urn:uddi-org:repl_v3}operatorNodeID_type"/>
52   *                   &lt;element name="messageReceiverAlternate" type="{urn:uddi-org:repl_v3}operatorNodeID_type" maxOccurs="unbounded" minOccurs="0"/>
53   *                 &lt;/sequence>
54   *               &lt;/restriction>
55   *             &lt;/complexContent>
56   *           &lt;/complexType>
57   *         &lt;/element>
58   *       &lt;/sequence>
59   *     &lt;/restriction>
60   *   &lt;/complexContent>
61   * &lt;/complexType>
62   * </pre>
63   * 
64   * 
65   */
66  @XmlAccessorType(XmlAccessType.FIELD)
67  @XmlType(name = "", propOrder = {
68      "node",
69      "controlledMessage",
70      "edge"
71  })
72  @XmlRootElement(name = "communicationGraph")
73  public class CommunicationGraph implements Serializable{
74  	@XmlTransient
75  	private static final long serialVersionUID = -2640578798126913062L;
76  	@XmlElement(required = true)
77      protected List<String> node;
78      @XmlElement(required = true)
79      protected List<String> controlledMessage;
80      @XmlElement(required = false)
81      protected List<CommunicationGraph.Edge> edge;
82  
83      /**
84       * Gets the value of the node property.
85       * 
86       * <p>
87       * This accessor method returns a reference to the live list,
88       * not a snapshot. Therefore any modification you make to the
89       * returned list will be present inside the JAXB object.
90       * This is why there is not a <CODE>set</CODE> method for the node property.
91       * 
92       * <p>
93       * For example, to add a new item, do as follows:
94       * <pre>
95       *    getNode().add(newItem);
96       * </pre>
97       * 
98       * 
99       * <p>
100      * Objects of the following type(s) are allowed in the list
101      * {@link String }
102      * 
103      * 
104      */
105     public List<String> getNode() {
106         if (node == null) {
107             node = new ArrayList<String>();
108         }
109         return this.node;
110     }
111 
112     /**
113      * Gets the value of the controlledMessage property.
114      * 
115      * <p>
116      * This accessor method returns a reference to the live list,
117      * not a snapshot. Therefore any modification you make to the
118      * returned list will be present inside the JAXB object.
119      * This is why there is not a <CODE>set</CODE> method for the controlledMessage property.
120      * 
121      * <p>
122      * For example, to add a new item, do as follows:
123      * <pre>
124      *    getControlledMessage().add(newItem);
125      * </pre>
126      * 
127      * 
128      * <p>
129      * Objects of the following type(s) are allowed in the list
130      * {@link String }
131      * 
132      * 
133      */
134     public List<String> getControlledMessage() {
135         if (controlledMessage == null) {
136             controlledMessage = new ArrayList<String>();
137         }
138         return this.controlledMessage;
139     }
140 
141     /**
142      * Gets the value of the edge property.
143      * 
144      * <p>
145      * This accessor method returns a reference to the live list,
146      * not a snapshot. Therefore any modification you make to the
147      * returned list will be present inside the JAXB object.
148      * This is why there is not a <CODE>set</CODE> method for the edge property.
149      * 
150      * <p>
151      * For example, to add a new item, do as follows:
152      * <pre>
153      *    getEdge().add(newItem);
154      * </pre>
155      * 
156      * 
157      * <p>
158      * Objects of the following type(s) are allowed in the list
159      * {@link CommunicationGraph.Edge }
160      * 
161      * 
162      */
163     public List<CommunicationGraph.Edge> getEdge() {
164         if (edge == null) {
165             edge = new ArrayList<CommunicationGraph.Edge>();
166         }
167         return this.edge;
168     }
169 
170 
171     /**
172      * <p>Java class for anonymous complex type.
173      * 
174      * <p>The following schema fragment specifies the expected content contained within this class.
175      * 
176      * <pre>
177      * &lt;complexType>
178      *   &lt;complexContent>
179      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
180      *       &lt;sequence>
181      *         &lt;element name="message" type="{urn:uddi-org:repl_v3}message_type" maxOccurs="unbounded"/>
182      *         &lt;element name="messageSender" type="{urn:uddi-org:repl_v3}operatorNodeID_type"/>
183      *         &lt;element name="messageReceiver" type="{urn:uddi-org:repl_v3}operatorNodeID_type"/>
184      *         &lt;element name="messageReceiverAlternate" type="{urn:uddi-org:repl_v3}operatorNodeID_type" maxOccurs="unbounded" minOccurs="0"/>
185      *       &lt;/sequence>
186      *     &lt;/restriction>
187      *   &lt;/complexContent>
188      * &lt;/complexType>
189      * </pre>
190      * 
191      * 
192      */
193     @XmlAccessorType(XmlAccessType.FIELD)
194     @XmlType(name = "", propOrder = {
195         "message",
196         "messageSender",
197         "messageReceiver",
198         "messageReceiverAlternate"
199     })
200     public static class Edge {
201 
202         @XmlElement(required = true)
203         protected List<String> message;
204         @XmlElement(required = true)
205         protected String messageSender;
206         @XmlElement(required = true)
207         protected String messageReceiver;
208         protected List<String> messageReceiverAlternate;
209 
210         /**
211          * Gets the value of the message property.
212          * 
213          * <p>
214          * This accessor method returns a reference to the live list,
215          * not a snapshot. Therefore any modification you make to the
216          * returned list will be present inside the JAXB object.
217          * This is why there is not a <CODE>set</CODE> method for the message property.
218          * 
219          * <p>
220          * For example, to add a new item, do as follows:
221          * <pre>
222          *    getMessage().add(newItem);
223          * </pre>
224          * 
225          * 
226          * <p>
227          * Objects of the following type(s) are allowed in the list
228          * {@link String }
229          * 
230          * 
231          */
232         public List<String> getMessage() {
233             if (message == null) {
234                 message = new ArrayList<String>();
235             }
236             return this.message;
237         }
238 
239         /**
240          * Gets the value of the messageSender property.
241          * 
242          * @return
243          *     possible object is
244          *     {@link String }
245          *     
246          */
247         public String getMessageSender() {
248             return messageSender;
249         }
250 
251         /**
252          * Sets the value of the messageSender property.
253          * 
254          * @param value
255          *     allowed object is
256          *     {@link String }
257          *     
258          */
259         public void setMessageSender(String value) {
260             this.messageSender = value;
261         }
262 
263         /**
264          * Gets the value of the messageReceiver property.
265          * 
266          * @return
267          *     possible object is
268          *     {@link String }
269          *     
270          */
271         public String getMessageReceiver() {
272             return messageReceiver;
273         }
274 
275         /**
276          * Sets the value of the messageReceiver property.
277          * 
278          * @param value
279          *     allowed object is
280          *     {@link String }
281          *     
282          */
283         public void setMessageReceiver(String value) {
284             this.messageReceiver = value;
285         }
286 
287         /**
288          * Gets the value of the messageReceiverAlternate property.
289          * 
290          * <p>
291          * This accessor method returns a reference to the live list,
292          * not a snapshot. Therefore any modification you make to the
293          * returned list will be present inside the JAXB object.
294          * This is why there is not a <CODE>set</CODE> method for the messageReceiverAlternate property.
295          * 
296          * <p>
297          * For example, to add a new item, do as follows:
298          * <pre>
299          *    getMessageReceiverAlternate().add(newItem);
300          * </pre>
301          * 
302          * 
303          * <p>
304          * Objects of the following type(s) are allowed in the list
305          * {@link String }
306          * 
307          * 
308          */
309         public List<String> getMessageReceiverAlternate() {
310             if (messageReceiverAlternate == null) {
311                 messageReceiverAlternate = new ArrayList<String>();
312             }
313             return this.messageReceiverAlternate;
314         }
315 
316     }
317 
318 }