Package org.opendope.questions
Class Question
java.lang.Object
org.opendope.questions.Question
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the appearance property.getHelp()Gets the value of the help property.getHint()Gets the value of the hint property.getId()Gets the value of the id property.Gets the value of the response property.getText()Gets the value of the text property.voidsetAppearance(AppearanceType value) Sets the value of the appearance property.voidSets the value of the help property.voidSets the value of the hint property.voidSets the value of the id property.voidsetResponse(Response value) Sets the value of the response property.voidSets the value of the text property.
-
Field Details
-
text
-
help
-
hint
-
response
-
id
-
appearance
-
-
Constructor Details
-
Question
public Question()
-
-
Method Details
-
getText
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
Sets the value of the text property.- Parameters:
value- allowed object isString
-
getHelp
Gets the value of the help property.- Returns:
- possible object is
String
-
setHelp
Sets the value of the help property.- Parameters:
value- allowed object isString
-
getHint
Gets the value of the hint property.- Returns:
- possible object is
String
-
setHint
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
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
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
-