org.intermine.objectstore.query
Class Constraint

java.lang.Object
  extended by org.intermine.objectstore.query.Constraint
Direct Known Subclasses:
BagConstraint, ClassConstraint, ConstraintSet, ContainsConstraint, MultipleInBagConstraint, OverlapConstraint, SimpleConstraint, SubqueryConstraint, SubqueryExistsConstraint

public abstract class Constraint
extends java.lang.Object

Abstract reperesentation of a query constraint.


Field Summary
protected  ConstraintOp op
           
 
Constructor Summary
Constraint()
           
 
Method Summary
 ConstraintOp getOp()
          Get op of constraint
 void negate()
          Negate this constraint. i.e equals becomes not equals.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

op

protected ConstraintOp op
Constructor Detail

Constraint

public Constraint()
Method Detail

negate

public void negate()
Negate this constraint. i.e equals becomes not equals.


getOp

public ConstraintOp getOp()
Get op of constraint

Returns:
operation type