Class StructWithList


  • @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v2.3.5",
               date="2024-03-07T12:28:40-05:00")
    public class StructWithList
    extends Object

    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 Detail

      • varList

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        protected List<String> varList
      • attribList

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05:00")
        protected List<Integer> attribList
    • Constructor Detail

      • StructWithList

        public StructWithList()
    • Method Detail

      • getVarList

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.5",
                   date="2024-03-07T12:28:40-05: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 JAXB 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 v2.3.5",
                   date="2024-03-07T12:28:40-05: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 JAXB 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