Class BaseFunctionalConstraint
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseConstraint
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseFunctionalConstraint
-
- All Implemented Interfaces:
Constraint
,FunctionalConstraint
,FunctionInvokation
- Direct Known Subclasses:
LuceneFunctionalConstraint
public class BaseFunctionalConstraint extends BaseConstraint implements FunctionalConstraint
- Author:
- andyh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
Constraint.Occur
-
-
Constructor Summary
Constructors Constructor Description BaseFunctionalConstraint(Function function, Map<String,Argument> arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate()
Function
getFunction()
Get the functionMap<String,Argument>
getFunctionArguments()
Get the functions arguments.String
toString()
-
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseConstraint
getBoost, getOccur, setBoost, setOccur
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
getBoost, getOccur, setBoost, setOccur
-
-
-
-
Method Detail
-
evaluate
public boolean evaluate()
- Specified by:
evaluate
in interfaceConstraint
-
getFunction
public Function getFunction()
Description copied from interface:FunctionInvokation
Get the function- Specified by:
getFunction
in interfaceFunctionInvokation
- Returns:
- Function
-
getFunctionArguments
public Map<String,Argument> getFunctionArguments()
Description copied from interface:FunctionInvokation
Get the functions arguments.- Specified by:
getFunctionArguments
in interfaceFunctionInvokation
- Returns:
- Map
-
-