public class DefaultStringExpressionFactory extends Object implements StringExpressionFactory
| Constructor and Description |
|---|
DefaultStringExpressionFactory(String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
LikeExpression |
containsIgnoreCase(String value)
Returns a new case-insensitive like expression reflecting the property and the specified value.
|
LikeExpression |
endsWithIgnoreCase(String value)
a new case-insensitive like expression reflecting that the specified value
should be at the end of the corresponding property value.
|
SimpleExpression |
eqIgnoreCase(String value)
Returns a new case-insensitive equals expression reflecting the specified value.
|
LikeExpression |
startsWithIgnoreCase(String value)
Returns a new case-insensitive like expression reflecting that the specified value
should be at the beginning of the matching property value.
|
public DefaultStringExpressionFactory(String propertyName)
public SimpleExpression eqIgnoreCase(String value)
eqIgnoreCase in interface StringExpressionFactoryvalue - the value that should equal the property value (ignoring case).public LikeExpression startsWithIgnoreCase(String value)
startsWithIgnoreCase in interface StringExpressionFactoryvalue - the value that should be at the beginning of the property value.public LikeExpression endsWithIgnoreCase(String value)
endsWithIgnoreCase in interface StringExpressionFactoryvalue - the value that should be at the end of the property value.public LikeExpression containsIgnoreCase(String value)
containsIgnoreCase in interface StringExpressionFactoryvalue - the value that should be contained anywhere in the property value.Copyright © 2012–2014. All rights reserved.