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

All Superinterfaces:
Customizable, Nameable, QueryScriptCustomizable, SlResource
All Known Subinterfaces:
MonoSourceDataFoundation, MultiSourceDataFoundation

public interface DataFoundation
extends SlResource, Nameable, Customizable, QueryScriptCustomizable

A representation of the 'Data Foundation' model object.

The following features are supported:


Method Summary
 java.util.List<Context> getContexts()
          Returns the value of the 'Contexts' containment reference list.
 java.util.List<UniverseReference> getCoreUniverseReferences()
          Returns the value of the 'Core Universe References' containment reference list.
 java.util.List<DataFoundationView> getDataFoundationViews()
          Returns the value of the 'Data Foundation Views' reference list.
 java.lang.String getDescription()
          Returns the value of the 'Description' attribute.
 java.util.List<Join> getJoins()
          Returns the value of the 'Joins' containment reference list.
 java.util.List<Lov> getLovs()
          Returns the value of the 'Lovs' containment reference list.
 DataFoundationView getMasterView()
          Returns the value of the 'Master View' containment reference.
 java.util.List<Parameter> getParameters()
          Returns the value of the 'Parameters' containment reference list.
 java.util.List<Table> getTables()
          Returns the value of the 'Tables' containment reference list.
 boolean isCartesianProductAllowed()
          Returns the value of the 'Cartesian Product Allowed' attribute.
 boolean isMultipleSqlStatementsAllowed()
          Returns the value of the 'Multiple Sql Statements Allowed' attribute.
 void setCartesianProductAllowed(boolean value)
          Sets the value of the 'Cartesian Product Allowed' attribute.
 void setDescription(java.lang.String value)
          Sets the value of the 'Description' attribute.
 void setMultipleSqlStatementsAllowed(boolean value)
          Sets the value of the 'Multiple Sql Statements Allowed' attribute.
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.SlResource
getResourcePath
 
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
 
Methods inherited from interface com.sap.sl.sdk.authoring.commons.QueryScriptCustomizable
getQueryScriptProperties, resetQueryScriptProperties
 

Method Detail

getDescription

java.lang.String getDescription()
Returns the value of the 'Description' attribute.

This string represents the description of the data foundation.

Returns:
the value of the 'Description' attribute.
See Also:
setDescription(String)

setDescription

void setDescription(java.lang.String value)
Sets the value of the 'Description' attribute.

This string represents the description of the data foundation.

Parameters:
value - the new value of the 'Description' attribute.
See Also:
getDescription()

getTables

java.util.List<Table> getTables()
Returns the value of the 'Tables' containment reference list. The list contents are of type Table. It is bidirectional and its opposite is 'Data Foundation'.

This list represents the table names of the data foundation.

Returns:
the value of the 'Tables' containment reference list.
See Also:
Table.getDataFoundation()

getJoins

java.util.List<Join> getJoins()
Returns the value of the 'Joins' containment reference list. The list contents are of type Join.

This list represents the joins of the data foundation.

Returns:
the value of the 'Joins' containment reference list.

getMasterView

DataFoundationView getMasterView()
Returns the value of the 'Master View' containment reference.

The master view is the default view of the data foundation. It contains views of all data foundation tables. It cannot be created or deleted.

Returns:
the value of the 'Master View' containment reference.

getDataFoundationViews

java.util.List<DataFoundationView> getDataFoundationViews()
Returns the value of the 'Data Foundation Views' reference list. The list contents are of type DataFoundationView.

This is the list of the custom views that have been added to the data foundation.

Returns:
the value of the 'Data Foundation Views' reference list.

getContexts

java.util.List<Context> getContexts()
Returns the value of the 'Contexts' containment reference list. The list contents are of type Context. It is bidirectional and its opposite is 'Data Foundation'.

This list represents the contexts of a data foundation.

Returns:
the value of the 'Contexts' containment reference list.
See Also:
Context.getDataFoundation()

isCartesianProductAllowed

boolean isCartesianProductAllowed()
Returns the value of the 'Cartesian Product Allowed' attribute. The default value is "false".

Tells if the SQL expression that defines an object of the data foundation is allowed if it can result in a Cartesian product.

Returns:
the value of the 'Cartesian Product Allowed' attribute.
See Also:
setCartesianProductAllowed(boolean)

setCartesianProductAllowed

void setCartesianProductAllowed(boolean value)
Sets the value of the 'Cartesian Product Allowed' attribute.

Allows Cartesian products as results of SQL expressions that define data foundation objects, if value is true.

Parameters:
value - the new value of the 'Cartesian Product Allowed' attribute.
See Also:
isCartesianProductAllowed()

isMultipleSqlStatementsAllowed

boolean isMultipleSqlStatementsAllowed()
Returns the value of the 'Multiple Sql Statements Allowed' attribute. The default value is "true".

Tells if the user can select the query path when the query involves contexts.

Returns:
the value of the 'Multiple Sql Statements Allowed' attribute.
See Also:
setMultipleSqlStatementsAllowed(boolean)

setMultipleSqlStatementsAllowed

void setMultipleSqlStatementsAllowed(boolean value)
Sets the value of the 'Multiple Sql Statements Allowed' attribute.

Allows the user to select the query path when the query involves contexts, if value is true.

Parameters:
value - the new value of the 'Multiple Sql Statements Allowed' attribute.
See Also:
isMultipleSqlStatementsAllowed()

getLovs

java.util.List<Lov> getLovs()
Returns the value of the 'Lovs' containment reference list. The list contents are of type Lov.

This is the list of lists of values attached to a data foundation.

Returns:
the value of the 'Lovs' containment reference list.

getParameters

java.util.List<Parameter> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of type Parameter.

This is the list of parameters attached to a data foundation.

Returns:
the value of the 'Parameters' containment reference list.

getCoreUniverseReferences

java.util.List<UniverseReference> getCoreUniverseReferences()
Returns the value of the 'Core Universe References' containment reference list. The list contents are of type UniverseReference.

This list presents the core universes referenced by the data foundation.

This list is empty if no core universe is linked to the data foundation.

Returns:
the value of the 'Core Universe References' containment reference list.


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