org.alfresco.repo.search.impl.querymodel.impl
Class BaseFunctionalConstraint

java.lang.Object
  extended by org.alfresco.repo.search.impl.querymodel.impl.BaseConstraint
      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
Constraint.Occur
 
Constructor Summary
BaseFunctionalConstraint(Function function, java.util.Map arguments)
           
 
Method Summary
 boolean evaluate()
           
 Function getFunction()
          Get the function
 java.util.Map getFunctionArguments()
          Get the functions arguments.
 java.lang.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
 

Constructor Detail

BaseFunctionalConstraint

public BaseFunctionalConstraint(Function function,
                                java.util.Map arguments)
Method Detail

evaluate

public boolean evaluate()
Specified by:
evaluate in interface Constraint

getFunction

public Function getFunction()
Description copied from interface: FunctionInvokation
Get the function

Specified by:
getFunction in interface FunctionInvokation
Returns:

getFunctionArguments

public java.util.Map getFunctionArguments()
Description copied from interface: FunctionInvokation
Get the functions arguments.

Specified by:
getFunctionArguments in interface FunctionInvokation
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.