Class StiAvgDoubleFunctionService
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.dictionary.aggregateFunctions.StiAggregateFunctionService
com.stimulsoft.report.dictionary.aggregateFunctions.StiAvgDoubleFunctionService
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
Describes the class for work with AvgD aggregate function. To calculate the type Double is used.
-
Field Summary
Fields inherited from class com.stimulsoft.report.dictionary.aggregateFunctions.StiAggregateFunctionService
IsFirstInitFields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.stimulsoft.report.dictionary.aggregateFunctions.StiAggregateFunctionService
ClearAllStates, getList, getRunningTotal, getServiceCategory, getServiceType, getStates, Reset, setRunningTotalMethods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Constructor Details
-
StiAvgDoubleFunctionService
public StiAvgDoubleFunctionService(boolean runningTotal) -
StiAvgDoubleFunctionService
public StiAvgDoubleFunctionService()
-
-
Method Details
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiService
-
Init
public void Init()First initialization.- Specified by:
Initin classStiAggregateFunctionService
-
CalcItem
A value calculation.- Specified by:
CalcItemin classStiAggregateFunctionService- Parameters:
value- Value.
-
GetValue
Returns the calculation result.- Specified by:
GetValuein classStiAggregateFunctionService- Returns:
- Calculation result.
-
SetValue
Sets the calculation result.- Specified by:
SetValuein classStiAggregateFunctionService
-
GetResultType
Returns the type of the result.- Specified by:
GetResultTypein classStiAggregateFunctionService
-
getRecureParam
public boolean getRecureParam()Gets value, indicates that this function require a parameter.- Specified by:
getRecureParamin classStiAggregateFunctionService
-