@Immutable public class Comparison extends Object implements Constraint, Comparison
| Constructor and Description |
|---|
Comparison(DynamicOperand operand1,
Operator operator,
StaticOperand operand2) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
|
boolean |
equals(Object obj) |
DynamicOperand |
getOperand1() |
StaticOperand |
getOperand2() |
String |
getOperator() |
int |
hashCode() |
Operator |
operator()
Get the operator for this comparison
|
String |
toString() |
public Comparison(DynamicOperand operand1, Operator operator, StaticOperand operand2)
public DynamicOperand getOperand1()
getOperand1 in interface Comparisonpublic StaticOperand getOperand2()
getOperand2 in interface Comparisonpublic final Operator operator()
public String getOperator()
getOperator in interface ComparisonCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.