001    
002    package org.oasis_open.docs.wsn.b_2;
003    
004    import java.util.ArrayList;
005    import java.util.List;
006    import javax.xml.bind.annotation.XmlAccessType;
007    import javax.xml.bind.annotation.XmlAccessorType;
008    import javax.xml.bind.annotation.XmlAnyElement;
009    import javax.xml.bind.annotation.XmlElement;
010    import javax.xml.bind.annotation.XmlRootElement;
011    import javax.xml.bind.annotation.XmlType;
012    import org.w3c.dom.Element;
013    
014    
015    /**
016     * <p>Java class for anonymous complex type.
017     * 
018     * <p>The following schema fragment specifies the expected content contained within this class.
019     * 
020     * <pre>
021     * &lt;complexType>
022     *   &lt;complexContent>
023     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
024     *       &lt;sequence>
025     *         &lt;element ref="{http://docs.oasis-open.org/wsn/b-2}NotificationMessage" maxOccurs="unbounded"/>
026     *         &lt;any/>
027     *       &lt;/sequence>
028     *     &lt;/restriction>
029     *   &lt;/complexContent>
030     * &lt;/complexType>
031     * </pre>
032     * 
033     * 
034     */
035    @XmlAccessorType(XmlAccessType.FIELD)
036    @XmlType(name = "", propOrder = {
037        "notificationMessage",
038        "any"
039    })
040    @XmlRootElement(name = "Notify")
041    public class Notify {
042    
043        @XmlElement(name = "NotificationMessage", required = true)
044        protected List<NotificationMessageHolderType> notificationMessage;
045        @XmlAnyElement(lax = true)
046        protected List<Object> any;
047    
048        /**
049         * Gets the value of the notificationMessage property.
050         * 
051         * <p>
052         * This accessor method returns a reference to the live list,
053         * not a snapshot. Therefore any modification you make to the
054         * returned list will be present inside the JAXB object.
055         * This is why there is not a <CODE>set</CODE> method for the notificationMessage property.
056         * 
057         * <p>
058         * For example, to add a new item, do as follows:
059         * <pre>
060         *    getNotificationMessage().add(newItem);
061         * </pre>
062         * 
063         * 
064         * <p>
065         * Objects of the following type(s) are allowed in the list
066         * {@link NotificationMessageHolderType }
067         * 
068         * 
069         */
070        public List<NotificationMessageHolderType> getNotificationMessage() {
071            if (notificationMessage == null) {
072                notificationMessage = new ArrayList<NotificationMessageHolderType>();
073            }
074            return this.notificationMessage;
075        }
076    
077        /**
078         * Gets the value of the any property.
079         * 
080         * <p>
081         * This accessor method returns a reference to the live list,
082         * not a snapshot. Therefore any modification you make to the
083         * returned list will be present inside the JAXB object.
084         * This is why there is not a <CODE>set</CODE> method for the any property.
085         * 
086         * <p>
087         * For example, to add a new item, do as follows:
088         * <pre>
089         *    getAny().add(newItem);
090         * </pre>
091         * 
092         * 
093         * <p>
094         * Objects of the following type(s) are allowed in the list
095         * {@link Object }
096         * {@link Element }
097         * 
098         * 
099         */
100        public List<Object> getAny() {
101            if (any == null) {
102                any = new ArrayList<Object>();
103            }
104            return this.any;
105        }
106    
107    }