|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.query.AbstractConstraint
org.intermine.sql.query.NotConstraint
public class NotConstraint
A representation of a constraint that is represented here as the inverse of another Constraint.
| Field Summary | |
|---|---|
protected AbstractConstraint |
con
|
| Fields inherited from class org.intermine.sql.query.AbstractConstraint |
|---|
BOTH_FALSE, BOTH_TRUE, EQUAL, EXCLUDES, IMPLIED_BY, IMPLIES, INDEPENDENT, LEFT_FALSE, LEFT_FALSE_RIGHT_TRUE, LEFT_TRUE, LEFT_TRUE_RIGHT_FALSE, OPPOSITE, OR, RIGHT_FALSE, RIGHT_TRUE |
| Constructor Summary | |
|---|---|
NotConstraint(AbstractConstraint con)
Constructor for a NotConstraint object. |
|
| Method Summary | |
|---|---|
int |
compare(AbstractConstraint obj,
java.util.Map<AbstractTable,AbstractTable> tableMap,
java.util.Map<AbstractTable,AbstractTable> reverseTableMap)
Compare this NotConstraint with another AbstractConstraint, ignoring aliases in member fields and tables. |
AbstractConstraint |
getConstraint()
Returns the contained constraint. |
java.lang.String |
getSQLString()
Returns a String representation of this Constraint object, suitable for forming part of an SQL query. |
int |
hashCode()
Overrides Object.hashCode(). |
| Methods inherited from class org.intermine.sql.query.AbstractConstraint |
|---|
alterComparisonAnd, alterComparisonAORB, alterComparisonNotObj, alterComparisonNotThis, alterComparisonSwitch, checkComparisonEquals, checkComparisonImplies, compare, equals |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AbstractConstraint con
| Constructor Detail |
|---|
public NotConstraint(AbstractConstraint con)
con - the AbstractConstraint that this NotConstraint is to be the inverse of| Method Detail |
|---|
public java.lang.String getSQLString()
getSQLString in interface SQLStringablegetSQLString in class AbstractConstraint
public int compare(AbstractConstraint obj,
java.util.Map<AbstractTable,AbstractTable> tableMap,
java.util.Map<AbstractTable,AbstractTable> reverseTableMap)
compare in class AbstractConstraintobj - an AbstractConstraint to compare totableMap - a Map from tables in this constraint to tables in objreverseTableMap - a reverse of tableMap
public int hashCode()
hashCode in class AbstractConstraintpublic AbstractConstraint getConstraint()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||