ca.bc.gov.webade.user.search
Class DefaultTextSearchAttribute

java.lang.Object
  extended byca.bc.gov.webade.user.search.AbstractSearchAttribute
      extended byca.bc.gov.webade.user.search.DefaultTextSearchAttribute
All Implemented Interfaces:
SearchAttribute, java.io.Serializable, TextSearchAttribute

public final class DefaultTextSearchAttribute
extends AbstractSearchAttribute
implements TextSearchAttribute, java.io.Serializable

A search attribute that allows any text value as a search value.

Author:
jross
See Also:
Serialized Form

Constructor Summary
DefaultTextSearchAttribute()
           
 
Method Summary
 java.lang.String getSearchValue()
           
 int getWildcardOption()
           
 void setSearchValue(java.lang.String searchValue)
           
 void setWildcardOption(int wildcardOption)
           
 
Methods inherited from class ca.bc.gov.webade.user.search.AbstractSearchAttribute
isSupported, setSupported
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.bc.gov.webade.user.search.SearchAttribute
isSupported, setSupported
 

Constructor Detail

DefaultTextSearchAttribute

public DefaultTextSearchAttribute()
Method Detail

getSearchValue

public java.lang.String getSearchValue()
Specified by:
getSearchValue in interface TextSearchAttribute
Returns:
Returns the searchValue.
See Also:
TextSearchAttribute.getSearchValue()

setSearchValue

public void setSearchValue(java.lang.String searchValue)
Specified by:
setSearchValue in interface TextSearchAttribute
Parameters:
searchValue - The searchValue to set.
See Also:
TextSearchAttribute.setSearchValue(java.lang.String)

getWildcardOption

public int getWildcardOption()
Specified by:
getWildcardOption in interface TextSearchAttribute
Returns:
Returns one of the WildcardOptions static values.
See Also:
TextSearchAttribute.getWildcardOption()

setWildcardOption

public void setWildcardOption(int wildcardOption)
Specified by:
setWildcardOption in interface TextSearchAttribute
Parameters:
wildcardOption - The wildcardOption to set.
See Also:
TextSearchAttribute.setWildcardOption(int)