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

All Superinterfaces:
Binding

public interface RelationalBinding
extends Binding

A representation of the model object 'Relational Binding'.

The following features are supported:


Method Summary
 java.util.List<java.lang.String> getExtraTables()
          Returns the value of the 'Extra Tables' attribute list.
 java.lang.String getSelect()
          Returns the value of the 'Select' attribute.
 java.lang.String getWhere()
          Returns the value of the 'Where' attribute.
 void setSelect(java.lang.String value)
          Sets the value of the 'Select' attribute.
 void setWhere(java.lang.String value)
          Sets the value of the 'Where' attribute.
 

Method Detail

getSelect

java.lang.String getSelect()
Returns the value of the 'Select' attribute. The default value is "". This is the content of the SELECT statement.

Returns:
the value of the 'Select' attribute.
See Also:
setSelect(String)

setSelect

void setSelect(java.lang.String value)
Sets the value of the 'Select' attribute. This is the content of the SELECT statement.

Parameters:
value - the new value of the 'Select' attribute.
See Also:
getSelect()

getWhere

java.lang.String getWhere()
Returns the value of the 'Where' attribute. The default value is "". This is the content of the WHERE clause.

Returns:
the value of the 'Where' attribute.
See Also:
setWhere(String)

setWhere

void setWhere(java.lang.String value)
Sets the value of the 'Where' attribute. This is the content of the WHERE clause.

Parameters:
value - the new value of the 'Where' attribute.
See Also:
getWhere()

getExtraTables

java.util.List<java.lang.String> getExtraTables()
Returns the value of the 'Extra Tables' attribute list. The list contents are of type String.

This is the list of extra tables of a business object. Extra tables are included in the query (by a join in the SQL expression) when returning values for the business object. The list of extra tables is a subset of tables displayed in the information design tool. Extra tables are not used in SELECT and WHERE expressions. If a table is added and this table is part of these expressions, no error is raised. If the business layer is reloaded, this table will not be part of tables of getExtraTables(). An exception will be thrown at save time if a table cannot be found in data foundation or if a table is added more than once.

If qualifier or owner has to be specified, both have to be appended to the name, even if qualifier or owner is not supported by the database. You can use the add operator to append the new extra table to the end of this list. For example:

See DataFoundationService.getTableFullName(com.sap.sl.sdk.authoring.datafoundation.Table).

Returns:
the value of the 'Extra Tables' attribute list.


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