public class ComparisonImpl extends ConstraintImpl implements javax.jcr.query.qom.Comparison
ComparisonImpl...| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(QOMTreeVisitor visitor,
java.lang.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.
|
java.lang.String |
getOperator()
Gets the operator.
|
Operator |
getOperatorInstance() |
java.lang.String |
toString() |
public Operator getOperatorInstance()
public javax.jcr.query.qom.DynamicOperand getOperand1()
getOperand1 in interface javax.jcr.query.qom.Comparisonpublic java.lang.String getOperator()
getOperator in interface javax.jcr.query.qom.ComparisonQueryObjectModelConstants.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_LIKEpublic javax.jcr.query.qom.StaticOperand getOperand2()
getOperand2 in interface javax.jcr.query.qom.Comparisonpublic java.lang.Object accept(QOMTreeVisitor visitor, java.lang.Object data) throws java.lang.Exception
visitor and calls the appropriate visit method
depending on the type of this QOM node.accept in class AbstractQOMNodevisitor - the visitor.data - user defined data, which is passed to the visit method.java.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2025 Adobe. All Rights Reserved