com.stimulsoft.report.dictionary.aggregateFunctions
Class StiMaxStrFunctionService

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

public class StiMaxStrFunctionService
extends StiAggregateFunctionService

Describes the class for work with MaxStr aggregate function. To calculate the type string is used.


Field Summary
static java.util.Comparator<java.lang.String> AscComparison
           
 
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
StiMaxStrFunctionService()
           
StiMaxStrFunctionService(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
 

Field Detail

AscComparison

public static java.util.Comparator<java.lang.String> AscComparison
Constructor Detail

StiMaxStrFunctionService

public StiMaxStrFunctionService()

StiMaxStrFunctionService

public StiMaxStrFunctionService(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