public class ProductsType extends Object
Java class for ProductsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ProductsType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="product" type="{http://www.bidib.org/schema/firmware/1.0}ProductType" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ProductType> |
product |
| Constructor and Description |
|---|
ProductsType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<ProductType> |
getProduct()
Gets the value of the product property.
|
int |
hashCode() |
String |
toString() |
ProductsType |
withProduct(Collection<ProductType> values) |
ProductsType |
withProduct(ProductType... values) |
protected List<ProductType> product
public List<ProductType> getProduct()
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 product property.
For example, to add a new item, do as follows:
getProduct().add(newItem);
Objects of the following type(s) are allowed in the list
ProductType
public ProductsType withProduct(ProductType... values)
public ProductsType withProduct(Collection<ProductType> values)
Copyright © 2017. All rights reserved.