| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.criterion.MatchMode
public abstract class MatchMode
Represents an strategy for matching strings using "like".
Example.enableLike(MatchMode), 
Serialized Form| Field Summary | |
|---|---|
| static MatchMode | ANYWHEREMatch the pattern anywhere in the string | 
| static MatchMode | ENDMatch the end of the string to the pattern | 
| static MatchMode | EXACTMatch the entire string to the pattern | 
| static MatchMode | STARTMatch the start of the string to the pattern | 
| Constructor Summary | |
|---|---|
| protected  | MatchMode(String name) | 
| Method Summary | |
|---|---|
| abstract  String | toMatchString(String pattern)convert the pattern, by appending/prepending "%" | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final MatchMode EXACT
public static final MatchMode START
public static final MatchMode END
public static final MatchMode ANYWHERE
| Constructor Detail | 
|---|
protected MatchMode(String name)
| Method Detail | 
|---|
public String toString()
toString in class Objectpublic abstract String toMatchString(String pattern)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||