Package org.intermine.objectstore.query
Class Constraint
- java.lang.Object
-
- org.intermine.objectstore.query.Constraint
-
- Direct Known Subclasses:
BagConstraint,ClassConstraint,ConstraintSet,ContainsConstraint,MultipleInBagConstraint,OverlapConstraint,SimpleConstraint,SubqueryConstraint,SubqueryExistsConstraint
public abstract class Constraint extends java.lang.ObjectAbstract reperesentation of a query constraint.- Author:
- Richard Smith, Mark Woodbridge
-
-
Field Summary
Fields Modifier and Type Field Description protected ConstraintOpop
-
Constructor Summary
Constructors Constructor Description Constraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintOpgetOp()Get op of constraintvoidnegate()Negate this constraint.
-
-
-
Field Detail
-
op
protected ConstraintOp op
-
-
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
-
-