com.stimulsoft.report.dictionary.aggregateFunctions
Class StiSumDecimalNullableFunctionService

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.StiSumDecimalNullableFunctionService
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, java.lang.Cloneable

public class StiSumDecimalNullableFunctionService
extends StiAggregateFunctionService

Describes the class for work with Sum aggregate function. To calculate the type Decimal 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
StiSumDecimalNullableFunctionService()
           
StiSumDecimalNullableFunctionService(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

StiSumDecimalNullableFunctionService

public StiSumDecimalNullableFunctionService()

StiSumDecimalNullableFunctionService

public StiSumDecimalNullableFunctionService(boolean runningTotal)
Method Detail

CalcItem

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

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

getRecureParam

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

Specified by:
getRecureParam in class StiAggregateFunctionService

GetResultType

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

Specified by:
GetResultType in class StiAggregateFunctionService

getServiceName

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

Overrides:
getServiceName in class StiService

GetValue

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

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

Init

public void Init()
First initialization.

Specified by:
Init in class StiAggregateFunctionService

SetValue

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

Specified by:
SetValue in class StiAggregateFunctionService