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

de.svws_nrw.davapi.model.dav.card.CardAddressData Maven / Gradle / Ivy

Go to download

Diese Bibliothek enthält die Java-Server-Definition der CalDAV und CardDAV-Schnittstelle für die Schulverwaltungssoftware in NRW

The newest version!
package de.svws_nrw.davapi.model.dav.card;

import java.util.ArrayList;
import java.util.List;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlMixed;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;

/**
 * 

* 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>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "address-data", namespace = "urn:ietf:params:xml:ns:carddav") public class CardAddressData { @XmlMixed private List content; // @XmlElement // @XmlAttribute(name = "content-type") @XmlAttribute(name = "Content-Type") private String contentType; @XmlAttribute(name = "version") private String version; public String getContentType() { return contentType; } public void setContentType(String contentType) { this.contentType = contentType; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } /** * Gets the value of the content 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 content property. * *

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

	 * getContent().add(newItem);
	 * 
* * *

* Objects of the following type(s) are allowed in the list {@link String } * * */ public List getContent() { if (content == null) { content = new ArrayList<>(); } return this.content; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy