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
- Author:
- andyh
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Left hand sidestatic final String
Mode: SVP or mode for MVP comparisonsstatic final String
Right hand sidestatic LinkedHashMap<String,
ArgumentDefinition> Args -
Constructor Summary
ConstructorsConstructorDescriptionBaseComparison
(String name, QName returnType, LinkedHashMap<String, ArgumentDefinition> argumentDefinitions) -
Method Summary
Modifier and TypeMethodDescriptionprotected FunctionArgument
protected PropertyArgument
protected StaticArgument
void
setPropertyAndStaticArguments
(Map<String, Argument> functionArgs) Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
getArgumentDefinition, getArgumentDefinitions, getName, getReturnType, toString
-
Field Details
-
ARG_LHS
Left hand side- See Also:
-
ARG_RHS
Right hand side- See Also:
-
ARG_MODE
Mode: SVP or mode for MVP comparisons- See Also:
-
ARGS
Args
-
-
Constructor Details
-
BaseComparison
public BaseComparison(String name, QName returnType, LinkedHashMap<String, ArgumentDefinition> argumentDefinitions) - Parameters:
name
- StringreturnType
- QName
-
-
Method Details
-
setPropertyAndStaticArguments
-
getPropertyArgument
- Returns:
- the propertyArgument - there must be a property argument of a function argument
-
getStaticArgument
- Returns:
- the staticArgument - must be set
-
getStaticPosition
- Returns:
- the staticPosition
-
getFunctionArgument
- Returns:
- the functionArgument
-
getPropertyName
-