Package de.espirit.or.query
Class GreaterThan
java.lang.Object
de.espirit.or.query.AbstractConstraint
de.espirit.or.query.Compare
de.espirit.or.query.GreaterThan
- All Implemented Interfaces:
AttributeConstraint
,Constraint
,Serializable
,Cloneable
Constraint to check if belonging attribute is greater than 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
ConstructorDescriptionGreaterThan
(@NotNull String attributeName, Parameter parameter) Creates a new GreaterThan constraint for the given attributeName and given parameterGreaterThan
(@NotNull String attributeName, Object value) Creates a new GreaterThan 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
-
GreaterThan
Creates a new GreaterThan constraint for the given attributeName and given parameter- Since:
- 4.0.17
- See Also:
-
GreaterThan
Creates a new GreaterThan constraint for the given attributeName and the given value- Since:
- 4.0.17
-
-
Method Details
-
getType
The typeConstraint.Type.BIGGER
- Specified by:
getType
in interfaceConstraint
- Specified by:
getType
in classAbstractConstraint
- Returns:
- the type of this constraint.
- Since:
- 4.0.17
-