Class CompoundArray

java.lang.Object
org.apache.type_test.types1.CompoundArray

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04:00") public class CompoundArray extends Object

Java class for CompoundArray complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CompoundArray">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="array1" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="array2" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • array1

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04:00") protected List<String> array1
    • array2

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04:00") protected List<String> array2
  • Constructor Details

    • CompoundArray

      public CompoundArray()
  • Method Details

    • getArray1

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04:00") public List<String> getArray1()
      Gets the value of the array1 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 array1 property.

      For example, to add a new item, do as follows:

          getArray1().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • getArray2

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-05-02T16:18:56-04:00") public List<String> getArray2()
      Gets the value of the array2 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 array2 property.

      For example, to add a new item, do as follows:

          getArray2().add(newItem);
       

      Objects of the following type(s) are allowed in the list String