|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.elca.el4j.services.search.criterias.AbstractCriteria ch.elca.el4j.services.search.criterias.LikeCriteria
public class LikeCriteria
Criteria for the like pattern.
Constructor Summary | |
---|---|
protected |
LikeCriteria()
Default constructor for remoting protocols like hessian added. |
protected |
LikeCriteria(String field,
String value,
boolean caseSensitive)
Hidden constructor. |
Method Summary | |
---|---|
static LikeCriteria |
caseInsensitive(String field,
String value)
|
static LikeCriteria |
caseSensitive(String field,
String value)
|
String |
getSqlWhereCondition()
The full Criteria as SQL representation. |
String |
getType()
|
Boolean |
isCaseSensitive()
|
Methods inherited from class ch.elca.el4j.services.search.criterias.AbstractCriteria |
---|
getBooleanValue, getByteValue, getDoubleValue, getField, getFloatValue, getIntegerValue, getLongValue, getShortValue, getStringValue, getValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LikeCriteria()
protected LikeCriteria(String field, String value, boolean caseSensitive)
field
- Is the field the criteria is made for.value
- Is the value of this criteria.caseSensitive
- Marks if the pattern is case sensitive.Method Detail |
---|
public static LikeCriteria caseInsensitive(String field, String value)
field
- Is the field the criteria is made for.value
- Is the value of this criteria.
public static LikeCriteria caseSensitive(String field, String value)
field
- Is the field the criteria is made for.value
- Is the value of this criteria.
public final Boolean isCaseSensitive()
true
if it is case sensitive.public String getType()
public String getSqlWhereCondition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |