de.svws_nrw.davapi.model.dav.Response Maven / Gradle / Ivy
Show all versions of svws-module-dav-api Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.09.22 at 04:44:37 PM PDT
//
package de.svws_nrw.davapi.model.dav;
import jakarta.xml.bind.annotation.*;
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>
* <element ref="{DAV:}propstat" maxOccurs="unbounded"/>
* </choice>
* <element ref="{DAV:}error" minOccurs="0"/>
* <element ref="{DAV:}responsedescription" minOccurs="0"/>
* <element ref="{DAV:}location" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"href",
"status",
"propstat",
"error",
"responsedescription",
"location"
})
@XmlRootElement(name = "response")
public class Response {
@XmlElement(required = true)
protected List href;
protected String status;
protected List propstat;
protected Error error;
protected String responsedescription;
protected Location location;
/**
* 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;
}
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link Location }
*
*/
public Location getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link Location }
*
*/
public void setLocation(Location value) {
this.location = value;
}
}