Class CompoundArray

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

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05: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 v4.0.5", date="2024-12-09T12:26:01-05:00") protected List<String> array1
    • array2

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05:00") protected List<String> array2
  • Constructor Details

    • CompoundArray

      public CompoundArray()
  • Method Details

    • getArray1

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05: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 JAXB 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

      Returns:
      The value of the array1 property.
    • getArray2

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.5", date="2024-12-09T12:26:01-05: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 JAXB 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

      Returns:
      The value of the array2 property.