com.example.customerservice
Class GetCustomersByNameResponse

java.lang.Object
  extended by com.example.customerservice.GetCustomersByNameResponse

public class GetCustomersByNameResponse
extends Object

Java class for getCustomersByNameResponse complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="getCustomersByNameResponse">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="return" type="{http://customerservice.example.com/}customer" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Customer> _return
           
 
Constructor Summary
GetCustomersByNameResponse()
           
 
Method Summary
 List<Customer> getReturn()
          Gets the value of the return property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_return

protected List<Customer> _return
Constructor Detail

GetCustomersByNameResponse

public GetCustomersByNameResponse()
Method Detail

getReturn

public List<Customer> getReturn()
Gets the value of the return 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 return property.

For example, to add a new item, do as follows:

    getReturn().add(newItem);
 

Objects of the following type(s) are allowed in the list Customer



Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.