public class ProductRecommendation extends Object
Java class for productRecommendation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="productRecommendation"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="product" type="{http://rest.immobilienscout24.de/schema/offer/productrecommondation/1.0}product" maxOccurs="unbounded"/> <element name="recommendedProduct" type="{http://rest.immobilienscout24.de/schema/offer/productrecommondation/1.0}product"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Product> |
product |
protected Product |
recommendedProduct |
Constructor and Description |
---|
ProductRecommendation() |
Modifier and Type | Method and Description |
---|---|
List<Product> |
getProduct()
Gets the value of the product property.
|
Product |
getRecommendedProduct()
Gets the value of the recommendedProduct property.
|
void |
setRecommendedProduct(Product value)
Sets the value of the recommendedProduct property.
|
protected Product recommendedProduct
public List<Product> 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
Product
public Product getRecommendedProduct()
Product
Copyright © 2014 OpenEstate. All rights reserved.