org.palo.api
Interface Condition


public interface Condition

This interface represents an export condition used for the ExportContext

Version:
$Id: Condition.html,v 1.18 2009/07/09 11:01:46 ArndHouben Exp $

Field Summary
static java.lang.String EQ
          '==' comparator
static java.lang.String GT
          '>' comparator
static java.lang.String GTE
          '>=' comparator
static java.lang.String LT
          '<' comparator
static java.lang.String LTE
          '<=' comparator
static java.lang.String NEQ
          '!
 
Method Summary
 java.lang.String getValue()
          Returns the current value for this condition
 void setValue(double value)
          Sets the numeric value for this condition
 void setValue(java.lang.String value)
          Sets the string value for this condition
 

Field Detail

EQ

static final java.lang.String EQ
'==' comparator

See Also:
Constant Field Values

LT

static final java.lang.String LT
'<' comparator

See Also:
Constant Field Values

GT

static final java.lang.String GT
'>' comparator

See Also:
Constant Field Values

LTE

static final java.lang.String LTE
'<=' comparator

See Also:
Constant Field Values

GTE

static final java.lang.String GTE
'>=' comparator

See Also:
Constant Field Values

NEQ

static final java.lang.String NEQ
'!=' comparator

See Also:
Constant Field Values
Method Detail

setValue

void setValue(double value)
Sets the numeric value for this condition

Parameters:
numeric -

setValue

void setValue(java.lang.String value)
Sets the string value for this condition

Parameters:
string -

getValue

java.lang.String getValue()
Returns the current value for this condition

Returns:
the condition value or null, if none has been set