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

org.opendope.questions.Response Maven / Gradle / Ivy

Go to download

docx4j is a library which helps you to work with the Office Open XML file format as used in docx documents, pptx presentations, and xlsx spreadsheets.

There is a newer version: 6.1.2
Show newest version

package org.opendope.questions;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.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">
 *       <choice>
 *         <element name="free" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="fixed" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="item" maxOccurs="unbounded">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                             <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *                 <attribute name="canSelectMany" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </choice>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "free", "fixed" }) @XmlRootElement(name = "response") public class Response { protected Response.Free free; protected Response.Fixed fixed; /** * Gets the value of the free property. * * @return * possible object is * {@link Response.Free } * */ public Response.Free getFree() { return free; } /** * Sets the value of the free property. * * @param value * allowed object is * {@link Response.Free } * */ public void setFree(Response.Free value) { this.free = value; } /** * Gets the value of the fixed property. * * @return * possible object is * {@link Response.Fixed } * */ public Response.Fixed getFixed() { return fixed; } /** * Sets the value of the fixed property. * * @param value * allowed object is * {@link Response.Fixed } * */ public void setFixed(Response.Fixed value) { this.fixed = value; } /** *

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 name="item" maxOccurs="unbounded">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <sequence>
     *                   <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *                   <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *                 </sequence>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *       <attribute name="canSelectMany" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "item" }) public static class Fixed { @XmlElement(required = true) protected List item; @XmlAttribute protected Boolean canSelectMany; /** * Gets the value of the item 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 item property. * *

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

         *    getItem().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Response.Fixed.Item } * * */ public List getItem() { if (item == null) { item = new ArrayList(); } return this.item; } /** * Gets the value of the canSelectMany property. * * @return * possible object is * {@link Boolean } * */ public Boolean isCanSelectMany() { return canSelectMany; } /** * Sets the value of the canSelectMany property. * * @param value * allowed object is * {@link Boolean } * */ public void setCanSelectMany(Boolean value) { this.canSelectMany = value; } /** *

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 name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
         *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "label", "value" }) public static class Item { @XmlElement(required = true) protected String label; @XmlElement(required = true) protected String value; /** * Gets the value of the label property. * * @return * possible object is * {@link String } * */ public String getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link String } * */ public void setLabel(String value) { this.label = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } } } /** *

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">
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Free { } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy