public class Products extends Object
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 ref="{}product" maxOccurs="unbounded"/> </sequence> <attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="total" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Long |
count |
protected List<Product> |
productList |
protected Long |
start |
protected Long |
total |
Constructor and Description |
---|
Products() |
Modifier and Type | Method and Description |
---|---|
Long |
getCount()
Gets the value of the count property.
|
List<Product> |
getProductList()
Gets the value of the productList property.
|
Long |
getStart()
Gets the value of the start property.
|
Long |
getTotal()
Gets the value of the total property.
|
void |
setCount(Long value)
Sets the value of the count property.
|
void |
setStart(Long value)
Sets the value of the start property.
|
void |
setTotal(Long value)
Sets the value of the total property.
|
public List<Product> getProductList()
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 productList property.
For example, to add a new item, do as follows:
getProductList().add(newItem);
Objects of the following type(s) are allowed in the list
Product
public Long getCount()
String
public void setCount(Long value)
value
- allowed object is
String
public Long getStart()
String
public void setStart(Long value)
value
- allowed object is
String
public Long getTotal()
String
Apache Camel