org.apache.type_test.types1
Class StructWithList

java.lang.Object
  extended by org.apache.type_test.types1.StructWithList

public class StructWithList
extends java.lang.Object

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

varList

protected java.util.List<java.lang.String> varList

attribList

protected java.util.List<java.lang.Integer> attribList
Constructor Detail

StructWithList

public StructWithList()
Method Detail

getVarList

public java.util.List<java.lang.String> getVarList()
Gets the value of the varList 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 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


getAttribList

public java.util.List<java.lang.Integer> getAttribList()
Gets the value of the attribList 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 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



Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.