|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ProjectionFunction>
com.sap.sl.sdk.authoring.businesslayer.ProjectionFunction
public enum ProjectionFunction
A representation of the literals of the enumeration 'Projection Function', and methods to use them.
The projection function is an aggregation function that you can apply to a measure locally.
com.sap.sl.sdk.authoring.businesslayer.internal.emf.impl.BusinessLayerPackageImpl#getProjectionFunction()
Enum Constant Summary | |
---|---|
AVERAGE
The 'AVERAGE' literal object. |
|
COUNT
The 'COUNT' literal object. |
|
COUNT_WITHOUT_EMPTY
The 'COUNT WITHOUT EMPTY' literal object. |
|
DELEGATED
The 'DELEGATED' literal object. |
|
FIRST
The 'FIRST' literal object. |
|
LAST
The 'LAST' literal object. |
|
MAX
The 'MAX' literal object. |
|
MIN
The 'MIN' literal object. |
|
NONE
The 'NONE' literal object. |
|
SUM
The 'SUM' literal object. |
Field Summary | |
---|---|
static int |
AVERAGE_VALUE
The 'AVERAGE' literal value. |
static int |
COUNT_VALUE
The 'COUNT' literal value. |
static int |
COUNT_WITHOUT_EMPTY_VALUE
The 'COUNT WITHOUT EMPTY' literal value. |
static int |
DELEGATED_VALUE
The 'DELEGATED' literal value. |
static int |
FIRST_VALUE
The 'FIRST' literal value. |
static int |
LAST_VALUE
The 'LAST' literal value. |
static int |
MAX_VALUE
The 'MAX' literal value. |
static int |
MIN_VALUE
The 'MIN' literal value. |
static int |
NONE_VALUE
The 'NONE' literal value. |
static int |
SUM_VALUE
The 'SUM' literal value. |
static java.util.List<ProjectionFunction> |
VALUES
A public read-only list of all the 'Projection Function' enumerators. |
Method Summary | |
---|---|
static ProjectionFunction |
get(int value)
Returns the 'Projection Function' literal with the specified integer value. |
static ProjectionFunction |
get(java.lang.String literal)
Returns the 'Projection Function' literal with the specified literal value. |
static ProjectionFunction |
getByName(java.lang.String name)
Returns the 'Projection Function' literal with the specified name. |
java.lang.String |
getLiteral()
Returns the string representation of the enumerator. |
java.lang.String |
getName()
Returns the literal name of the enumerator. |
int |
getValue()
Returns the literal integer value of the enumerator. |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static ProjectionFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ProjectionFunction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ProjectionFunction NONE
No projection function is used for the specific measure.
NONE_VALUE
public static final ProjectionFunction DELEGATED
This literal represents the aggregation requested to be done in the database instead of aggregating locally.
DELEGATED_VALUE
public static final ProjectionFunction SUM
This literal represents the sum projection function.
SUM_VALUE
public static final ProjectionFunction COUNT
This literal represents the count projection function.
COUNT_VALUE
public static final ProjectionFunction MIN
This literal represents the min projection function.
MIN_VALUE
public static final ProjectionFunction MAX
This literal represents the max projection function.
MAX_VALUE
public static final ProjectionFunction AVERAGE
This literal represents the average projection function.
AVERAGE_VALUE
public static final ProjectionFunction FIRST
This literal represents the first projection function.
FIRST_VALUE
public static final ProjectionFunction LAST
This literal represents the last projection function.
LAST_VALUE
public static final ProjectionFunction COUNT_WITHOUT_EMPTY
COUNT_WITHOUT_EMPTY_VALUE
Field Detail |
---|
public static final int NONE_VALUE
NONE
,
Constant Field Valuespublic static final int DELEGATED_VALUE
DELEGATED
,
Constant Field Valuespublic static final int SUM_VALUE
SUM
,
Constant Field Valuespublic static final int COUNT_VALUE
COUNT
,
Constant Field Valuespublic static final int MIN_VALUE
MIN
,
Constant Field Valuespublic static final int MAX_VALUE
MAX
,
Constant Field Valuespublic static final int AVERAGE_VALUE
AVERAGE
,
Constant Field Valuespublic static final int FIRST_VALUE
FIRST
,
Constant Field Valuespublic static final int LAST_VALUE
LAST
,
Constant Field Valuespublic static final int COUNT_WITHOUT_EMPTY_VALUE
If the meaning of 'COUNT WITHOUT EMPTY' literal object isn't clear, there really should be more of a description here...
COUNT_WITHOUT_EMPTY
,
Constant Field Valuespublic static final java.util.List<ProjectionFunction> VALUES
Method Detail |
---|
public static ProjectionFunction[] values()
for (ProjectionFunction c : ProjectionFunction.values()) System.out.println(c);
public static ProjectionFunction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static ProjectionFunction get(java.lang.String literal)
literal
- The enumerator literal as a string
ProjectionFunction
object
public static ProjectionFunction getByName(java.lang.String name)
name
- The literal name of the enumerator
ProjectionFunction
object
public static ProjectionFunction get(int value)
value
- The literal integer value of the enumerator
ProjectionFunction
object
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<ProjectionFunction>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |