public class NotEquals extends JdbcCriteria
Constructor and Description |
---|
NotEquals(JdbcProperty property,
Object expression)
Initializes a NOT EQUALS operator where the given
property must not be equal to the given
expression . |
Modifier and Type | Method and Description |
---|---|
void |
parse(String entryKey,
StringBuilder whereClause,
ParameterRegistry parameters)
Parses the criteria to a JPA compatible where clause and parameter values.
|
and, or
public NotEquals(JdbcProperty property, Object expression)
property
must not be equal to the given
expression
.property
- The property to matchexpression
- The expression to match against. May be null
.public void parse(String entryKey, StringBuilder whereClause, ParameterRegistry parameters)
JdbcCriteria
parse
in class JdbcCriteria
entryKey
- The variable assigned to the entry in the whereClausewhereClause
- The buffer to write the where clause to.parameters
- The registry where parameters and assigned values can be registered.Copyright © 2010-2014. All Rights Reserved.