com.businessobjects.rebean.wi
Class AggregationFunction

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

public class AggregationFunction
extends java.lang.Object
implements java.io.Serializable

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

This class represents the list of all possible aggregation functions.

Since:
12.0
See Also:
DataSourceObject.getAggregationFunction(), DPExpression.getAggregationFunction(), Serialized Form

Field Summary
static int _AVERAGE
          int value of AggregationFunction.AVERAGE.value().
static int _COUNT
          int value of AggregationFunction.COUNT.value().
static int _DELEGATED
          int value of AggregationFunction.DELEGATED.value().
static int _MAX
          int value of AggregationFunction.MAX.value().
static int _MIN
          int value of AggregationFunction.MIN.value().
static int _NONE
          int value of AggregationFunction.NONE.value().
static int _SUM
          int value of AggregationFunction.SUM.value().
static AggregationFunction AVERAGE
          Indicates that when aggregating values for an object, the Average function will be used.
static AggregationFunction COUNT
          Indicates that when aggregating values for an object, the Count function will be used.
static AggregationFunction DELEGATED
          Indicates that aggregating values for an object will be delegated to the data base.
static AggregationFunction MAX
          Indicates that when aggregating values for an object, the Max function will be used.
static AggregationFunction MIN
          Indicates that when aggregating values for an object, the Min function will be used.
static AggregationFunction NONE
          Identifies an object has no aggregation function.
static AggregationFunction SUM
          Indicates that when aggregating values for an object, the Sum function will be used.
 
Method Summary
static AggregationFunction fromInt(int value)
          Returns an AggregationFunction instance corresponding to value, or null when value does not correspond to any AggregationFunction
 java.lang.String toString()
          Returns a String representation of this aggregation function (for debug purposes)
 int value()
          Returns the int value of this aggregation function
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_NONE

public static final int _NONE
int value of AggregationFunction.NONE.value().

See Also:
Constant Field Values

_COUNT

public static final int _COUNT
int value of AggregationFunction.COUNT.value().

See Also:
Constant Field Values

_SUM

public static final int _SUM
int value of AggregationFunction.SUM.value().

See Also:
Constant Field Values

_AVERAGE

public static final int _AVERAGE
int value of AggregationFunction.AVERAGE.value().

See Also:
Constant Field Values

_MIN

public static final int _MIN
int value of AggregationFunction.MIN.value().

See Also:
Constant Field Values

_MAX

public static final int _MAX
int value of AggregationFunction.MAX.value().

See Also:
Constant Field Values

_DELEGATED

public static final int _DELEGATED
int value of AggregationFunction.DELEGATED.value().

See Also:
Constant Field Values

NONE

public static final AggregationFunction NONE
Identifies an object has no aggregation function.


COUNT

public static final AggregationFunction COUNT
Indicates that when aggregating values for an object, the Count function will be used.


SUM

public static final AggregationFunction SUM
Indicates that when aggregating values for an object, the Sum function will be used.


AVERAGE

public static final AggregationFunction AVERAGE
Indicates that when aggregating values for an object, the Average function will be used.


MIN

public static final AggregationFunction MIN
Indicates that when aggregating values for an object, the Min function will be used.


MAX

public static final AggregationFunction MAX
Indicates that when aggregating values for an object, the Max function will be used.


DELEGATED

public static final AggregationFunction DELEGATED
Indicates that aggregating values for an object will be delegated to the data base.

Method Detail

value

public int value()
Returns the int value of this aggregation function

Returns:
the int value of this aggregation function

toString

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

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

fromInt

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

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