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