public class ForecastServiceInterfacegetDeliveryForecast extends Object
ProspectiveLineItem objects in a single
delivery simulation with line items potentially contending with each other. A delivery forecast
reports the number of units that will be delivered to each line item given the line item goals
and contentions from other line items.| Modifier and Type | Field and Description |
|---|---|
protected DeliveryForecastOptions |
forecastOptions |
protected List<ProspectiveLineItem> |
lineItems |
| Constructor and Description |
|---|
ForecastServiceInterfacegetDeliveryForecast() |
| Modifier and Type | Method and Description |
|---|---|
DeliveryForecastOptions |
getForecastOptions()
Gets the value of the forecastOptions property.
|
List<ProspectiveLineItem> |
getLineItems()
Gets the value of the lineItems property.
|
void |
setForecastOptions(DeliveryForecastOptions value)
Sets the value of the forecastOptions property.
|
protected List<ProspectiveLineItem> lineItems
protected DeliveryForecastOptions forecastOptions
public ForecastServiceInterfacegetDeliveryForecast()
public List<ProspectiveLineItem> getLineItems()
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 lineItems property.
For example, to add a new item, do as follows:
getLineItems().add(newItem);
Objects of the following type(s) are allowed in the list
ProspectiveLineItem
public DeliveryForecastOptions getForecastOptions()
DeliveryForecastOptionspublic void setForecastOptions(DeliveryForecastOptions value)
value - allowed object is
DeliveryForecastOptionsCopyright © 2018. All Rights Reserved.