com.businessobjects.rebean.wi
Class LogicalOperator

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

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

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

LogicalOperator class represents all possible logical operators for FilterConditionContainer.

See Also:
FilterConditionContainer, Serialized Form

Field Summary
static int _AND
          int value of AND.value()
static int _OR
          int value of OR.value()
static LogicalOperator AND
          And.
static LogicalOperator OR
          Or.
 
Method Summary
static LogicalOperator fromInt(int value)
          Returns a LogicalOperator instance corresponding to value, or null when value does not correspond to any LogicalOperator
 java.lang.String toString()
          Returns a String representation of this logical operator (for debug purposes)
 int value()
          Returns the int value of this logical operator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_OR

public static final int _OR
int value of OR.value()

See Also:
Constant Field Values

_AND

public static final int _AND
int value of AND.value()

See Also:
Constant Field Values

OR

public static final LogicalOperator OR
Or.


AND

public static final LogicalOperator AND
And.

Method Detail

value

public int value()
Returns the int value of this logical operator

Specified by:
value in interface EnumItem
Returns:
the int value of this logical operator

toString

public java.lang.String toString()
Returns a String representation of this logical operator (for debug purposes)

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this logical operator (for debug purposes)

fromInt

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

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