1
2 package org.oasis_open.docs.wsn.b_2;
3
4 import java.util.ArrayList;
5 import java.util.List;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlAnyElement;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlRootElement;
11 import javax.xml.bind.annotation.XmlType;
12 import org.w3c.dom.Element;
13
14
15 /**
16 * <p>Java class for anonymous complex type.
17 *
18 * <p>The following schema fragment specifies the expected content contained within this class.
19 *
20 * <pre>
21 * <complexType>
22 * <complexContent>
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24 * <sequence>
25 * <element ref="{http://docs.oasis-open.org/wsn/b-2}NotificationMessage" maxOccurs="unbounded"/>
26 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
27 * </sequence>
28 * </restriction>
29 * </complexContent>
30 * </complexType>
31 * </pre>
32 *
33 *
34 */
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "", propOrder = {
37 "notificationMessage",
38 "any"
39 })
40 @XmlRootElement(name = "Notify")
41 public class Notify {
42
43 @XmlElement(name = "NotificationMessage", required = true)
44 protected List<NotificationMessageHolderType> notificationMessage;
45 @XmlAnyElement(lax = true)
46 protected List<Object> any;
47
48 /**
49 * Gets the value of the notificationMessage property.
50 *
51 * <p>
52 * This accessor method returns a reference to the live list,
53 * not a snapshot. Therefore any modification you make to the
54 * returned list will be present inside the JAXB object.
55 * This is why there is not a <CODE>set</CODE> method for the notificationMessage property.
56 *
57 * <p>
58 * For example, to add a new item, do as follows:
59 * <pre>
60 * getNotificationMessage().add(newItem);
61 * </pre>
62 *
63 *
64 * <p>
65 * Objects of the following type(s) are allowed in the list
66 * {@link NotificationMessageHolderType }
67 *
68 *
69 */
70 public List<NotificationMessageHolderType> getNotificationMessage() {
71 if (notificationMessage == null) {
72 notificationMessage = new ArrayList<NotificationMessageHolderType>();
73 }
74 return this.notificationMessage;
75 }
76
77 /**
78 * Gets the value of the any property.
79 *
80 * <p>
81 * This accessor method returns a reference to the live list,
82 * not a snapshot. Therefore any modification you make to the
83 * returned list will be present inside the JAXB object.
84 * This is why there is not a <CODE>set</CODE> method for the any property.
85 *
86 * <p>
87 * For example, to add a new item, do as follows:
88 * <pre>
89 * getAny().add(newItem);
90 * </pre>
91 *
92 *
93 * <p>
94 * Objects of the following type(s) are allowed in the list
95 * {@link Element }
96 * {@link Object }
97 *
98 *
99 */
100 public List<Object> getAny() {
101 if (any == null) {
102 any = new ArrayList<Object>();
103 }
104 return this.any;
105 }
106
107 }