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 AppearanceType appearance  
    protected java.lang.String help  
    protected java.lang.String hint  
    protected java.lang.String id  
    protected Response response  
    protected java.lang.String text  
  • Constructor Summary

    Constructors 
    Constructor Description
    Question()  
  • Method Summary

    Modifier and Type Method Description
    AppearanceType getAppearance()
    Gets the value of the appearance property.
    java.lang.String getHelp()
    Gets the value of the help property.
    java.lang.String getHint()
    Gets the value of the hint property.
    java.lang.String getId()
    Gets the value of the id property.
    Response getResponse()
    Gets the value of the response property.
    java.lang.String getText()
    Gets the value of the text property.
    void setAppearance​(AppearanceType value)
    Sets the value of the appearance property.
    void setHelp​(java.lang.String value)
    Sets the value of the help property.
    void setHint​(java.lang.String value)
    Sets the value of the hint property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setResponse​(Response value)
    Sets the value of the response property.
    void setText​(java.lang.String value)
    Sets the value of the text property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • 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 is String
    • 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 is String
    • 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 is String
    • getResponse

      public Response getResponse()
      Gets the value of the response property.
      Returns:
      possible object is Response
    • setResponse

      public void setResponse​(Response value)
      Sets the value of the response property.
      Parameters:
      value - allowed object is Response
    • 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 is String
    • getAppearance

      public AppearanceType getAppearance()
      Gets the value of the appearance property.
      Returns:
      possible object is AppearanceType
    • setAppearance

      public void setAppearance​(AppearanceType value)
      Sets the value of the appearance property.
      Parameters:
      value - allowed object is AppearanceType