public class FrcData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
__equalsCalc |
private boolean |
__hashCodeCalc |
private int |
granularity |
private int |
item |
private double |
start |
private double |
totalValue |
private double[] |
values |
private int |
valuesArraySize |
Constructor and Description |
---|
FrcData() |
FrcData(int item,
double start,
int granularity,
int valuesArraySize,
double[] values,
double totalValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
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(double[] values)
Sets the values value for this FrcData.
|
void |
setValuesArraySize(int valuesArraySize)
Sets the valuesArraySize value for this FrcData.
|
private int item
private double start
private int granularity
private int valuesArraySize
private double[] values
private double totalValue
private java.lang.Object __equalsCalc
private boolean __hashCodeCalc
public FrcData()
public FrcData(int item, double start, int granularity, int valuesArraySize, double[] values, 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 double[] getValues()
public void setValues(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 boolean equals(java.lang.Object obj)
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.