| java.lang.Object org.apache.ojb.broker.query.SelectionCriteria org.apache.ojb.broker.query.ValueCriteria org.apache.ojb.broker.query.LikeCriteria
LikeCriteria | public class LikeCriteria extends ValueCriteria (Code) | | Model a Like Criteria
Escape Processing by Paul R. Nase
The pattern string is a simple pattern string using % or * as a wildcard.
So Ander* would match Anderson and Anderton. The _ or ? character is used to match a single occurence
of a character. The '\' is used to escape the wildcard characters so that we can search for
strings containing * and ?.
To change the escape character use setEscapeCharacter.
See Also: LikeCriteria.setEscapeCharacter(char) author: Jakob Braeuchi author: Paul Nase version: $Id: LikeCriteria.java,v 1.11.2.2 2005/12/21 22:27:09 tomdz Exp $ |
DEFAULT_ESCPAPE_CHARACTER | final public static char DEFAULT_ESCPAPE_CHARACTER(Code) | | The Dfault-Character used for Escaping Wildcards
|
LikeCriteria | public LikeCriteria(Object anAttribute, Object aValue, String aClause, String anAlias)(Code) | | Parameters: anAttribute - Parameters: aValue - Parameters: aClause - Parameters: anAlias - |
LikeCriteria | public LikeCriteria(Object anAttribute, Object aValue, String aClause, UserAlias anAlias)(Code) | | Parameters: anAttribute - Parameters: aValue - Parameters: aClause - Parameters: anAlias - |
getEscapeCharacter | public static char getEscapeCharacter()(Code) | | Returns the escapeCharacter. |
setEscapeCharacter | public static void setEscapeCharacter(char escChar)(Code) | | Global change of the escapeCharacter
Parameters: escChar - The escapeCharacter to set. |
Methods inherited from org.apache.ojb.broker.query.ValueCriteria | static BetweenCriteria buildBeweenCriteria(Object anAttribute, Object aValue1, Object aValue2, String anAlias)(Code)(Java Doc) static BetweenCriteria buildBeweenCriteria(Object anAttribute, Object aValue1, Object aValue2, UserAlias anAlias)(Code)(Java Doc) static ValueCriteria buildEqualToCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static ValueCriteria buildEqualToCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static ValueCriteria buildGreaterCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static ValueCriteria buildGreaterCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static InCriteria buildInCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static InCriteria buildInCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static ValueCriteria buildLessCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static ValueCriteria buildLessCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static ValueCriteria buildLikeCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static ValueCriteria buildLikeCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static BetweenCriteria buildNotBeweenCriteria(Object anAttribute, Object aValue1, Object aValue2, String anAlias)(Code)(Java Doc) static BetweenCriteria buildNotBeweenCriteria(Object anAttribute, Object aValue1, Object aValue2, UserAlias anAlias)(Code)(Java Doc) static ValueCriteria buildNotEqualToCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static ValueCriteria buildNotEqualToCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static ValueCriteria buildNotGreaterCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static ValueCriteria buildNotGreaterCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static InCriteria buildNotInCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static InCriteria buildNotInCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static ValueCriteria buildNotLessCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static ValueCriteria buildNotLessCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static ValueCriteria buildNotLikeCriteria(Object anAttribute, Object aValue, String anAlias)(Code)(Java Doc) static ValueCriteria buildNotLikeCriteria(Object anAttribute, Object aValue, UserAlias anAlias)(Code)(Java Doc) static NullCriteria buildNotNullCriteria(String anAttribute, String anAlias)(Code)(Java Doc) static NullCriteria buildNotNullCriteria(String anAttribute, UserAlias anAlias)(Code)(Java Doc) static NullCriteria buildNullCriteria(String anAttribute, String anAlias)(Code)(Java Doc) static NullCriteria buildNullCriteria(String anAttribute, UserAlias anAlias)(Code)(Java Doc) public String getClause()(Code)(Java Doc)
|
|
|