Package org.apache.type_test.types3
Class StructWithOccuringChoice
java.lang.Object
org.apache.type_test.types3.StructWithOccuringChoice
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v3.0.2",
date="2023-06-06T12:44:56-04:00")
public class StructWithOccuringChoice
extends Object
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the value of the varInteger property.Gets the value of the varIntOrVarString property.voidsetVarInteger(int value) Sets the value of the varInteger property.
-
Field Details
-
varInteger
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") protected int varInteger -
varIntOrVarString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") protected List<Serializable> varIntOrVarString
-
-
Constructor Details
-
StructWithOccuringChoice
public StructWithOccuringChoice()
-
-
Method Details
-
getVarInteger
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public int getVarInteger()Gets the value of the varInteger property. -
setVarInteger
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public void setVarInteger(int value) Sets the value of the varInteger property. -
getVarIntOrVarString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public List<Serializable> getVarIntOrVarString()Gets the value of the varIntOrVarString 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 Jakarta XML Binding object. This is why there is not a
setmethod 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
IntegerString
-