org.modeshape.jcr.query.qom
Class JcrComparison
java.lang.Object
org.modeshape.graph.query.model.Comparison
org.modeshape.jcr.query.qom.JcrComparison
- All Implemented Interfaces:
- Serializable, Comparison, Constraint, LanguageObject, Visitable, JcrConstraint
public class JcrComparison
- extends Comparison
- implements JcrConstraint, Comparison
- See Also:
- Serialized Form
Methods inherited from interface org.modeshape.graph.query.model.Visitable |
accept |
JcrComparison
public JcrComparison(JcrDynamicOperand operand1,
Operator operator,
JcrStaticOperand operand2)
- Parameters:
operand1
- operator
- operand2
-
operand1
public JcrDynamicOperand operand1()
- Get the dynamic operand of this comparison.
- Overrides:
operand1
in class Comparison
- Returns:
- the dynamic operand; never null
- See Also:
Comparison.operand1()
operand2
public JcrStaticOperand operand2()
- Get the dynamic operand of this comparison.
- Overrides:
operand2
in class Comparison
- Returns:
- the dynamic operand; never null
- See Also:
Comparison.operand2()
getOperand1
public DynamicOperand getOperand1()
-
- Specified by:
getOperand1
in interface Comparison
- See Also:
Comparison.getOperand1()
getOperand2
public StaticOperand getOperand2()
-
- Specified by:
getOperand2
in interface Comparison
- See Also:
Comparison.getOperand2()
getOperator
public String getOperator()
-
- Specified by:
getOperator
in interface Comparison
- See Also:
Comparison.getOperator()
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.