Class StructWithList
Java class for StructWithList complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StructWithList"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="varList" type="{http://apache.org/type_test/types1}StringList"/> </sequence> <attribute name="attribList" type="{http://apache.org/type_test/types1}NumberList" /> </restriction> </complexContent> </complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribList property.Gets the value of the varList property.
-
Field Details
-
varList
-
attribList
-
-
Constructor Details
-
StructWithList
public StructWithList()
-
-
Method Details
-
getVarList
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04:00") public List<String> getVarList()Gets the value of the varList 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
set
method for the varList property.For example, to add a new item, do as follows:
getVarList().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
getAttribList
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04:00") public List<Integer> getAttribList()Gets the value of the attribList 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
set
method for the attribList property.For example, to add a new item, do as follows:
getAttribList().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
-