|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.type_test.xml.TestAnonUnionList
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:01:59+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class TestAnonUnionList
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="x" type="{http://apache.org/type_test/types1}AnonUnionList"/>
<element name="y" type="{http://apache.org/type_test/types1}AnonUnionList"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<String> |
x
|
protected List<String> |
y
|
| Constructor Summary | |
|---|---|
TestAnonUnionList()
|
|
| Method Summary | |
|---|---|
List<String> |
getX()
Gets the value of the x property. |
List<String> |
getY()
Gets the value of the y property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:01:59+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected List<String> x
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:01:59+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected List<String> y
| Constructor Detail |
|---|
public TestAnonUnionList()
| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:01:59+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public List<String> getX()
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 x property.
For example, to add a new item, do as follows:
getX().add(newItem);
Objects of the following type(s) are allowed in the list
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2012-10-02T03:01:59+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public List<String> getY()
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 y property.
For example, to add a new item, do as follows:
getY().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 | |||||||||