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

ag.ion.bion.officelayer.internal.util
Class JavaNumberFormatCondition

java.lang.Object
  extended by ag.ion.bion.officelayer.internal.util.JavaNumberFormatCondition

public class JavaNumberFormatCondition
extends java.lang.Object

Number format condition for java code.


Field Summary
static java.lang.String EQUALS
          Logical operator = .
static java.lang.String GREATER
          Logical operator > .
static java.lang.String GREATER_EQUALS
          Logical operator >= .
static java.lang.String LOWER
          Logical operator < .
static java.lang.String LOWER_EQUALS
          Logical operator <= .
static java.lang.String NOT
          Logical operator <> .
 
Constructor Summary
JavaNumberFormatCondition(java.lang.String operator, double compareValue)
          Constructs new JavaNumberFormatCondition.
 
Method Summary
 boolean checkCondition(double value)
          Checks condition against submitted value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOWER

public static final java.lang.String LOWER
Logical operator < .

See Also:
Constant Field Values

LOWER_EQUALS

public static final java.lang.String LOWER_EQUALS
Logical operator <= .

See Also:
Constant Field Values

GREATER

public static final java.lang.String GREATER
Logical operator > .

See Also:
Constant Field Values

GREATER_EQUALS

public static final java.lang.String GREATER_EQUALS
Logical operator >= .

See Also:
Constant Field Values

EQUALS

public static final java.lang.String EQUALS
Logical operator = .

See Also:
Constant Field Values

NOT

public static final java.lang.String NOT
Logical operator <> .

See Also:
Constant Field Values
Constructor Detail

JavaNumberFormatCondition

public JavaNumberFormatCondition(java.lang.String operator,
                                 double compareValue)
                          throws java.lang.IllegalArgumentException
Constructs new JavaNumberFormatCondition.

Parameters:
operator - logical operator to be used
compareValue - compare value to be used
Throws:
java.lang.IllegalArgumentException - if the submitted operator is not valid
Method Detail

checkCondition

public boolean checkCondition(double value)
Checks condition against submitted value.

Parameters:
value - value to be used
Returns:
result of the condition checking

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