de.svws_nrw.davapi.model.dav.Resourcetype Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of svws-module-dav-api Show documentation
Show all versions of svws-module-dav-api Show documentation
Diese Bibliothek enthält die Java-Server-Definition der CalDAV und CardDAV-Schnittstelle für die Schulverwaltungssoftware in NRW
The 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 de.svws_nrw.davapi.model.dav;
import de.svws_nrw.davapi.model.dav.cal.CalCalendar;
import de.svws_nrw.davapi.model.dav.card.CardAddressbook;
import jakarta.xml.bind.annotation.*;
/**
* 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:}collection" minOccurs="0"/>
* <any/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"collection","principal",
"addressbook", "calendar"
})
@XmlRootElement(name = "resourcetype")
public class Resourcetype {
private Collection collection;
private Principal principal;
/**
* Gets the value of the collection property.
*
* @return
* possible object is
* {@link Collection }
*
*/
public Collection getCollection() {
return collection;
}
/**
* Sets the value of the collection property.
*
* @param value
* allowed object is
* {@link Collection }
*
*/
public void setCollection(Collection value) {
this.collection = value;
}
public Principal getPrincipal() {
return principal;
}
public void setPrincipal(Principal principal) {
this.principal = principal;
}
// CardDAV elements
@XmlElement(name = "addressbook", namespace = "urn:ietf:params:xml:ns:carddav")
private CardAddressbook addressbook;
public CardAddressbook getAddressbook() {
return addressbook;
}
public void setAddressbook(CardAddressbook addressbook) {
this.addressbook = addressbook;
}
// CalDAV elements
@XmlElement(name = "calendar", namespace = "urn:ietf:params:xml:ns:caldav")
private CalCalendar calendar;
public CalCalendar getCalendar() {
return calendar;
}
public void setCalendar(CalCalendar calendar) {
this.calendar = calendar;
}
}