com.businessobjects.rebean.wi
Class LovType

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

public final class LovType
extends java.lang.Object
implements java.io.Serializable

The type of a list of values.

See Also:
Lov, Values, Serialized Form

Field Summary
static int _Cube
          Returns the int value corresponding to the "Cube" LovType
static int _Data
          Returns the int value corresponding to the "Data" LovType
static int _Lov_drill
          Returns the int value corresponding to the "Lov_drill" LovType
static int _Lov_object
          Returns the int value corresponding to the "Lov_object" LovType
static LovType CUBE
          A list of values in which the values are stored in a cube.
static LovType DATA_SOURCE
          A list of values in which the values come directly from the data source.
static LovType LOV_DRILL
          A list of values with the addition of Drill filters to those applied to the CUBE LovType.
static LovType LOV_OBJECT
          LOV_OBJECT are lov already calculated and cached by the server on a previous call.
 
Method Summary
static LovType from_int(int value)
          Gets the LovType corresponding to a particular value.
 java.lang.String toString()
          Gets the LovType as a String.
 int value()
          Returns the LovType as an integer value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_Cube

public static final int _Cube
Returns the int value corresponding to the "Cube" LovType

See Also:
Constant Field Values

CUBE

public static final LovType CUBE
A list of values in which the values are stored in a cube. These values can be restricted by a report, section or block filter.

See Also:
DocumentInstance.getLOV(java.lang.String)

_Data

public static final int _Data
Returns the int value corresponding to the "Data" LovType

See Also:
Constant Field Values

DATA_SOURCE

public static final LovType DATA_SOURCE
A list of values in which the values come directly from the data source.

See Also:
DocumentInstance.getLOV(String objID, LovType type)

_Lov_object

public static final int _Lov_object
Returns the int value corresponding to the "Lov_object" LovType

See Also:
Constant Field Values

LOV_OBJECT

public static final LovType LOV_OBJECT
LOV_OBJECT are lov already calculated and cached by the server on a previous call.

See Also:
DocumentInstance.getLOV(String objID, LovType type)

_Lov_drill

public static final int _Lov_drill
Returns the int value corresponding to the "Lov_drill" LovType

See Also:
Constant Field Values

LOV_DRILL

public static final LovType LOV_DRILL
A list of values with the addition of Drill filters to those applied to the CUBE LovType.
Drill filters are coming from a dimension higher in the drill hierarchy. For instance, if you have Country / City hierarchy and asking the Lov of the city, the values will be filtered by the parent country.

Method Detail

value

public int value()
Returns the LovType as an integer value.

Returns:
an int representing the LovType

from_int

public static LovType from_int(int value)
Gets the LovType corresponding to a particular value.

Parameters:
value - the value which corresponds to a LovType
Returns:
the LovType

toString

public java.lang.String toString()
Gets the LovType as a String.

Overrides:
toString in class java.lang.Object
Returns:
a string representing the LovType