Class ConcatenateFunction
Object
ExpressionAbstract
FunctionImpl
ConcatenateFunction
- All Implemented Interfaces:
Expression,Function
The function concatenates strings.
It is used to create concatenated strings as arguments of functions.
Implementation of Concatenate as defined by SE1.1.
- Author:
- Jody Garnett (Refractions Research, Inc.)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionNameMake the instance of FunctionName available in a consistent spot.Fields inherited from class FunctionImpl
functionNameFields inherited from interface Expression
NIL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FunctionImpl
accept, dispatchArguments, equals, functionName, getFallbackValue, getFunctionName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toStringMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
evaluate
-
Field Details
-
NAME
Make the instance of FunctionName available in a consistent spot.
-
-
Constructor Details
-
ConcatenateFunction
public ConcatenateFunction()
-
-
Method Details
-
getName
Description copied from class:FunctionImplGets the name of this function.- Specified by:
getNamein interfaceFunction- Overrides:
getNamein classFunctionImpl- Returns:
- the name of the function.
-
getArgCount
public int getArgCount() -
evaluate
Description copied from class:FunctionImplDefault implementation simply returns the fallbackValue.Please override this method to produce a value based on the provided arguments.
- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionImpl- Parameters:
feature- Object being evaluated; often a Feature- Returns:
- value for the provided object
-