Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.noa.search
Class SearchDescriptor

java.lang.Object
  extended by ag.ion.noa.search.SearchDescriptor
All Implemented Interfaces:
ISearchDescriptor

public class SearchDescriptor
extends java.lang.Object
implements ISearchDescriptor

Descriptor of a search.


Constructor Summary
SearchDescriptor(java.lang.String searchContent)
          Constructs new SearchDescriptor.
 
Method Summary
 java.lang.String getSearchContent()
          Returns search content.
 boolean isCaseSensitive()
          Returns information whether the search content is case sensitive.
 void setIsCaseSensitive(boolean isCaseSensitive)
          Sets information whether the search content is case sensitive
 void setUseCompleteWords(boolean useCompleteWords)
          Sets information whether only complete words should be searched
 void setUseRegularExpression(boolean useRegularExpression)
          Sets information whether the search content is case sensitive
 void setUseSimilartiySearch(boolean useSimilaritySearch)
          Sets information whether a similarity search should be done
 boolean useCompleteWords()
          Returns information whether only complete words should be searched.
 boolean useRegularExpression()
          Returns information whether the search content is case sensitive.
 boolean useSimilaritySearch()
          Returns information whether a similarity search should be done.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchDescriptor

public SearchDescriptor(java.lang.String searchContent)
Constructs new SearchDescriptor.

Parameters:
searchContent - search content to be used
Method Detail

getSearchContent

public java.lang.String getSearchContent()
Returns search content.

Specified by:
getSearchContent in interface ISearchDescriptor
Returns:
search content to be looked for

useRegularExpression

public boolean useRegularExpression()
Returns information whether the search content is case sensitive.

Specified by:
useRegularExpression in interface ISearchDescriptor
Returns:
information whether the search content is case sensitive

setUseRegularExpression

public void setUseRegularExpression(boolean useRegularExpression)
Sets information whether the search content is case sensitive

Parameters:
useRegularExpression - information whether the search content is case sensitive

isCaseSensitive

public boolean isCaseSensitive()
Returns information whether the search content is case sensitive.

Specified by:
isCaseSensitive in interface ISearchDescriptor
Returns:
information whether the search content is case sensitive

setIsCaseSensitive

public void setIsCaseSensitive(boolean isCaseSensitive)
Sets information whether the search content is case sensitive

Parameters:
isCaseSensitive - information whether the search content is case sensitive

useCompleteWords

public boolean useCompleteWords()
Returns information whether only complete words should be searched.

Specified by:
useCompleteWords in interface ISearchDescriptor
Returns:
information whether only complete words should be searched

setUseCompleteWords

public void setUseCompleteWords(boolean useCompleteWords)
Sets information whether only complete words should be searched

Parameters:
useCompleteWords - information whether only complete words should be searched

useSimilaritySearch

public boolean useSimilaritySearch()
Returns information whether a similarity search should be done.

Specified by:
useSimilaritySearch in interface ISearchDescriptor
Returns:
information whether a similarity search should be done

setUseSimilartiySearch

public void setUseSimilartiySearch(boolean useSimilaritySearch)
Sets information whether a similarity search should be done

Parameters:
useSimilaritySearch - information whether a similarity search should be done

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013