Package de.espirit.or.query
Interface Constraint
- All Superinterfaces:
Cloneable,Serializable
- All Known Subinterfaces:
AttributeConstraint
- All Known Implementing Classes:
AbstractConstraint,And,Compare,ComposedConstraint,Equal,GreaterThan,GreaterThanEqual,In,IsNotNull,IsNull,LessThan,LessThanEqual,Like,NotEqual,Or
Interface for all filters which are used to restrict the result of a
Select.- Since:
- 4.0.17
- See Also:
-
Method Details
-
getType
Constraint.Type getType()Returns the type of this constraint.- Returns:
- the type of this constraint.
- Since:
- 5.0.100
-
isEmpty
boolean isEmpty()Check if this is an empty constraint. Empty constraints could be omitted without changing the query result.- Returns:
trueif the constraint is empty, i.e. removing the constraint would not change the query result.- Since:
- 5.0.102
-