Class TestUnionWithStringList
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="x" type="{http://apache.org/type_test/types1}UnionWithStringList"/>
<element name="y" type="{http://apache.org/type_test/types1}UnionWithStringList"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
-
y
-
-
Constructor Details
-
TestUnionWithStringList
public TestUnionWithStringList()
-
-
Method Details
-
getX
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public List<String> getX()Gets the value of the x 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 x property.For example, to add a new item, do as follows:
getX().add(newItem);Objects of the following type(s) are allowed in the list
String -
getY
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-06-06T12:44:56-04:00") public List<String> getY()Gets the value of the y 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 y property.For example, to add a new item, do as follows:
getY().add(newItem);Objects of the following type(s) are allowed in the list
String
-