public class Question extends 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>
| Modifier and Type | Field and Description |
|---|---|
protected AppearanceType |
appearance |
protected String |
help |
protected String |
hint |
protected String |
id |
protected Response |
response |
protected String |
text |
| Constructor and Description |
|---|
Question() |
| Modifier and Type | Method and Description |
|---|---|
AppearanceType |
getAppearance()
Gets the value of the appearance property.
|
String |
getHelp()
Gets the value of the help property.
|
String |
getHint()
Gets the value of the hint property.
|
String |
getId()
Gets the value of the id property.
|
Response |
getResponse()
Gets the value of the response property.
|
String |
getText()
Gets the value of the text property.
|
void |
setAppearance(AppearanceType value)
Sets the value of the appearance property.
|
void |
setHelp(String value)
Sets the value of the help property.
|
void |
setHint(String value)
Sets the value of the hint property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setResponse(Response value)
Sets the value of the response property.
|
void |
setText(String value)
Sets the value of the text property.
|
protected String text
protected String help
protected String hint
protected Response response
protected String id
protected AppearanceType appearance
public String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic String getHelp()
Stringpublic void setHelp(String value)
value - allowed object is
Stringpublic String getHint()
Stringpublic void setHint(String value)
value - allowed object is
Stringpublic Response getResponse()
Responsepublic void setResponse(Response value)
value - allowed object is
Responsepublic void setId(String value)
value - allowed object is
Stringpublic AppearanceType getAppearance()
AppearanceTypepublic void setAppearance(AppearanceType value)
value - allowed object is
AppearanceTypeCopyright © 2007-2022. All Rights Reserved.