Package org.apache.type_test.types3
Class StructWithNillableChoice
java.lang.Object
org.apache.type_test.types3.StructWithNillableChoice
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v3.0.2",
date="2023-06-06T12:44:56-04:00")
public class StructWithNillableChoice
extends Object
Java class for StructWithNillableChoice complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StructWithNillableChoice">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="varInteger" type="{http://www.w3.org/2001/XMLSchema}int"/>
<choice 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 TypeMethodDescriptionGets the value of the varInt property.intGets the value of the varInteger property.Gets the value of the varString property.voidSets the value of the varInt property.voidsetVarInteger(int value) Sets the value of the varInteger property.voidsetVarString(String value) Sets the value of the varString 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 -
varInt
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") protected Integer varInt -
varString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") protected String varString
-
-
Constructor Details
-
StructWithNillableChoice
public StructWithNillableChoice()
-
-
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. -
getVarInt
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public Integer getVarInt()Gets the value of the varInt property.- Returns:
- possible object is
Integer
-
setVarInt
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public void setVarInt(Integer value) Sets the value of the varInt property.- Parameters:
value- allowed object isInteger
-
getVarString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public String getVarString()Gets the value of the varString property.- Returns:
- possible object is
String
-
setVarString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public void setVarString(String value) Sets the value of the varString property.- Parameters:
value- allowed object isString
-