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 name="Topic" type="{http://docs.oasis-open.org/wsn/b-2}TopicExpressionType"/>
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        "topic",
038        "any"
039    })
040    @XmlRootElement(name = "GetCurrentMessage")
041    public class GetCurrentMessage {
042    
043        @XmlElement(name = "Topic", required = true)
044        protected TopicExpressionType topic;
045        @XmlAnyElement(lax = true)
046        protected List<Object> any;
047    
048        /**
049         * Gets the value of the topic property.
050         * 
051         * @return
052         *     possible object is
053         *     {@link TopicExpressionType }
054         *     
055         */
056        public TopicExpressionType getTopic() {
057            return topic;
058        }
059    
060        /**
061         * Sets the value of the topic property.
062         * 
063         * @param value
064         *     allowed object is
065         *     {@link TopicExpressionType }
066         *     
067         */
068        public void setTopic(TopicExpressionType value) {
069            this.topic = value;
070        }
071    
072        /**
073         * Gets the value of the any property.
074         * 
075         * <p>
076         * This accessor method returns a reference to the live list,
077         * not a snapshot. Therefore any modification you make to the
078         * returned list will be present inside the JAXB object.
079         * This is why there is not a <CODE>set</CODE> method for the any property.
080         * 
081         * <p>
082         * For example, to add a new item, do as follows:
083         * <pre>
084         *    getAny().add(newItem);
085         * </pre>
086         * 
087         * 
088         * <p>
089         * Objects of the following type(s) are allowed in the list
090         * {@link Element }
091         * {@link Object }
092         * 
093         * 
094         */
095        public List<Object> getAny() {
096            if (any == null) {
097                any = new ArrayList<Object>();
098            }
099            return this.any;
100        }
101    
102    }