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

java.lang.Object
  extended by org.alfresco.repo.search.impl.querymodel.impl.BaseArgument
      extended by org.alfresco.repo.search.impl.querymodel.impl.BaseDynamicArgument
          extended by org.alfresco.repo.search.impl.querymodel.impl.BaseFunctionArgument
All Implemented Interfaces:
Argument, DynamicArgument, FunctionArgument, FunctionInvokation
Direct Known Subclasses:
LuceneFunctionArgument

public class BaseFunctionArgument
extends BaseDynamicArgument
implements FunctionArgument


Constructor Summary
BaseFunctionArgument(java.lang.String name, Function function, java.util.Map arguments)
           
 
Method Summary
 Function getFunction()
          Get the function
 java.util.Map getFunctionArguments()
          Get the functions arguments.
 java.io.Serializable getValue(FunctionEvaluationContext context)
           
 boolean isQueryable()
           
 java.lang.String toString()
           
 
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseArgument
getName, isOrderable
 
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.Argument
getName, isOrderable
 

Constructor Detail

BaseFunctionArgument

public BaseFunctionArgument(java.lang.String name,
                            Function function,
                            java.util.Map arguments)
Method Detail

getValue

public java.io.Serializable getValue(FunctionEvaluationContext context)
Specified by:
getValue in interface Argument

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

isQueryable

public boolean isQueryable()
Specified by:
isQueryable in interface Argument
Overrides:
isQueryable in class BaseArgument


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