com.stimulsoft.report.dictionary.aggregateFunctions
Class StiAggregateFunctionService

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
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, java.lang.Cloneable
Direct Known Subclasses:
StiAvgDateFunctionService, StiAvgDecimalFunctionService, StiAvgDoubleFunctionService, StiAvgIntFunctionService, StiAvgTimeFunctionService, StiCountDistinctFunctionService, StiCountFunctionService, StiFirstFunctionService, StiLastFunctionService, StiMaxDateFunctionService, StiMaxDecimalFunctionService, StiMaxDoubleFunctionService, StiMaxIntFunctionService, StiMaxStrFunctionService, StiMaxTimeFunctionService, StiMedianDecimalFunctionService, StiMedianDoubleFunctionService, StiMedianIntFunctionService, StiMinDateFunctionService, StiMinDecimalFunctionService, StiMinDoubleFunctionService, StiMinIntFunctionService, StiMinStrFunctionService, StiMinTimeFunctionService, StiModeDecimalFunctionService, StiModeDoubleFunctionService, StiModeIntFunctionService, StiSumDecimalFunctionService, StiSumDecimalNullableFunctionService, StiSumDistinctDecimalFunctionService, StiSumDoubleFunctionService, StiSumIntFunctionService, StiSumTimeFunctionService

public abstract class StiAggregateFunctionService
extends StiService


Field Summary
 boolean IsFirstInit
           
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiAggregateFunctionService()
           
StiAggregateFunctionService(boolean runningTotal)
           
 
Method Summary
abstract  void CalcItem(java.lang.Object value)
           
 void ClearAllStates()
          Clear all earlier saved object states.
static java.util.List<StiAggregateFunctionService> getList()
          List of all aggregate functions
abstract  boolean getRecureParam()
           
abstract  java.lang.Class GetResultType()
           
 boolean getRunningTotal()
           
 java.lang.String getServiceCategory()
          Gets a service category.
 java.lang.Class getServiceType()
          Gets a service type.
abstract  java.lang.Object GetValue()
           
abstract  void Init()
           
 void Reset()
          Reset result of total calculation.
 void setRunningTotal(boolean value)
           
abstract  void SetValue(java.lang.Object value)
           
 
Methods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, getServiceName, 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
 

Field Detail

IsFirstInit

public boolean IsFirstInit
Constructor Detail

StiAggregateFunctionService

public StiAggregateFunctionService(boolean runningTotal)

StiAggregateFunctionService

public StiAggregateFunctionService()
Method Detail

getList

public static java.util.List<StiAggregateFunctionService> getList()
List of all aggregate functions

Returns:

getServiceCategory

public final java.lang.String getServiceCategory()
Gets a service category.

Overrides:
getServiceCategory in class StiService

getServiceType

public final java.lang.Class getServiceType()
Gets a service type.

Specified by:
getServiceType in class StiService

ClearAllStates

public void ClearAllStates()
Clear all earlier saved object states.


Reset

public void Reset()
Reset result of total calculation.


Init

public abstract void Init()

CalcItem

public abstract void CalcItem(java.lang.Object value)

GetValue

public abstract java.lang.Object GetValue()

SetValue

public abstract void SetValue(java.lang.Object value)

GetResultType

public abstract java.lang.Class GetResultType()

getRecureParam

public abstract boolean getRecureParam()

getRunningTotal

public final boolean getRunningTotal()

setRunningTotal

public final void setRunningTotal(boolean value)