public class StringValueImpl<T> extends BasicValueImpl<T,String> implements StringValue<T>
Constructor and Description |
---|
StringValueImpl(String name,
ValueConverter<T,String> valueConverter,
StringOperand<T> stringOperand,
boolean supportsOrderBy) |
Modifier and Type | Method and Description |
---|---|
Predicate |
like(T expectedValue)
Builds a predicate for a
queryParameter LIKE expectedValue comparison. |
Predicate |
notLike(T expectedValue)
Builds a predicate for a
NOT(queryParameter LIKE expectedValue) comparison. |
eq, eq, eq, exists, getQueryParameter, in, in, in, in, in, in, in, isNotNull, isNull, notEq, notIn, notIn, notIn, notIn, notIn, orderAsc, orderDesc
getName, getValueConverter
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getValueConverter
public StringValueImpl(String name, ValueConverter<T,String> valueConverter, StringOperand<T> stringOperand, boolean supportsOrderBy)
public Predicate like(T expectedValue)
StringOperand
Builds a predicate for a queryParameter LIKE expectedValue
comparison.
like
in interface StringOperand<T>
expectedValue
- the expected value (may contain "*"
wildcards, e.g. "wild*rd"
)public Predicate notLike(T expectedValue)
StringOperand
Builds a predicate for a NOT(queryParameter LIKE expectedValue)
comparison.
notLike
in interface StringOperand<T>
expectedValue
- the expected value (may contain "*"
wildcards, e.g. "wild*rd"
)Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.