public class FrcData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
granularity
Data granularity
|
protected int |
item
Forecast data item
|
private static long |
serialVersionUID |
protected double |
start
Forecast data start date
|
protected double |
totalValue
Total Forecast data value
|
protected java.util.List<java.lang.Double> |
values
Forecast data values
|
protected int |
valuesArraySize
Value array size
|
Constructor and Description |
---|
FrcData() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
int |
getGranularity()
Gets the granularity value for this FrcData.
|
int |
getItem()
Gets the item value for this FrcData.
|
double |
getStart()
Gets the start value for this FrcData.
|
double |
getTotalValue()
Gets the totalValue value for this FrcData.
|
java.util.List<java.lang.Double> |
getValues()
Gets the values value for this FrcData.
|
int |
getValuesArraySize()
Gets the valuesArraySize value for this FrcData.
|
int |
hashCode() |
void |
setGranularity(int granularity)
Sets the granularity value for this FrcData.
|
void |
setItem(int item)
Sets the item value for this FrcData.
|
void |
setStart(double start)
Sets the start value for this FrcData.
|
void |
setTotalValue(double totalValue)
Sets the totalValue value for this FrcData.
|
void |
setValues(java.util.List<java.lang.Double> values)
Sets the values value for this FrcData.
|
void |
setValuesArraySize(int valuesArraySize)
Sets the valuesArraySize value for this FrcData.
|
java.lang.String |
toString() |
FrcData |
withGranularity(int value) |
FrcData |
withItem(int value) |
FrcData |
withStart(double value) |
FrcData |
withTotalValue(double value) |
FrcData |
withValues(java.util.Collection<java.lang.Double> values) |
FrcData |
withValues(java.lang.Double... values) |
FrcData |
withValuesArraySize(int value) |
private static final long serialVersionUID
protected int item
EFrcDataTypes
protected double start
protected int granularity
protected int valuesArraySize
protected java.util.List<java.lang.Double> values
protected double totalValue
public int getItem()
EFrcDataTypes
public void setItem(int item)
item
- Forecast data typeEFrcDataTypes
public double getStart()
public void setStart(double start)
start
- Data period start date and timepublic int getGranularity()
public void setGranularity(int granularity)
granularity
- Interval between data value periods, e.g. 15 for time step. Special values:
0 - for total period value;
-1 - calendar month;
-10 - calendar week starts Sunday;
-11 - calendar week starts Mon.;
-12 - calendar week starts Tue.;
-13 - calendar week starts Wed.;
-14 - calendar week starts Thu.;
-15 - calendar week starts Fri.;
-16 - calendar week starts Sat.public int getValuesArraySize()
public void setValuesArraySize(int valuesArraySize)
valuesArraySize
- Forecast data values array sizepublic java.util.List<java.lang.Double> getValues()
public void setValues(java.util.List<java.lang.Double> values)
values
- Array of forecast data values in requested date rangepublic double getTotalValue()
public void setTotalValue(double totalValue)
totalValue
- Total value for the requested date rangepublic FrcData withValues(java.util.Collection<java.lang.Double> values)
public FrcData withValues(java.lang.Double... values)
public FrcData withValuesArraySize(int value)
public FrcData withGranularity(int value)
public FrcData withItem(int value)
public FrcData withStart(double value)
public FrcData withTotalValue(double value)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.