ch.elexis.actions
Class KonsFilter
java.lang.Object
ch.elexis.actions.KonsFilter
public class KonsFilter
- extends java.lang.Object
Ein Filter für Konsultationen
- Author:
- gerry
Field Summary |
static int |
AND
|
static int |
NOT
|
static int |
OR
|
Method Summary |
void |
addConstraint(int link,
java.lang.String word)
|
void |
clear()
|
boolean |
pass(Konsultation k)
Entscheiden, ob eine bestimmte Konsultation durch den Filter geht |
void |
setAsRegEx(boolean asRegEx)
Festlegen, ob Suchausdrücke als Regular Expressions betrachtet werden sollen |
void |
setCaseSensitive(boolean caseSensitive)
Festlegen, ob Suchausdrücke case-sensitive betrachtet werden sollen |
void |
setFall(Fall f)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AND
public static final int AND
- See Also:
- Constant Field Values
OR
public static final int OR
- See Also:
- Constant Field Values
NOT
public static final int NOT
- See Also:
- Constant Field Values
KonsFilter
public KonsFilter()
setFall
public void setFall(Fall f)
addConstraint
public void addConstraint(int link,
java.lang.String word)
clear
public void clear()
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
- Festlegen, ob Suchausdrücke case-sensitive betrachtet werden sollen
setAsRegEx
public void setAsRegEx(boolean asRegEx)
- Festlegen, ob Suchausdrücke als Regular Expressions betrachtet werden sollen
pass
public boolean pass(Konsultation k)
- Entscheiden, ob eine bestimmte Konsultation durch den Filter geht
- Parameters:
k
- die Konsultation, die getestet werden soll
- Returns:
- true: Kons. geht durch (default)
Copyright 2005-2011 by Gerry Weirich, Elexis