com.businessobjects.rebean.wi
Class Operator

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

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

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

Operator class represents all possible operators for FilterCondition.

See Also:
FilterCondition, FilterConditionObject.createFilterCondition(Operator), Serialized Form

Field Summary
static int _BETWEEN
          int value of BETWEEN.value()
static int _BOTH
          int value of BOTH.value()
static int _EQUAL
          int value of EQUAL.value()
static int _EXCEPT
          int value of EXCEPT.value()
static int _GREATER
          int value of GREATER.value()
static int _GREATER_OR_EQUAL
          int value of GREATER_OR_EQUAL.value()
static int _IN_LIST
          int value of IN_LIST.value()
static int _IS_NULL
          int value of IS_NULL.value()
static int _LESS
          int value of LESS.value()
static int _LESS_OR_EQUAL
          int value of LESS_OR_EQUAL.value()
static int _LIKE
          int value of LIKE.value()
static int _NOT_BETWEEN
          int value of NOT_BETWEEN.value()
static int _NOT_EQUAL
          int value of NOT_EQUAL.value()
static int _NOT_IN_LIST
          int value of NOT_IN_LIST.value()
static int _NOT_IS_NULL
          int value of NOT_IS_NULL.value()
static int _NOT_LIKE
          int value of NOT_LIKE.value()
static Operator BETWEEN
          Between.
static Operator BOTH
          Both (not on document filters).
static Operator EQUAL
          Equal to.
static Operator EXCEPT
          Except (not on document filters).
static Operator GREATER
          Greater than.
static Operator GREATER_OR_EQUAL
          Greater than or equal to.
static Operator IN_LIST
          In list.
static Operator IS_NULL
          Is null.
static Operator LESS
          Less than.
static Operator LESS_OR_EQUAL
          Less than or equal to.
static Operator LIKE
          Like (on text objects only, not on document filters).
static Operator NOT_BETWEEN
          Not between.
static Operator NOT_EQUAL
          Not equal to.
static Operator NOT_IN_LIST
          Not in list.
static Operator NOT_IS_NULL
          Not is null.
static Operator NOT_LIKE
          Not like (on text objects only, not on document filters).
 
Method Summary
static Operator fromInt(int value)
          Returns an Operator instance corresponding to value, or null when value does not correspond to any Operator
 java.lang.String toString()
          Returns a String representation of this operator (for debug purposes)
 int value()
          Returns the int value of this operator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_EQUAL

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

See Also:
Constant Field Values

_NOT_EQUAL

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

See Also:
Constant Field Values

_GREATER

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

See Also:
Constant Field Values

_GREATER_OR_EQUAL

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

See Also:
Constant Field Values

_LESS

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

See Also:
Constant Field Values

_LESS_OR_EQUAL

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

See Also:
Constant Field Values

_BETWEEN

public static final int _BETWEEN
int value of BETWEEN.value()

See Also:
Constant Field Values

_NOT_BETWEEN

public static final int _NOT_BETWEEN
int value of NOT_BETWEEN.value()

See Also:
Constant Field Values

_IN_LIST

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

See Also:
Constant Field Values

_NOT_IN_LIST

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

See Also:
Constant Field Values

_IS_NULL

public static final int _IS_NULL
int value of IS_NULL.value()

See Also:
Constant Field Values

_NOT_IS_NULL

public static final int _NOT_IS_NULL
int value of NOT_IS_NULL.value()

See Also:
Constant Field Values

_LIKE

public static final int _LIKE
int value of LIKE.value()

See Also:
Constant Field Values

_NOT_LIKE

public static final int _NOT_LIKE
int value of NOT_LIKE.value()

See Also:
Constant Field Values

_BOTH

public static final int _BOTH
int value of BOTH.value()

See Also:
Constant Field Values

_EXCEPT

public static final int _EXCEPT
int value of EXCEPT.value()

See Also:
Constant Field Values

EQUAL

public static final Operator EQUAL
Equal to.


NOT_EQUAL

public static final Operator NOT_EQUAL
Not equal to.


GREATER

public static final Operator GREATER
Greater than.


GREATER_OR_EQUAL

public static final Operator GREATER_OR_EQUAL
Greater than or equal to.


LESS

public static final Operator LESS
Less than.


LESS_OR_EQUAL

public static final Operator LESS_OR_EQUAL
Less than or equal to.


BETWEEN

public static final Operator BETWEEN
Between.


NOT_BETWEEN

public static final Operator NOT_BETWEEN
Not between.


IN_LIST

public static final Operator IN_LIST
In list.


NOT_IN_LIST

public static final Operator NOT_IN_LIST
Not in list.


IS_NULL

public static final Operator IS_NULL
Is null.


NOT_IS_NULL

public static final Operator NOT_IS_NULL
Not is null.


LIKE

public static final Operator LIKE
Like (on text objects only, not on document filters).

See Also:
DataSourceObject.getType()

NOT_LIKE

public static final Operator NOT_LIKE
Not like (on text objects only, not on document filters).

See Also:
DataSourceObject.getType()

BOTH

public static final Operator BOTH
Both (not on document filters).


EXCEPT

public static final Operator EXCEPT
Except (not on document filters).

Method Detail

value

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

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

toString

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

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

fromInt

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

Returns:
an Operator instance corresponding to value, or null when value does not correspond to any Operator