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.XmlElement;
009 import javax.xml.bind.annotation.XmlElements;
010 import javax.xml.bind.annotation.XmlRootElement;
011 import javax.xml.bind.annotation.XmlType;
012
013
014 /**
015 * <p>Java class for anonymous complex type.
016 *
017 * <p>The following schema fragment specifies the expected content contained within this class.
018 *
019 * <pre>
020 * <complexType>
021 * <complexContent>
022 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
023 * <choice maxOccurs="unbounded">
024 * <element ref="{http://docs.oasis-open.org/wsrf/rp-2}Insert"/>
025 * <element ref="{http://docs.oasis-open.org/wsrf/rp-2}Update"/>
026 * <element ref="{http://docs.oasis-open.org/wsrf/rp-2}Delete"/>
027 * </choice>
028 * </restriction>
029 * </complexContent>
030 * </complexType>
031 * </pre>
032 *
033 *
034 */
035 @XmlAccessorType(XmlAccessType.FIELD)
036 @XmlType(name = "", propOrder = {
037 "insertOrUpdateOrDelete"
038 })
039 @XmlRootElement(name = "SetResourceProperties")
040 public class SetResourceProperties {
041
042 @XmlElements({
043 @XmlElement(name = "Insert", type = InsertType.class),
044 @XmlElement(name = "Update", type = UpdateType.class),
045 @XmlElement(name = "Delete", type = DeleteType.class)
046 })
047 protected List<Object> insertOrUpdateOrDelete;
048
049 /**
050 * Gets the value of the insertOrUpdateOrDelete property.
051 *
052 * <p>
053 * This accessor method returns a reference to the live list,
054 * not a snapshot. Therefore any modification you make to the
055 * returned list will be present inside the JAXB object.
056 * This is why there is not a <CODE>set</CODE> method for the insertOrUpdateOrDelete property.
057 *
058 * <p>
059 * For example, to add a new item, do as follows:
060 * <pre>
061 * getInsertOrUpdateOrDelete().add(newItem);
062 * </pre>
063 *
064 *
065 * <p>
066 * Objects of the following type(s) are allowed in the list
067 * {@link InsertType }
068 * {@link UpdateType }
069 * {@link DeleteType }
070 *
071 *
072 */
073 public List<Object> getInsertOrUpdateOrDelete() {
074 if (insertOrUpdateOrDelete == null) {
075 insertOrUpdateOrDelete = new ArrayList<Object>();
076 }
077 return this.insertOrUpdateOrDelete;
078 }
079
080 }