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

com.github.sardine.model.Response 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.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">
 *       <sequence>
 *         <element ref="{DAV:}href" maxOccurs="unbounded"/>
 *         <choice>
 *           <sequence>
 *             <element ref="{DAV:}status"/>
 *           </sequence>
 *           <sequence>
 *             <element ref="{DAV:}propstat" maxOccurs="unbounded"/>
 *           </sequence>
 *         </choice>
 *         <element ref="{DAV:}error" minOccurs="0"/>
 *         <element ref="{DAV:}responsedescription" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "href", "status", "propstat", "error", "responsedescription" }) @XmlRootElement(name = "response") public class Response { @XmlElement(required = true) private List href; private String status; private List propstat; private Error error; private String responsedescription; /** * Gets the value of the href 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 href property. *

*

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

     *    getHref().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link String } */ public List getHref() { if(href == null) { href = new ArrayList(); } return this.href; } /** * Gets the value of the status property. * * @return possible object is * {@link String } */ public String getStatus() { return status; } /** * Sets the value of the status property. * * @param value allowed object is * {@link String } */ public void setStatus(String value) { this.status = value; } /** * Gets the value of the propstat 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 propstat property. *

*

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

     *    getPropstat().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link Propstat } */ public List getPropstat() { if(propstat == null) { propstat = new ArrayList(); } return this.propstat; } /** * Gets the value of the error property. * * @return possible object is * {@link Error } */ public Error getError() { return error; } /** * Sets the value of the error property. * * @param value allowed object is * {@link Error } */ public void setError(Error value) { this.error = value; } /** * Gets the value of the responsedescription property. * * @return possible object is * {@link String } */ public String getResponsedescription() { return responsedescription; } /** * Sets the value of the responsedescription property. * * @param value allowed object is * {@link String } */ public void setResponsedescription(String value) { this.responsedescription = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy