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.Object
Abstract reperesentation of a query constraint.- Author:
- Richard Smith, Mark Woodbridge
-
-
Field Summary
Fields Modifier and Type Field Description protected ConstraintOp
op
-
Constructor Summary
Constructors Constructor Description Constraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintOp
getOp()
Get op of constraintvoid
negate()
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
-
-