Class TestUnionWithAnonList
- java.lang.Object
-
- org.apache.type_test.doc.TestUnionWithAnonList
-
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.5", date="2024-03-07T12:28:40-05:00") public class TestUnionWithAnonList extends Object
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}UnionWithAnonList"/> <element name="y" type="{http://apache.org/type_test/types1}UnionWithAnonList"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description TestUnionWithAnonList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getX()
Gets the value of the x property.List<String>
getY()
Gets the value of the y property.
-
-
-
Method Detail
-
getX
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.5", date="2024-03-07T12:28:40-05: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 JAXB object. This is why there is not a
set
method 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 v2.3.5", date="2024-03-07T12:28:40-05: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 JAXB object. This is why there is not a
set
method 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
-
-