Package de.espirit.or.query
Class LessThanEqual
java.lang.Object
de.espirit.or.query.AbstractConstraint
de.espirit.or.query.Compare
de.espirit.or.query.LessThanEqual
- All Implemented Interfaces:
AttributeConstraint
,Constraint
,Serializable
,Cloneable
Constraint to compare if belonging attribute is less than or equasl to a specific value.
- Since:
- 4.0.17
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.or.query.Constraint
Constraint.Type
-
Constructor Summary
ConstructorDescriptionLessThanEqual
(@NotNull String attributeName, Parameter parameter) Creates a new LessThanEqual constraint for the given attributeName and given parameter.LessThanEqual
(@NotNull String attributeName, Object value) Creates a new LessThanEqual constraint for the given attributeName and the given value. -
Method Summary
Methods inherited from class de.espirit.or.query.Compare
getParameter, getValue, setParameter, setValue
Methods inherited from class de.espirit.or.query.AbstractConstraint
getAttributeName, isEmpty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.espirit.or.query.AttributeConstraint
getAttributeName
Methods inherited from interface de.espirit.or.query.Constraint
isEmpty
-
Constructor Details
-
LessThanEqual
Creates a new LessThanEqual constraint for the given attributeName and given parameter.- Since:
- 4.0.17
- See Also:
-
LessThanEqual
Creates a new LessThanEqual constraint for the given attributeName and the given value.- Since:
- 4.0.17
-
-
Method Details
-
getType
The typeConstraint.Type.SMALLER_OR_EQUAL
- Specified by:
getType
in interfaceConstraint
- Specified by:
getType
in classAbstractConstraint
- Returns:
- the type of this constraint.
- Since:
- 4.0.17
-