public class Answers extends 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>
<choice maxOccurs="unbounded">
<element ref="{http://opendope.org/answers}answer" minOccurs="0"/>
<element ref="{http://opendope.org/answers}repeat" minOccurs="0"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
answerOrRepeat |
| Constructor and Description |
|---|
Answers() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAnswerOrRepeat()
Gets the value of the answerOrRepeat property.
|
public List<Object> getAnswerOrRepeat()
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 set method for the answerOrRepeat property.
For example, to add a new item, do as follows:
getAnswerOrRepeat().add(newItem);
Objects of the following type(s) are allowed in the list
Answer
Repeat
Copyright © 2007-2020. All Rights Reserved.