com.sap.sl.sdk.authoring.businesslayer
Interface Measure

All Superinterfaces:
BlContainer, BlItem, BusinessObject, Customizable, Identifiable, Inheritable, Nameable

public interface Measure
extends BusinessObject, BlContainer

A representation of the 'Measure' model object.

Use BusinessLayerFactory.createBlItem(Class, String, BlContainer) to instantiate a measure.

The following features are supported:


Method Summary
 ProjectionFunction getProjectionFunction()
          Returns the value of the 'Projection Function' attribute.
 boolean isHighPrecision()
          Returns the value of the 'High Precision' attribute.
 void setHighPrecision(boolean value)
          Sets the value of the 'High Precision' attribute.
 void setProjectionFunction(ProjectionFunction value)
          Sets the value of the 'Projection Function' attribute.
 
Methods inherited from interface com.sap.sl.sdk.authoring.businesslayer.BusinessObject
getAccessLevel, getAssociatedLov, getBinding, getDataType, getDisplayFormat, getLineage, getMapping, getSelect, getTechnicalInformation, getWhere, isAssociatedLovEnabled, isUsableInConditions, isUsableInResults, isUsableInSort, setAccessLevel, setAssociatedLov, setAssociatedLovEnabled, setDataType, setLineage, setMapping, setSelect, setTechnicalInformation, setUsableInConditions, setUsableInResults, setUsableInSort, setWhere
 
Methods inherited from interface com.sap.sl.sdk.authoring.businesslayer.BlContainer
getChildren
 
Methods inherited from interface com.sap.sl.sdk.authoring.businesslayer.BlItem
getDescription, getInheritedData, getParent, getPath, getState, setDescription, setState
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Identifiable
getIdentifier
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Nameable
getName, setName
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Customizable
getCustomProperties
 

Method Detail

getProjectionFunction

ProjectionFunction getProjectionFunction()
Returns the value of the 'Projection Function' attribute. The default value is "SUM". The literals are from the enumeration ProjectionFunction.

This allows you to know which aggregation function is used on the measure locally.

Returns:
the value of the 'Projection Function' attribute.
See Also:
ProjectionFunction, setProjectionFunction(ProjectionFunction)

setProjectionFunction

void setProjectionFunction(ProjectionFunction value)
Sets the value of the 'Projection Function' attribute.

This allows you to set the aggregation function to be used on the measure locally.

Parameters:
value - the new value of the 'Projection Function' attribute.
See Also:
ProjectionFunction, getProjectionFunction()

isHighPrecision

boolean isHighPrecision()
Returns the value of the 'High Precision' attribute. The default value is "false".

This allows you to know if the measure is high precision.

Returns:
the value of the 'High Precision' attribute.
See Also:
setHighPrecision(boolean)

setHighPrecision

void setHighPrecision(boolean value)
Sets the value of the 'High Precision' attribute.

This allows you to set the high precision flag on the measure locally.

Parameters:
value - the new value of the 'High Precision' attribute.
See Also:
isHighPrecision()


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