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     * &lt;complexType name="ResourcePropertyChangeFailureType">
021     *   &lt;complexContent>
022     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
023     *       &lt;sequence>
024     *         &lt;element name="CurrentValue" minOccurs="0">
025     *           &lt;complexType>
026     *             &lt;complexContent>
027     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028     *                 &lt;sequence>
029     *                   &lt;any/>
030     *                 &lt;/sequence>
031     *               &lt;/restriction>
032     *             &lt;/complexContent>
033     *           &lt;/complexType>
034     *         &lt;/element>
035     *         &lt;element name="RequestedValue" minOccurs="0">
036     *           &lt;complexType>
037     *             &lt;complexContent>
038     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
039     *                 &lt;sequence>
040     *                   &lt;any/>
041     *                 &lt;/sequence>
042     *               &lt;/restriction>
043     *             &lt;/complexContent>
044     *           &lt;/complexType>
045     *         &lt;/element>
046     *       &lt;/sequence>
047     *       &lt;attribute name="Restored" type="{http://www.w3.org/2001/XMLSchema}boolean" />
048     *     &lt;/restriction>
049     *   &lt;/complexContent>
050     * &lt;/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         * &lt;complexType>
149         *   &lt;complexContent>
150         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
151         *       &lt;sequence>
152         *         &lt;any/>
153         *       &lt;/sequence>
154         *     &lt;/restriction>
155         *   &lt;/complexContent>
156         * &lt;/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         * &lt;complexType>
209         *   &lt;complexContent>
210         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
211         *       &lt;sequence>
212         *         &lt;any/>
213         *       &lt;/sequence>
214         *     &lt;/restriction>
215         *   &lt;/complexContent>
216         * &lt;/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    }