Package org.opendope.questions
Class Response.Fixed
java.lang.Object
org.opendope.questions.Response.Fixed
- Enclosing class:
- Response
public static class Response.Fixed
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="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>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponse.Fixed.ItemJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.lang.BooleancanSelectManyprotected java.util.List<Response.Fixed.Item>item -
Constructor Summary
Constructors Constructor Description Fixed() -
Method Summary
Modifier and Type Method Description java.util.List<Response.Fixed.Item>getItem()Gets the value of the item property.java.lang.BooleanisCanSelectMany()Gets the value of the canSelectMany property.voidsetCanSelectMany(java.lang.Boolean value)Sets the value of the canSelectMany property.
-
Field Details
-
item
-
canSelectMany
protected java.lang.Boolean canSelectMany
-
-
Constructor Details
-
Fixed
public Fixed()
-
-
Method Details
-
getItem
Gets the value of the item property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the item property.For example, to add a new item, do as follows:
getItem().add(newItem);Objects of the following type(s) are allowed in the list
Response.Fixed.Item -
isCanSelectMany
public java.lang.Boolean isCanSelectMany()Gets the value of the canSelectMany property.- Returns:
- possible object is
Boolean
-
setCanSelectMany
public void setCanSelectMany(java.lang.Boolean value)Sets the value of the canSelectMany property.- Parameters:
value- allowed object isBoolean
-