Package org.opendope.questions
Class Question
java.lang.Object
org.opendope.questions.Question
public class Question
extends java.lang.Object
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>
-
Field Summary
Fields Modifier and Type Field Description protected AppearanceTypeappearanceprotected java.lang.Stringhelpprotected java.lang.Stringhintprotected java.lang.Stringidprotected Responseresponseprotected java.lang.Stringtext -
Constructor Summary
Constructors Constructor Description Question() -
Method Summary
Modifier and Type Method Description AppearanceTypegetAppearance()Gets the value of the appearance property.java.lang.StringgetHelp()Gets the value of the help property.java.lang.StringgetHint()Gets the value of the hint property.java.lang.StringgetId()Gets the value of the id property.ResponsegetResponse()Gets the value of the response property.java.lang.StringgetText()Gets the value of the text property.voidsetAppearance(AppearanceType value)Sets the value of the appearance property.voidsetHelp(java.lang.String value)Sets the value of the help property.voidsetHint(java.lang.String value)Sets the value of the hint property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetResponse(Response value)Sets the value of the response property.voidsetText(java.lang.String value)Sets the value of the text property.
-
Field Details
-
Constructor Details
-
Question
public Question()
-
-
Method Details
-
getText
public java.lang.String getText()Gets the value of the text property.- Returns:
- possible object is
String
-
setText
public void setText(java.lang.String value)Sets the value of the text property.- Parameters:
value- allowed object isString
-
getHelp
public java.lang.String getHelp()Gets the value of the help property.- Returns:
- possible object is
String
-
setHelp
public void setHelp(java.lang.String value)Sets the value of the help property.- Parameters:
value- allowed object isString
-
getHint
public java.lang.String getHint()Gets the value of the hint property.- Returns:
- possible object is
String
-
setHint
public void setHint(java.lang.String value)Sets the value of the hint property.- Parameters:
value- allowed object isString
-
getResponse
Gets the value of the response property.- Returns:
- possible object is
Response
-
setResponse
Sets the value of the response property.- Parameters:
value- allowed object isResponse
-
getId
public java.lang.String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getAppearance
Gets the value of the appearance property.- Returns:
- possible object is
AppearanceType
-
setAppearance
Sets the value of the appearance property.- Parameters:
value- allowed object isAppearanceType
-