com.businessobjects.rebean.wi
Class ConditionOperator

java.lang.Object
  extended by com.businessobjects.rebean.wi.ConditionOperator
All Implemented Interfaces:
EnumItem, java.io.Serializable

public class ConditionOperator
extends java.lang.Object
implements java.io.Serializable, EnumItem

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

The ConditionOperator class is used to contain all possible conditions used to create an AdvancedCondition.

An example of a ConditionOperator in the club example universe is: when the revenue result in Query1 is greater than any occurrence of Revenue in Query2.

See Also:
AdvancedCondition.setConditionOperator(ConditionOperator), AdvancedCondition.getConditionOperator(), Serialized Form

Field Summary
static int _EQUAL
          The int value of EQUAL.value().
static int _GREATER
          The int value of GREATER.value().
static int _GREATER_OR_EQUAL
          The int value of GREATER_OR_EQUAL.value().
static int _IN_LIST
          The int value of IN_LIST.value().
static int _LESS
          The int value of LESS.value().
static int _LESS_OR_EQUAL
          The int value of LESS_OR_EQUAL.value().
static int _NOT_EQUAL
          The int value of NOT_EQUAL.value().
static int _NOT_IN_LIST
          The int value of NOT_IN_LIST.value().
static ConditionOperator EQUAL
          The Equal to ConditionOperator.
static ConditionOperator GREATER
          The greater than ConditionOperator.
static ConditionOperator GREATER_OR_EQUAL
          The greater than or equal to ConditionOperator.
static ConditionOperator IN_LIST
          The in list ConditionOperator.
static ConditionOperator LESS
          The less than ConditionOperator.
static ConditionOperator LESS_OR_EQUAL
          The less than or equal to ConditionOperator.
static ConditionOperator NOT_EQUAL
          The not equal to ConditionOperator.
static ConditionOperator NOT_IN_LIST
          The not in list ConditionOperator.
 
Method Summary
static ConditionOperator fromInt(int value)
          Returns a ConditionOperator instance corresponding to value, or null when value does not correspond to any ConditionOperator.
 java.lang.String toString()
          Returns a String representation of this operator instnace
 int value()
          Returns the int value of this operator instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_EQUAL

public static final int _EQUAL
The int value of EQUAL.value().

See Also:
Constant Field Values

_NOT_EQUAL

public static final int _NOT_EQUAL
The int value of NOT_EQUAL.value().

See Also:
Constant Field Values

_GREATER

public static final int _GREATER
The int value of GREATER.value().

See Also:
Constant Field Values

_GREATER_OR_EQUAL

public static final int _GREATER_OR_EQUAL
The int value of GREATER_OR_EQUAL.value().

See Also:
Constant Field Values

_LESS

public static final int _LESS
The int value of LESS.value().

See Also:
Constant Field Values

_LESS_OR_EQUAL

public static final int _LESS_OR_EQUAL
The int value of LESS_OR_EQUAL.value().

See Also:
Constant Field Values

_IN_LIST

public static final int _IN_LIST
The int value of IN_LIST.value().

See Also:
Constant Field Values

_NOT_IN_LIST

public static final int _NOT_IN_LIST
The int value of NOT_IN_LIST.value().

See Also:
Constant Field Values

EQUAL

public static final ConditionOperator EQUAL
The Equal to ConditionOperator.


NOT_EQUAL

public static final ConditionOperator NOT_EQUAL
The not equal to ConditionOperator.


GREATER

public static final ConditionOperator GREATER
The greater than ConditionOperator.


GREATER_OR_EQUAL

public static final ConditionOperator GREATER_OR_EQUAL
The greater than or equal to ConditionOperator.


LESS

public static final ConditionOperator LESS
The less than ConditionOperator.


LESS_OR_EQUAL

public static final ConditionOperator LESS_OR_EQUAL
The less than or equal to ConditionOperator.


IN_LIST

public static final ConditionOperator IN_LIST
The in list ConditionOperator.


NOT_IN_LIST

public static final ConditionOperator NOT_IN_LIST
The not in list ConditionOperator.

Method Detail

value

public int value()
Returns the int value of this operator instance.

Specified by:
value in interface EnumItem
Returns:
The int value of this operator instance.

toString

public java.lang.String toString()
Returns a String representation of this operator instnace

Overrides:
toString in class java.lang.Object
Returns:
Returns a String representation of this operator instance. This method is provided for debug purposes.

fromInt

public static ConditionOperator fromInt(int value)
Returns a ConditionOperator instance corresponding to value, or null when value does not correspond to any ConditionOperator.

Returns:
Returns a ConditionOperator instance corresponding to value, or null when value does not correspond to any ConditionOperator.