站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

MatchMode (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.expression
Class MatchMode

java.lang.Object
  extended bynet.sf.hibernate.expression.MatchMode
All Implemented Interfaces:
Serializable

public abstract class MatchMode
extends Object
implements Serializable

Represents an strategy for matching strings using "like".

Author:
Gavin King
See Also:
Example.enableLike(MatchMode), Serialized Form

Field Summary
static MatchMode ANYWHERE
          Match the pattern anywhere in the string
static MatchMode END
          Match the end of the string to the pattern
static MatchMode EXACT
          Match the entire string to the pattern
static MatchMode START
          Match the start of the string to the pattern
 
Constructor Summary
protected MatchMode(int intCode, String name)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXACT

public static final MatchMode EXACT
Match the entire string to the pattern


START

public static final MatchMode START
Match the start of the string to the pattern


END

public static final MatchMode END
Match the end of the string to the pattern


ANYWHERE

public static final MatchMode ANYWHERE
Match the pattern anywhere in the string

Constructor Detail

MatchMode

protected MatchMode(int intCode,
                    String name)
Method Detail

toString

public String toString()