public class BasicConstraint extends Object implements Constraint, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
modifiable |
| Modifier | Constructor and Description |
|---|---|
protected |
BasicConstraint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this constraint to the specified object.
|
int |
getBasicSupportLevel()
Tests if this constraint is supported by the basic queryhandler.
|
int |
hashCode() |
boolean |
isInverse()
Tests if the condition must be inverted.
|
BasicConstraint |
setInverse(boolean inverse)
Sets inverse.
|
void |
setUnmodifiable() |
public void setUnmodifiable()
setUnmodifiable in interface Constraintpublic BasicConstraint setInverse(boolean inverse)
inverse - The inverse value.BasicConstraint instance.public boolean isInverse()
ConstraintThis corresponds to the use of NOT in a WHERE-clause in SQL SELECT-syntax.
isInverse in interface Constraintpublic int getBasicSupportLevel()
ConstraintgetBasicSupportLevel in interface Constraintpublic boolean equals(Object obj)
Constrainttrue if and only if the argument is a non-null
Constraint object representing the same constraint(s).equals in interface Constraintequals in class Objectobj - The object to compare with.true if the objects are equal,
false otherwise.public int hashCode()
hashCode in interface ConstrainthashCode in class ObjectMMBase 1.9-SNAPSHOT - ${javadoctimestamp}