public class Repeat 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> <element name="row" maxOccurs="unbounded"> <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> </element> </sequence> <attribute name="qref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
Repeat.Row
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected String |
qref |
protected List<Repeat.Row> |
row |
Constructor and Description |
---|
Repeat() |
Modifier and Type | Method and Description |
---|---|
String |
getQref()
Gets the value of the qref property.
|
List<Repeat.Row> |
getRow()
Gets the value of the row property.
|
void |
setQref(String value)
Sets the value of the qref property.
|
protected List<Repeat.Row> row
protected String qref
public List<Repeat.Row> getRow()
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 row property.
For example, to add a new item, do as follows:
getRow().add(newItem);
Objects of the following type(s) are allowed in the list
Repeat.Row
public String getQref()
String
Copyright © 2007-2019. All Rights Reserved.