public class TimeSeries
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Forecast> |
forecast |
protected java.lang.String |
type |
| Constructor and Description |
|---|
TimeSeries() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Forecast> |
getForecast()
Gets the value of the forecast property.
|
java.lang.String |
getType()
Gets the value of the type property.
|
void |
setType(java.lang.String value)
Sets the value of the type property.
|
protected java.lang.String type
protected java.util.List<Forecast> forecast
public java.lang.String getType()
Stringpublic void setType(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<Forecast> getForecast()
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 forecast property.
For example, to add a new item, do as follows:
getForecast().add(newItem);
Objects of the following type(s) are allowed in the list
Forecast
Copyright © 2018 SAP SE. All Rights Reserved.