com.sap.sl.sdk.authoring.datafoundation
Interface CalculatedColumn

All Superinterfaces:
Column, Identifiable, Nameable

public interface CalculatedColumn
extends Column

A representation of the 'Calculated Column' model object.

A calculated column is a new column in a data foundation table that is the result of a calculation based on one or more columns of the same table.

A calculated column can be added to a standard table only. See the Information Design Tool User Guide for more information.

The following features are supported:


Method Summary
 java.lang.String getExpression()
          Returns the value of the 'Expression' attribute.
 void setExpression(java.lang.String value)
          Sets the value of the 'Expression' attribute.
 
Methods inherited from interface com.sap.sl.sdk.authoring.datafoundation.Column
getDataType, getDescription, getTable, isNullable, isSigned, isVisible, setDataType, setDescription, setNullable, setSigned, setVisible
 
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
 

Method Detail

getExpression

java.lang.String getExpression()
Returns the value of the 'Expression' attribute.

This is the SQL expression attached to the calculated column.

Returns:
the value of the 'Expression' attribute.
See Also:
setExpression(String)

setExpression

void setExpression(java.lang.String value)
Sets the value of the 'Expression' attribute.

The SQL expression of a calculated column does not support lists of values. Only prompts with single value are supported. When it contains some column names, these columns must belong to the same table. The column names must contain the table name.

Parameters:
value - the new value of the 'Expression' attribute.
See Also:
getExpression()


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