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 ArgumentDefinition
getArgumentDefinition(String name)
Get the argument DefinitionLinkedHashMap<String,ArgumentDefinition>
getArgumentDefinitions()
Get the argument DefinitionsString
getName()
Get the function nameQName
getReturnType()
Get the return type for the functionString
toString()
-
-
-
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:Function
Get the argument Definitions- Specified by:
getArgumentDefinitions
in interfaceFunction
- Returns:
- LinkedHashMap
-
getReturnType
public QName getReturnType()
Description copied from interface:Function
Get the return type for the function- Specified by:
getReturnType
in interfaceFunction
- Returns:
- QName
-
getArgumentDefinition
public ArgumentDefinition getArgumentDefinition(String name)
Description copied from interface:Function
Get the argument Definition- Specified by:
getArgumentDefinition
in interfaceFunction
- Returns:
- ArgumentDefinition
-
-