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

java.lang.Object
  extended by 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 java.lang.Object
implements Function


Constructor Summary
BaseFunction(java.lang.String name, QName returnType, java.util.LinkedHashMap argumentDefinitions)
           
 
Method Summary
 ArgumentDefinition getArgumentDefinition(java.lang.String name)
          Get the argument Definition
 java.util.LinkedHashMap getArgumentDefinitions()
          Get the argument Definitions
 java.lang.String getName()
          Get the function name
 QName getReturnType()
          Get the return type for the function
 java.lang.String toString()
           
 
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.Function
getValue
 

Constructor Detail

BaseFunction

public BaseFunction(java.lang.String name,
                    QName returnType,
                    java.util.LinkedHashMap argumentDefinitions)
Method Detail

getArgumentDefinitions

public java.util.LinkedHashMap getArgumentDefinitions()
Description copied from interface: Function
Get the argument Definitions

Specified by:
getArgumentDefinitions in interface Function
Returns:

getName

public java.lang.String getName()
Description copied from interface: Function
Get the function name

Specified by:
getName in interface Function
Returns:

getReturnType

public QName getReturnType()
Description copied from interface: Function
Get the return type for the function

Specified by:
getReturnType in interface Function
Returns:

getArgumentDefinition

public ArgumentDefinition getArgumentDefinition(java.lang.String name)
Description copied from interface: Function
Get the argument Definition

Specified by:
getArgumentDefinition in interface Function
Returns:

toString

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


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