Package org.opendope.questions
Class Response
java.lang.Object
org.opendope.questions.Response
public class Response
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">
<choice>
<element name="free" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="fixed" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="item" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="canSelectMany" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponse.FixedJava class for anonymous complex type.static classResponse.FreeJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected Response.Fixedfixedprotected Response.Freefree -
Constructor Summary
Constructors Constructor Description Response() -
Method Summary
Modifier and Type Method Description Response.FixedgetFixed()Gets the value of the fixed property.Response.FreegetFree()Gets the value of the free property.voidsetFixed(Response.Fixed value)Sets the value of the fixed property.voidsetFree(Response.Free value)Sets the value of the free property.
-
Field Details
-
Constructor Details
-
Response
public Response()
-
-
Method Details
-
getFree
Gets the value of the free property.- Returns:
- possible object is
Response.Free
-
setFree
Sets the value of the free property.- Parameters:
value- allowed object isResponse.Free
-
getFixed
Gets the value of the fixed property.- Returns:
- possible object is
Response.Fixed
-
setFixed
Sets the value of the fixed property.- Parameters:
value- allowed object isResponse.Fixed
-