Class SimpleChoice
java.lang.Object
org.apache.tests.type_test.choice.SimpleChoice
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v3.0.2",
date="2023-09-13T13:18:15-04:00")
public class SimpleChoice
extends Object
Java class for SimpleChoice complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SimpleChoice"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/> <element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="varString" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> </restriction> </complexContent> </complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the varFloat property.Gets the value of the varInt property.Gets the value of the varString property.void
setVarFloat
(Float value) Sets the value of the varFloat property.void
Sets the value of the varInt property.void
setVarString
(String value) Sets the value of the varString property.
-
Field Details
-
varFloat
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-04:00") protected Float varFloat -
varInt
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-04:00") protected Integer varInt -
varString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-04:00") protected String varString
-
-
Constructor Details
-
SimpleChoice
public SimpleChoice()
-
-
Method Details
-
getVarFloat
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-04:00") public Float getVarFloat()Gets the value of the varFloat property.- Returns:
- possible object is
Float
-
setVarFloat
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-04:00") public void setVarFloat(Float value) Sets the value of the varFloat property.- Parameters:
value
- allowed object isFloat
-
getVarInt
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:18:15-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-09-13T13:18:15-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-09-13T13:18:15-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-09-13T13:18:15-04:00") public void setVarString(String value) Sets the value of the varString property.- Parameters:
value
- allowed object isString
-