All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sardine.model.Propertyupdate Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.4-10/27/2009 06:09 PM(mockbuild)-fcs 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2009.12.23 at 06:27:19 PM PST 
//


package com.github.sardine.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice maxOccurs="unbounded">
 *         <element ref="{DAV:}remove"/>
 *         <element ref="{DAV:}set"/>
 *       </choice>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "removeOrSet" }) @XmlRootElement(name = "propertyupdate") public class Propertyupdate { @XmlElements({ @XmlElement(name = "remove", type = Remove.class), @XmlElement(name = "set", type = Set.class) }) private List removeOrSet; /** * Gets the value of the removeOrSet property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the removeOrSet property. * *

* For example, to add a new item, do as follows: *

     *    getRemoveOrSet().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Remove } * {@link Set } * * */ public List getRemoveOrSet() { if (removeOrSet == null) { removeOrSet = new ArrayList(); } return this.removeOrSet; } }