Package com.example.customerservice
Class GetCustomersByNameResponse
- java.lang.Object
-
- 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>
-
-
Constructor Summary
Constructors Constructor Description GetCustomersByNameResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Customer>
getReturn()
Gets the value of the return property.
-
-
-
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
-
-