Class StiFunction
java.lang.Object
com.stimulsoft.report.dictionary.functions.StiFunction
- All Implemented Interfaces:
IStiAppFunction,Comparable<StiFunction>
Copyright Stimulsoft
-
Constructor Summary
ConstructorsConstructorDescriptionStiFunction(String category, String groupFunctionName, String functionName, String description, String typeOfFunction, StiSystemType returnType, String returnDescription, StiSystemType[] argumentTypes, String[] argumentNames, String[] argumentDescriptions) -
Method Summary
Modifier and TypeMethodDescriptionintconvertTypeToString(StiSystemType type, StiReportLanguageType language) String[]String[]getFunctionString(StiReportLanguageType language) getFunctionString(StiReportLanguageType language, boolean addFunctionName) GetLongFunctionString(StiReportLanguageType language) getName()Returns a name of the function.Invokes this function with specified arguments.booleanvoidsetArgumentDescriptions(String[] argumentDescriptions) voidsetArgumentNames(String[] argumentNames) voidsetArgumentTypes(StiSystemType[] argumentTypes) voidsetCategory(String category) voidsetDescription(String description) voidsetFunctionName(String functionName) voidsetGroupFunctionName(String groupFunctionName) voidsetReturnDescription(String returnDescription) voidsetReturnType(StiSystemType returnType) voidsetTypeOfFunction(String typeOfFunction) voidsetUseFullPath(boolean useFullPath)
-
Constructor Details
-
StiFunction
public StiFunction(String category, String groupFunctionName, String functionName, String description, String typeOfFunction, StiSystemType returnType, String returnDescription, StiSystemType[] argumentTypes, String[] argumentNames, String[] argumentDescriptions)
-
-
Method Details
-
getFunctionString
-
getFunctionString
-
GetLongFunctionString
-
convertTypeToString
-
isUseFullPath
public boolean isUseFullPath()- Returns:
- the useFullPath
-
setUseFullPath
public void setUseFullPath(boolean useFullPath) - Parameters:
useFullPath- the useFullPath to set
-
getCategory
- Returns:
- the category
-
setCategory
- Parameters:
category- the category to set
-
getGroupFunctionName
- Returns:
- the groupFunctionName
-
setGroupFunctionName
- Parameters:
groupFunctionName- the groupFunctionName to set
-
getFunctionName
- Returns:
- the functionName
-
setFunctionName
- Parameters:
functionName- the functionName to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getTypeOfFunction
- Returns:
- the typeOfFunction
-
setTypeOfFunction
- Parameters:
typeOfFunction- the typeOfFunction to set
-
getReturnType
- Returns:
- the returnType
-
setReturnType
- Parameters:
returnType- the returnType to set
-
getReturnDescription
- Returns:
- the returnDescription
-
setReturnDescription
- Parameters:
returnDescription- the returnDescription to set
-
getArgumentTypes
- Returns:
- the argumentTypes
-
setArgumentTypes
- Parameters:
argumentTypes- the argumentTypes to set
-
getArgumentNames
- Returns:
- the argumentNames
-
setArgumentNames
- Parameters:
argumentNames- the argumentNames to set
-
getArgumentDescriptions
- Returns:
- the argumentDescriptions
-
setArgumentDescriptions
- Parameters:
argumentDescriptions- the argumentDescriptions to set
-
compareTo
- Specified by:
compareToin interfaceComparable<StiFunction>
-
getName
Description copied from interface:IStiAppFunctionReturns a name of the function.- Specified by:
getNamein interfaceIStiAppFunction- Returns:
- The name of the function.
-
invoke
Description copied from interface:IStiAppFunctionInvokes this function with specified arguments.- Specified by:
invokein interfaceIStiAppFunction- Parameters:
arguments- The list of arguments.- Returns:
- The result of the function calling.
-