com.stimulsoft.report.dictionary.aggregateFunctions
Class StiAvgIntFunctionService

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.dictionary.aggregateFunctions.StiAggregateFunctionService
              extended by com.stimulsoft.report.dictionary.aggregateFunctions.StiAvgIntFunctionService
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, java.lang.Cloneable

public class StiAvgIntFunctionService
extends StiAggregateFunctionService

Describes the class for work with AvgI aggregate function. To calculate the type Int64 is used.


Field Summary
 
Fields inherited from class com.stimulsoft.report.dictionary.aggregateFunctions.StiAggregateFunctionService
IsFirstInit
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiAvgIntFunctionService()
           
StiAvgIntFunctionService(boolean runningTotal)
           
 
Method Summary
 void CalcItem(java.lang.Object value)
          A value calculation.
 boolean getRecureParam()
          Gets value, indicates that this function require a parameter.
 java.lang.Class GetResultType()
          Returns the type of the result.
 java.lang.String getServiceName()
          Gets a service name.
 java.lang.Object GetValue()
          Returns the calculation result.
 void Init()
          First initialization.
 void SetValue(java.lang.Object value)
          Sets the calculation result.
 
Methods inherited from class com.stimulsoft.report.dictionary.aggregateFunctions.StiAggregateFunctionService
ClearAllStates, getList, getRunningTotal, getServiceCategory, getServiceType, Reset, setRunningTotal
 
Methods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiAvgIntFunctionService

public StiAvgIntFunctionService(boolean runningTotal)

StiAvgIntFunctionService

public StiAvgIntFunctionService()
Method Detail

getServiceName

public java.lang.String getServiceName()
Gets a service name.

Overrides:
getServiceName in class StiService

Init

public void Init()
First initialization.

Specified by:
Init in class StiAggregateFunctionService

CalcItem

public void CalcItem(java.lang.Object value)
A value calculation.

Specified by:
CalcItem in class StiAggregateFunctionService
Parameters:
value - Value.

GetValue

public java.lang.Object GetValue()
Returns the calculation result.

Specified by:
GetValue in class StiAggregateFunctionService
Returns:
Calculation result.

SetValue

public void SetValue(java.lang.Object value)
Sets the calculation result.

Specified by:
SetValue in class StiAggregateFunctionService

GetResultType

public java.lang.Class GetResultType()
Returns the type of the result.

Specified by:
GetResultType in class StiAggregateFunctionService

getRecureParam

public boolean getRecureParam()
Gets value, indicates that this function require a parameter.

Specified by:
getRecureParam in class StiAggregateFunctionService