|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.type_test.types1.StructWithList
public class StructWithList
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 Summary | |
|---|---|
protected java.util.List<java.lang.Integer> |
attribList
|
protected java.util.List<java.lang.String> |
varList
|
| Constructor Summary | |
|---|---|
StructWithList()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.Integer> |
getAttribList()
Gets the value of the attribList property. |
java.util.List<java.lang.String> |
getVarList()
Gets the value of the varList 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> varList
protected java.util.List<java.lang.Integer> attribList
| Constructor Detail |
|---|
public StructWithList()
| Method Detail |
|---|
public java.util.List<java.lang.String> getVarList()
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
public java.util.List<java.lang.Integer> getAttribList()
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||