public class ComparisonImpl extends ConstraintImpl implements javax.jcr.query.qom.Comparison
ComparisonImpl
...resolver
Modifier and Type | Method and Description |
---|---|
Object |
accept(QOMTreeVisitor visitor,
Object data)
Accepts a
visitor and calls the appropriate visit method
depending on the type of this QOM node. |
javax.jcr.query.qom.DynamicOperand |
getOperand1()
Gets the first operand.
|
javax.jcr.query.qom.StaticOperand |
getOperand2()
Gets the second operand.
|
String |
getOperator()
Gets the operator.
|
Operator |
getOperatorInstance() |
String |
toString() |
getJCRName, getJCRPath, protect, quote, quote
public Operator getOperatorInstance()
public javax.jcr.query.qom.DynamicOperand getOperand1()
getOperand1
in interface javax.jcr.query.qom.Comparison
public String getOperator()
getOperator
in interface javax.jcr.query.qom.Comparison
QueryObjectModelConstants.JCR_OPERATOR_EQUAL_TO
,QueryObjectModelConstants.JCR_OPERATOR_NOT_EQUAL_TO
,QueryObjectModelConstants.JCR_OPERATOR_LESS_THAN
,QueryObjectModelConstants.JCR_OPERATOR_LESS_THAN_OR_EQUAL_TO
,QueryObjectModelConstants.JCR_OPERATOR_GREATER_THAN
,QueryObjectModelConstants.JCR_OPERATOR_GREATER_THAN_OR_EQUAL_TO
,
orQueryObjectModelConstants.JCR_OPERATOR_LIKE
public javax.jcr.query.qom.StaticOperand getOperand2()
getOperand2
in interface javax.jcr.query.qom.Comparison
public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
visitor
and calls the appropriate visit method
depending on the type of this QOM node.accept
in class AbstractQOMNode
visitor
- the visitor.data
- user defined data, which is passed to the visit method.Exception
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.