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

org.opendope.questions.Question 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: 11.4.11
Show newest version

package org.opendope.questions;

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.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

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="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="help" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="hint" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element ref="{http://opendope.org/questions}response"/>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *       <attribute name="appearance" type="{http://opendope.org/questions}appearanceType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "text", "help", "hint", "response" }) @XmlRootElement(name = "question") public class Question { @XmlElement(required = true) protected String text; protected String help; protected String hint; @XmlElement(required = true) protected Response response; @XmlAttribute(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute protected AppearanceType appearance; /** * Gets the value of the text property. * * @return * possible object is * {@link String } * */ public String getText() { return text; } /** * Sets the value of the text property. * * @param value * allowed object is * {@link String } * */ public void setText(String value) { this.text = value; } /** * Gets the value of the help property. * * @return * possible object is * {@link String } * */ public String getHelp() { return help; } /** * Sets the value of the help property. * * @param value * allowed object is * {@link String } * */ public void setHelp(String value) { this.help = value; } /** * Gets the value of the hint property. * * @return * possible object is * {@link String } * */ public String getHint() { return hint; } /** * Sets the value of the hint property. * * @param value * allowed object is * {@link String } * */ public void setHint(String value) { this.hint = value; } /** * Gets the value of the response property. * * @return * possible object is * {@link Response } * */ public Response getResponse() { return response; } /** * Sets the value of the response property. * * @param value * allowed object is * {@link Response } * */ public void setResponse(Response value) { this.response = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the appearance property. * * @return * possible object is * {@link AppearanceType } * */ public AppearanceType getAppearance() { return appearance; } /** * Sets the value of the appearance property. * * @param value * allowed object is * {@link AppearanceType } * */ public void setAppearance(AppearanceType value) { this.appearance = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy