Class BaseFunction
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
-
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
BaseComparison,Child,Descendant,Exists,FTSFuzzyTerm,FTSPhrase,FTSPrefixTerm,FTSProximity,FTSRange,FTSTerm,FTSWildTerm,In,Like,Lower,PropertyAccessor,Score,Upper
public abstract class BaseFunction extends Object implements Function
- Author:
- andyh
-
-
Constructor Summary
Constructors Constructor Description BaseFunction(String name, QName returnType, LinkedHashMap<String,ArgumentDefinition> argumentDefinitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArgumentDefinitiongetArgumentDefinition(String name)Get the argument DefinitionLinkedHashMap<String,ArgumentDefinition>getArgumentDefinitions()Get the argument DefinitionsStringgetName()Get the function nameQNamegetReturnType()Get the return type for the functionStringtoString()
-
-
-
Constructor Detail
-
BaseFunction
public BaseFunction(String name, QName returnType, LinkedHashMap<String,ArgumentDefinition> argumentDefinitions)
-
-
Method Detail
-
getArgumentDefinitions
public LinkedHashMap<String,ArgumentDefinition> getArgumentDefinitions()
Description copied from interface:FunctionGet the argument Definitions- Specified by:
getArgumentDefinitionsin interfaceFunction- Returns:
- LinkedHashMap
-
getReturnType
public QName getReturnType()
Description copied from interface:FunctionGet the return type for the function- Specified by:
getReturnTypein interfaceFunction- Returns:
- QName
-
getArgumentDefinition
public ArgumentDefinition getArgumentDefinition(String name)
Description copied from interface:FunctionGet the argument Definition- Specified by:
getArgumentDefinitionin interfaceFunction- Returns:
- ArgumentDefinition
-
-