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

de.svws_nrw.davapi.model.dav.SearchRequest 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!
/*
 * copyright(c) 2014 SAS Institute, Cary NC 27513 Created on Oct 23, 2014
 */
package de.svws_nrw.davapi.model.dav;

import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlTransient;
import jakarta.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;

/**
 * 

Java class for anonymous complex type.

* *

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

* *
    <element name="searchrequest">
        <complexType>
            <any processContents="skip" namespace="##other" minOccurs="1" maxOccurs="1" />
        </complexType>
    </element>
 * 
*/ @XmlType(name = "") @XmlRootElement(name = "searchrequest") public class SearchRequest { private String language; private String query; public SearchRequest() { this.language = "davbasic"; this.query = ""; } public SearchRequest(String language, String query) { this.language = language; this.query = query; } public final String getLanguage() { return language; } @XmlTransient public void setLanguage(String language) { this.language = language; } public final String getQuery() { return query; } @XmlTransient public void setQuery(String query) { this.query = query; } @XmlAnyElement public JAXBElement getElement() { return new JAXBElement<>(new QName("DAV:", language), String.class, query); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy