Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.opendope.questions;
  

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>
 
 
 @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)
     @XmlID
     @XmlSchemaType(name = "ID")
     protected String id;
     @XmlAttribute
     protected AppearanceType appearance;

    
Gets the value of the text property.

Returns:
possible object is
 
     public String getText() {
         return ;
     }

    
Sets the value of the text property.

Parameters:
value allowed object is
 
     public void setText(String value) {
         this. = value;
     }

    
Gets the value of the help property.

Returns:
possible object is
 
     public String getHelp() {
         return ;
     }

    
Sets the value of the help property.

Parameters:
value allowed object is
    public void setHelp(String value) {
        this. = value;
    }

    
Gets the value of the hint property.

Returns:
possible object is
    public String getHint() {
        return ;
    }

    
Sets the value of the hint property.

Parameters:
value allowed object is
    public void setHint(String value) {
        this. = value;
    }

    
Gets the value of the response property.

Returns:
possible object is
    public Response getResponse() {
        return ;
    }

    
Sets the value of the response property.

Parameters:
value allowed object is
    public void setResponse(Response value) {
        this. = value;
    }

    
Gets the value of the id property.

Returns:
possible object is
    public String getId() {
        return ;
    }

    
Sets the value of the id property.

Parameters:
value allowed object is
    public void setId(String value) {
        this. = value;
    }

    
Gets the value of the appearance property.

Returns:
possible object is
    public AppearanceType getAppearance() {
        return ;
    }

    
Sets the value of the appearance property.

Parameters:
value allowed object is
    public void setAppearance(AppearanceType value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X