org.alfresco.repo.search.impl.querymodel.impl
Class BaseComparison
java.lang.Object
org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
org.alfresco.repo.search.impl.querymodel.impl.BaseComparison
- All Implemented Interfaces:
- Function
- Direct Known Subclasses:
- Equals, GreaterThan, GreaterThanOrEquals, LessThan, LessThanOrEquals, NotEquals
public abstract class BaseComparison
- extends BaseFunction
Field Summary |
static java.lang.String |
ARG_LHS
Left hand side |
static java.lang.String |
ARG_MODE
Mode: SVP or mode for MVP comparisons |
static java.lang.String |
ARG_RHS
Right hand side |
static java.util.LinkedHashMap |
ARGS
Args |
Constructor Summary |
BaseComparison(java.lang.String name,
QName returnType,
java.util.LinkedHashMap argumentDefinitions)
|
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 |
ARG_LHS
public static final java.lang.String ARG_LHS
- Left hand side
- See Also:
- Constant Field Values
ARG_RHS
public static final java.lang.String ARG_RHS
- Right hand side
- See Also:
- Constant Field Values
ARG_MODE
public static final java.lang.String ARG_MODE
- Mode: SVP or mode for MVP comparisons
- See Also:
- Constant Field Values
ARGS
public static java.util.LinkedHashMap ARGS
- Args
BaseComparison
public BaseComparison(java.lang.String name,
QName returnType,
java.util.LinkedHashMap argumentDefinitions)
- Parameters:
name
- returnType
- argumentDefinitions
-
setPropertyAndStaticArguments
public void setPropertyAndStaticArguments(java.util.Map functionArgs)
getPropertyArgument
protected PropertyArgument getPropertyArgument()
- Returns:
- the propertyArgument - there must be a property argument of a function argument
getStaticArgument
protected StaticArgument getStaticArgument()
- Returns:
- the staticArgument - must be set
getFunctionArgument
protected FunctionArgument getFunctionArgument()
- Returns:
- the functionArgument
getPropertyName
public java.lang.String getPropertyName()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.