package org.oasis_open.docs.wsrf._2004._06.wsrf_ws_resourceproperties_1_2_draft_01; import java.io.Serializable; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ResourcePropertyValueChangeNotificationType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ResourcePropertyValueChangeNotificationType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="OldValue" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <any/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="NewValue"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <any/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ResourcePropertyValueChangeNotificationType", propOrder = { "oldValue", "newValue" }) public class ResourcePropertyValueChangeNotificationType implements Serializable { @XmlElementRef(name = "OldValue", namespace = "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd", type = JAXBElement.class, required = false) protected JAXBElement<ResourcePropertyValueChangeNotificationType.OldValue> oldValue; @XmlElement(name = "NewValue", required = true, nillable = true) protected ResourcePropertyValueChangeNotificationType.NewValue newValue; /** * Gets the value of the oldValue property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link ResourcePropertyValueChangeNotificationType.OldValue }{@code >} * */ public JAXBElement<ResourcePropertyValueChangeNotificationType.OldValue> getOldValue() { return oldValue; } /** * Sets the value of the oldValue property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link ResourcePropertyValueChangeNotificationType.OldValue }{@code >} * */ public void setOldValue(JAXBElement<ResourcePropertyValueChangeNotificationType.OldValue> value) { this.oldValue = value; } /** * Gets the value of the newValue property. * * @return * possible object is * {@link ResourcePropertyValueChangeNotificationType.NewValue } * */ public ResourcePropertyValueChangeNotificationType.NewValue getNewValue() { return newValue; } /** * Sets the value of the newValue property. * * @param value * allowed object is * {@link ResourcePropertyValueChangeNotificationType.NewValue } * */ public void setNewValue(ResourcePropertyValueChangeNotificationType.NewValue value) { this.newValue = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <any/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "any" }) public static class NewValue implements Serializable { @XmlAnyElement(lax = true) protected Object any; /** * Gets the value of the any property. * * @return * possible object is * {@link Object } * */ public Object getAny() { return any; } /** * Sets the value of the any property. * * @param value * allowed object is * {@link Object } * */ public void setAny(Object value) { this.any = value; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <any/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "any" }) public static class OldValue implements Serializable { @XmlAnyElement(lax = true) protected Object any; /** * Gets the value of the any property. * * @return * possible object is * {@link Object } * */ public Object getAny() { return any; } /** * Sets the value of the any property. * * @param value * allowed object is * {@link Object } * */ public void setAny(Object value) { this.any = value; } } }