org.araneaframework.uilib.list.util.like
Class BaseWildcardHandler
java.lang.Object
org.araneaframework.uilib.list.util.like.BaseWildcardHandler
- All Implemented Interfaces:
- Serializable, WildcardHandler
- Direct Known Subclasses:
- AutomaticWildcardHandler, DefaultWildcardHandler, RegExpWildcardHandler
- public abstract class BaseWildcardHandler
- extends Object
- implements WildcardHandler, Serializable
Base implementation of WildcardHandler.
- Author:
- Rein Raudjärv
- See Also:
WildcardHandler,
Serialized Form
|
Method Summary |
int |
getEndsWith()
Returns which wildcard the Like pattern currently ends with. |
int |
getStartsWith()
Returns which wildcard the Like pattern currently starts with. |
void |
setEndsWith(int endsWith)
Must be set as which wildcard the Like pattern ends with |
void |
setStartsWith(int startsWith)
Must be set as which wildcard the Like pattern starts with. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startsWith
protected int startsWith
endsWith
protected int endsWith
BaseWildcardHandler
public BaseWildcardHandler()
setStartsWith
public void setStartsWith(int startsWith)
- Description copied from interface:
WildcardHandler
- Must be set as which wildcard the Like pattern starts with.
- Specified by:
setStartsWith in interface WildcardHandler
- Parameters:
startsWith - Like pattern wildcard.
setEndsWith
public void setEndsWith(int endsWith)
- Description copied from interface:
WildcardHandler
- Must be set as which wildcard the Like pattern ends with
- Specified by:
setEndsWith in interface WildcardHandler
- Parameters:
endsWith - Like pattern wildcard.
getEndsWith
public int getEndsWith()
- Description copied from interface:
WildcardHandler
- Returns which wildcard the Like pattern currently ends with.
- Specified by:
getEndsWith in interface WildcardHandler
- Returns:
- Like pattern wildcard.
getStartsWith
public int getStartsWith()
- Description copied from interface:
WildcardHandler
- Returns which wildcard the Like pattern currently starts with.
- Specified by:
getStartsWith in interface WildcardHandler
- Returns:
- Like pattern wildcard.