|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.type_test.types1.CompoundArray
public class CompoundArray
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 Summary | |
|---|---|
protected java.util.List<java.lang.String> |
array1
|
protected java.util.List<java.lang.String> |
array2
|
| Constructor Summary | |
|---|---|
CompoundArray()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getArray1()
Gets the value of the array1 property. |
java.util.List<java.lang.String> |
getArray2()
Gets the value of the array2 property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<java.lang.String> array1
protected java.util.List<java.lang.String> array2
| Constructor Detail |
|---|
public CompoundArray()
| Method Detail |
|---|
public java.util.List<java.lang.String> getArray1()
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
public java.util.List<java.lang.String> getArray2()
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||