AR System Java API

com.bmc.arsys.api
Class StatisticsResultInfo

java.lang.Object
  extended by com.bmc.arsys.api.StatisticsResultInfo
All Implemented Interfaces:
Serializable

public class StatisticsResultInfo
extends Object
implements Serializable

The StatisticsResultInfo class returns statistics (aggregates) for the form entries, and identifies which group-by values were used to compile the statistics.

See Also:
Serialized Form

Field Summary
static int AR_STAT_OP_AVERAGE
          Average value for each group
static int AR_STAT_OP_COUNT
          Total number of matching entries
static int AR_STAT_OP_MAXIMUM
          Maximum value for each group
static int AR_STAT_OP_MINIMUM
          Minimum value for each group
static int AR_STAT_OP_SUM
          Sum of values for each group
 
Constructor Summary
StatisticsResultInfo()
           
StatisticsResultInfo(List<Value> groupByValues, Value result)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Value> getGroupByValues()
          Returns a list of the combination of all the values used to calculate the statistics (aggregates) for the form entries.
 Value getResult()
          Returns a real number of the statistics (aggregates) specified.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AR_STAT_OP_COUNT

public static final int AR_STAT_OP_COUNT
Total number of matching entries

See Also:
Constant Field Values

AR_STAT_OP_SUM

public static final int AR_STAT_OP_SUM
Sum of values for each group

See Also:
Constant Field Values

AR_STAT_OP_AVERAGE

public static final int AR_STAT_OP_AVERAGE
Average value for each group

See Also:
Constant Field Values

AR_STAT_OP_MINIMUM

public static final int AR_STAT_OP_MINIMUM
Minimum value for each group

See Also:
Constant Field Values

AR_STAT_OP_MAXIMUM

public static final int AR_STAT_OP_MAXIMUM
Maximum value for each group

See Also:
Constant Field Values
Constructor Detail

StatisticsResultInfo

public StatisticsResultInfo()

StatisticsResultInfo

public StatisticsResultInfo(List<Value> groupByValues,
                            Value result)
Method Detail

getGroupByValues

public List<Value> getGroupByValues()
Returns a list of the combination of all the values used to calculate the statistics (aggregates) for the form entries.


getResult

public Value getResult()
Returns a real number of the statistics (aggregates) specified.


toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.