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 * <complexType name="ResourcePropertyValueChangeNotificationType">
022 * <complexContent>
023 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
024 * <sequence>
025 * <element name="OldValues" minOccurs="0">
026 * <complexType>
027 * <complexContent>
028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029 * <sequence>
030 * <any/>
031 * </sequence>
032 * </restriction>
033 * </complexContent>
034 * </complexType>
035 * </element>
036 * <element name="NewValues">
037 * <complexType>
038 * <complexContent>
039 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
040 * <sequence>
041 * <any/>
042 * </sequence>
043 * </restriction>
044 * </complexContent>
045 * </complexType>
046 * </element>
047 * </sequence>
048 * </restriction>
049 * </complexContent>
050 * </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 * <complexType>
123 * <complexContent>
124 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
125 * <sequence>
126 * <any/>
127 * </sequence>
128 * </restriction>
129 * </complexContent>
130 * </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 * <complexType>
183 * <complexContent>
184 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
185 * <sequence>
186 * <any/>
187 * </sequence>
188 * </restriction>
189 * </complexContent>
190 * </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 }