Package de.espirit.or.query
Class Equal
java.lang.Object
de.espirit.or.query.AbstractConstraint
de.espirit.or.query.Compare
de.espirit.or.query.Equal
- All Implemented Interfaces:
AttributeConstraint
,Constraint
,Serializable
,Cloneable
Constraint to check if belonging attribute is equal 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
ConstructorDescriptionCreates a new Equal constraint for the attribute specified by given attributeName and parameter.Creates a new Equal constraint for the attribute specified by given attributeName and with 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
-
Equal
Creates a new Equal constraint for the attribute specified by given attributeName and parameter.- Since:
- 4.0.17
- See Also:
-
Equal
Creates a new Equal constraint for the attribute specified by given attributeName and with the given value.- Since:
- 4.0.17
-
-
Method Details
-
getType
The type of this constraint:Constraint.Type.EQUAL
- Specified by:
getType
in interfaceConstraint
- Specified by:
getType
in classAbstractConstraint
- Returns:
- the type of this constraint.
- Since:
- 4.0.17
-