|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.businessobjects.rebean.wi.Calculation
public final class Calculation
Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Represents all possible calculations.
BlockCalculation.createCalculationElement(ReportExpression, Calculation)
,
CalculationElement
,
Serialized FormField Summary | |
---|---|
static int |
_AVERAGE
int value of AVERAGE.value() . |
static int |
_COUNT
int value of COUNT.value() . |
static int |
_MAX
int value of MAX.value() . |
static int |
_MIN
int value of MIN.value() . |
static int |
_PERCENT
int value of PERCENT.value() . |
static int |
_SUM
int value of SUM.value() . |
static int |
_TOTAL
int value of TOTAL.value() . |
static Calculation |
AVERAGE
Represents the average of all values. |
static Calculation |
COUNT
Represents a count of elements. |
static Calculation |
MAX
Represents the maximum of all values. |
static Calculation |
MIN
Represents the minimum of all values. |
static Calculation |
PERCENT
Represents the percentage of all values. |
static Calculation |
SUM
Represents the sum of all values. |
static Calculation |
TOTAL
Represents the total of all values. |
Method Summary | |
---|---|
static Calculation |
fromInt(int value)
Return an Calculation instance corresponding to value , or
null when value does not correspond to any
Calculation |
java.lang.String |
toString()
Return a String representation of this calculation (for debug purposes) |
int |
value()
Return the int value of this calculation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _COUNT
int
value of COUNT.value()
.
public static final int _MIN
int
value of MIN.value()
.
public static final int _MAX
int
value of MAX.value()
.
public static final int _SUM
int
value of SUM.value()
.
public static final int _PERCENT
int
value of PERCENT.value()
.
public static final int _AVERAGE
int
value of AVERAGE.value()
.
public static final int _TOTAL
int
value of TOTAL.value()
.
public static final Calculation COUNT
ObjectType
.
public static final Calculation MIN
ObjectType
.
public static final Calculation MAX
ObjectType
.
public static final Calculation SUM
ObjectType.NUMERIC
only.
public static final Calculation PERCENT
ObjectType.NUMERIC
only.
public static final Calculation AVERAGE
ObjectType.NUMERIC
or ObjectType.DATE
.
public static final Calculation TOTAL
Can be applied to expressions of ObjectQualification.MEASURE
only.
Method Detail |
---|
public int value()
int
value of this calculation
int
value of this calculationpublic java.lang.String toString()
String
representation of this calculation (for debug purposes)
toString
in class java.lang.Object
String
representation of this calculation (for debug purposes)public static Calculation fromInt(int value)
Calculation
instance corresponding to value
, or
null
when value
does not correspond to any
Calculation
Calculation
instance corresponding to value
, or
null
when value
does not correspond to any
Calculation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |