|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode org.apache.jackrabbit.spi.commons.query.qom.ConstraintImpl org.apache.jackrabbit.spi.commons.query.qom.ComparisonImpl
public class ComparisonImpl
ComparisonImpl
...
Field Summary |
---|
Fields inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode |
---|
resolver |
Method Summary | |
---|---|
Object |
accept(QOMTreeVisitor visitor,
Object data)
Accepts a visitor and calls the appropriate visit method
depending on the type of this QOM node. |
DynamicOperand |
getOperand1()
Gets the first operand. |
StaticOperand |
getOperand2()
Gets the second operand. |
int |
getOperator()
Gets the operator. |
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode |
---|
getJCRName, getJCRPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public DynamicOperand getOperand1()
getOperand1
in interface Comparison
public int getOperator()
getOperator
in interface Comparison
QueryObjectModelConstants.OPERATOR_EQUAL_TO
,QueryObjectModelConstants.OPERATOR_NOT_EQUAL_TO
,QueryObjectModelConstants.OPERATOR_LESS_THAN
,QueryObjectModelConstants.OPERATOR_LESS_THAN_OR_EQUAL_TO
,QueryObjectModelConstants.OPERATOR_GREATER_THAN
,QueryObjectModelConstants.OPERATOR_GREATER_THAN_OR_EQUAL_TO
,
orQueryObjectModelConstants.OPERATOR_LIKE
public StaticOperand getOperand2()
getOperand2
in interface 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |