|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.type_test.types3.StructWithOccuringChoice
public class StructWithOccuringChoice
Java class for StructWithOccuringChoice complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StructWithOccuringChoice">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="varInteger" type="{http://www.w3.org/2001/XMLSchema}int"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="varString" type="{http://www.w3.org/2001/XMLSchema}string"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected int |
varInteger
|
protected java.util.List<java.io.Serializable> |
varIntOrVarString
|
| Constructor Summary | |
|---|---|
StructWithOccuringChoice()
|
|
| Method Summary | |
|---|---|
int |
getVarInteger()
Gets the value of the varInteger property. |
java.util.List<java.io.Serializable> |
getVarIntOrVarString()
Gets the value of the varIntOrVarString property. |
void |
setVarInteger(int value)
Sets the value of the varInteger property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int varInteger
protected java.util.List<java.io.Serializable> varIntOrVarString
| Constructor Detail |
|---|
public StructWithOccuringChoice()
| Method Detail |
|---|
public int getVarInteger()
public void setVarInteger(int value)
public java.util.List<java.io.Serializable> getVarIntOrVarString()
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 varIntOrVarString property.
For example, to add a new item, do as follows:
getVarIntOrVarString().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||