com.sap.sl.sdk.authoring.businesslayer
Enum ProjectionFunction

java.lang.Object
  extended by java.lang.Enum<ProjectionFunction>
      extended by com.sap.sl.sdk.authoring.businesslayer.ProjectionFunction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProjectionFunction>

public enum ProjectionFunction
extends java.lang.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.

See Also:
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

NONE

public static final ProjectionFunction NONE
The 'NONE' literal object.

No projection function is used for the specific measure.

See Also:
NONE_VALUE

DELEGATED

public static final ProjectionFunction DELEGATED
The 'DELEGATED' literal object.

This literal represents the aggregation requested to be done in the database instead of aggregating locally.

See Also:
DELEGATED_VALUE

SUM

public static final ProjectionFunction SUM
The 'SUM' literal object.

This literal represents the sum projection function.

See Also:
SUM_VALUE

COUNT

public static final ProjectionFunction COUNT
The 'COUNT' literal object.

This literal represents the count projection function.

See Also:
COUNT_VALUE

MIN

public static final ProjectionFunction MIN
The 'MIN' literal object.

This literal represents the min projection function.

See Also:
MIN_VALUE

MAX

public static final ProjectionFunction MAX
The 'MAX' literal object.

This literal represents the max projection function.

See Also:
MAX_VALUE

AVERAGE

public static final ProjectionFunction AVERAGE
The 'AVERAGE' literal object.

This literal represents the average projection function.

See Also:
AVERAGE_VALUE

FIRST

public static final ProjectionFunction FIRST
The 'FIRST' literal object.

This literal represents the first projection function.

See Also:
FIRST_VALUE

LAST

public static final ProjectionFunction LAST
The 'LAST' literal object.

This literal represents the last projection function.

See Also:
LAST_VALUE

COUNT_WITHOUT_EMPTY

public static final ProjectionFunction COUNT_WITHOUT_EMPTY
The 'COUNT WITHOUT EMPTY' literal object.

See Also:
COUNT_WITHOUT_EMPTY_VALUE
Field Detail

NONE_VALUE

public static final int NONE_VALUE
The 'NONE' literal value.

See Also:
NONE, Constant Field Values

DELEGATED_VALUE

public static final int DELEGATED_VALUE
The 'DELEGATED' literal value.

See Also:
DELEGATED, Constant Field Values

SUM_VALUE

public static final int SUM_VALUE
The 'SUM' literal value.

See Also:
SUM, Constant Field Values

COUNT_VALUE

public static final int COUNT_VALUE
The 'COUNT' literal value.

See Also:
COUNT, Constant Field Values

MIN_VALUE

public static final int MIN_VALUE
The 'MIN' literal value.

See Also:
MIN, Constant Field Values

MAX_VALUE

public static final int MAX_VALUE
The 'MAX' literal value.

See Also:
MAX, Constant Field Values

AVERAGE_VALUE

public static final int AVERAGE_VALUE
The 'AVERAGE' literal value.

See Also:
AVERAGE, Constant Field Values

FIRST_VALUE

public static final int FIRST_VALUE
The 'FIRST' literal value.

See Also:
FIRST, Constant Field Values

LAST_VALUE

public static final int LAST_VALUE
The 'LAST' literal value.

See Also:
LAST, Constant Field Values

COUNT_WITHOUT_EMPTY_VALUE

public static final int COUNT_WITHOUT_EMPTY_VALUE
The 'COUNT WITHOUT EMPTY' literal value.

If the meaning of 'COUNT WITHOUT EMPTY' literal object isn't clear, there really should be more of a description here...

See Also:
COUNT_WITHOUT_EMPTY, Constant Field Values

VALUES

public static final java.util.List<ProjectionFunction> VALUES
A public read-only list of all the 'Projection Function' enumerators.

Method Detail

values

public static ProjectionFunction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ProjectionFunction c : ProjectionFunction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ProjectionFunction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

get

public static ProjectionFunction get(java.lang.String literal)
Returns the 'Projection Function' literal with the specified literal value.

Parameters:
literal - The enumerator literal as a string
Returns:
A ProjectionFunction object

getByName

public static ProjectionFunction getByName(java.lang.String name)
Returns the 'Projection Function' literal with the specified name.

Parameters:
name - The literal name of the enumerator
Returns:
A ProjectionFunction object

get

public static ProjectionFunction get(int value)
Returns the 'Projection Function' literal with the specified integer value.

Parameters:
value - The literal integer value of the enumerator
Returns:
A ProjectionFunction object

getValue

public int getValue()
Returns the literal integer value of the enumerator.

Returns:
An integer that represents the literal

getName

public java.lang.String getName()
Returns the literal name of the enumerator.

Returns:
A String that represents the literal name

getLiteral

public java.lang.String getLiteral()
Returns the string representation of the enumerator.

Returns:
A String that represents the enumerator

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<ProjectionFunction>
Returns:
A String that represents the literal


© Copyright 2016 SAP SE or an SAP affiliate company. All rights reserved.