public class NormText extends Object
| Constructor and Description |
|---|
NormText(String str)
Creates a normtext from a search string.
This is usually a user input. The input will be normalized via StringHelper.normalize(java.lang.String). |
| Modifier and Type | Method and Description |
|---|---|
String |
getPattern()
Gets the search pattern ready to be used in a LIKE expression.
|
boolean |
isInverted()
Returns whether the pattern should be interpreted as "NOT LIKE".
|
boolean |
isMatchingAll()
Returns whether the pattern matches all.
|
public NormText(String str)
StringHelper.normalize(java.lang.String).
If the string starts with a "!" or "-" it will be treated as "NOT LIKE".str - the search stringpublic String getPattern()
public boolean isMatchingAll()
public boolean isInverted()
Tentackle - distributed, domain- and model-driven