001    
002    package org.oasis_open.docs.wsrf.rp_2;
003    
004    import java.util.ArrayList;
005    import java.util.List;
006    import javax.xml.bind.JAXBElement;
007    import javax.xml.bind.annotation.XmlAccessType;
008    import javax.xml.bind.annotation.XmlAccessorType;
009    import javax.xml.bind.annotation.XmlAnyElement;
010    import javax.xml.bind.annotation.XmlElement;
011    import javax.xml.bind.annotation.XmlElementRef;
012    import javax.xml.bind.annotation.XmlType;
013    
014    
015    /**
016     * <p>Java class for ResourcePropertyValueChangeNotificationType complex type.
017     * 
018     * <p>The following schema fragment specifies the expected content contained within this class.
019     * 
020     * <pre>
021     * &lt;complexType name="ResourcePropertyValueChangeNotificationType">
022     *   &lt;complexContent>
023     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
024     *       &lt;sequence>
025     *         &lt;element name="OldValues" minOccurs="0">
026     *           &lt;complexType>
027     *             &lt;complexContent>
028     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029     *                 &lt;sequence>
030     *                   &lt;any/>
031     *                 &lt;/sequence>
032     *               &lt;/restriction>
033     *             &lt;/complexContent>
034     *           &lt;/complexType>
035     *         &lt;/element>
036     *         &lt;element name="NewValues">
037     *           &lt;complexType>
038     *             &lt;complexContent>
039     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
040     *                 &lt;sequence>
041     *                   &lt;any/>
042     *                 &lt;/sequence>
043     *               &lt;/restriction>
044     *             &lt;/complexContent>
045     *           &lt;/complexType>
046     *         &lt;/element>
047     *       &lt;/sequence>
048     *     &lt;/restriction>
049     *   &lt;/complexContent>
050     * &lt;/complexType>
051     * </pre>
052     * 
053     * 
054     */
055    @XmlAccessorType(XmlAccessType.FIELD)
056    @XmlType(name = "ResourcePropertyValueChangeNotificationType", propOrder = {
057        "oldValues",
058        "newValues"
059    })
060    public class ResourcePropertyValueChangeNotificationType {
061    
062        @XmlElementRef(name = "OldValues", namespace = "http://docs.oasis-open.org/wsrf/rp-2", type = JAXBElement.class)
063        protected JAXBElement<ResourcePropertyValueChangeNotificationType.OldValues> oldValues;
064        @XmlElement(name = "NewValues", required = true, nillable = true)
065        protected ResourcePropertyValueChangeNotificationType.NewValues newValues;
066    
067        /**
068         * Gets the value of the oldValues property.
069         * 
070         * @return
071         *     possible object is
072         *     {@link JAXBElement }{@code <}{@link ResourcePropertyValueChangeNotificationType.OldValues }{@code >}
073         *     
074         */
075        public JAXBElement<ResourcePropertyValueChangeNotificationType.OldValues> getOldValues() {
076            return oldValues;
077        }
078    
079        /**
080         * Sets the value of the oldValues property.
081         * 
082         * @param value
083         *     allowed object is
084         *     {@link JAXBElement }{@code <}{@link ResourcePropertyValueChangeNotificationType.OldValues }{@code >}
085         *     
086         */
087        public void setOldValues(JAXBElement<ResourcePropertyValueChangeNotificationType.OldValues> value) {
088            this.oldValues = ((JAXBElement<ResourcePropertyValueChangeNotificationType.OldValues> ) value);
089        }
090    
091        /**
092         * Gets the value of the newValues property.
093         * 
094         * @return
095         *     possible object is
096         *     {@link ResourcePropertyValueChangeNotificationType.NewValues }
097         *     
098         */
099        public ResourcePropertyValueChangeNotificationType.NewValues getNewValues() {
100            return newValues;
101        }
102    
103        /**
104         * Sets the value of the newValues property.
105         * 
106         * @param value
107         *     allowed object is
108         *     {@link ResourcePropertyValueChangeNotificationType.NewValues }
109         *     
110         */
111        public void setNewValues(ResourcePropertyValueChangeNotificationType.NewValues value) {
112            this.newValues = value;
113        }
114    
115    
116        /**
117         * <p>Java class for anonymous complex type.
118         * 
119         * <p>The following schema fragment specifies the expected content contained within this class.
120         * 
121         * <pre>
122         * &lt;complexType>
123         *   &lt;complexContent>
124         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
125         *       &lt;sequence>
126         *         &lt;any/>
127         *       &lt;/sequence>
128         *     &lt;/restriction>
129         *   &lt;/complexContent>
130         * &lt;/complexType>
131         * </pre>
132         * 
133         * 
134         */
135        @XmlAccessorType(XmlAccessType.FIELD)
136        @XmlType(name = "", propOrder = {
137            "any"
138        })
139        public static class NewValues {
140    
141            @XmlAnyElement(lax = true)
142            protected List<Object> any;
143    
144            /**
145             * Gets the value of the any property.
146             * 
147             * <p>
148             * This accessor method returns a reference to the live list,
149             * not a snapshot. Therefore any modification you make to the
150             * returned list will be present inside the JAXB object.
151             * This is why there is not a <CODE>set</CODE> method for the any property.
152             * 
153             * <p>
154             * For example, to add a new item, do as follows:
155             * <pre>
156             *    getAny().add(newItem);
157             * </pre>
158             * 
159             * 
160             * <p>
161             * Objects of the following type(s) are allowed in the list
162             * {@link Object }
163             * 
164             * 
165             */
166            public List<Object> getAny() {
167                if (any == null) {
168                    any = new ArrayList<Object>();
169                }
170                return this.any;
171            }
172    
173        }
174    
175    
176        /**
177         * <p>Java class for anonymous complex type.
178         * 
179         * <p>The following schema fragment specifies the expected content contained within this class.
180         * 
181         * <pre>
182         * &lt;complexType>
183         *   &lt;complexContent>
184         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
185         *       &lt;sequence>
186         *         &lt;any/>
187         *       &lt;/sequence>
188         *     &lt;/restriction>
189         *   &lt;/complexContent>
190         * &lt;/complexType>
191         * </pre>
192         * 
193         * 
194         */
195        @XmlAccessorType(XmlAccessType.FIELD)
196        @XmlType(name = "", propOrder = {
197            "any"
198        })
199        public static class OldValues {
200    
201            @XmlAnyElement(lax = true)
202            protected List<Object> any;
203    
204            /**
205             * Gets the value of the any property.
206             * 
207             * <p>
208             * This accessor method returns a reference to the live list,
209             * not a snapshot. Therefore any modification you make to the
210             * returned list will be present inside the JAXB object.
211             * This is why there is not a <CODE>set</CODE> method for the any property.
212             * 
213             * <p>
214             * For example, to add a new item, do as follows:
215             * <pre>
216             *    getAny().add(newItem);
217             * </pre>
218             * 
219             * 
220             * <p>
221             * Objects of the following type(s) are allowed in the list
222             * {@link Object }
223             * 
224             * 
225             */
226            public List<Object> getAny() {
227                if (any == null) {
228                    any = new ArrayList<Object>();
229                }
230                return this.any;
231            }
232    
233        }
234    
235    }