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

All Superinterfaces:
Identifiable, Inheritable, Nameable, Table

public interface DatabaseTable
extends Table

A representation of the 'Database Table' model object.

Use DataFoundationFactory.createDatabaseTable(String, String, String, DataFoundation) to instantiate a table for a data foundation.

The following features are supported:


Method Summary
 java.lang.String getOwner()
          Returns the value of the 'Owner' attribute.
 PrimaryKey getPrimaryKey()
          Returns the value of the 'Primary Key' reference.
 java.lang.String getQualifier()
          Returns the value of the 'Qualifier' attribute.
 void removePrimaryKey()
          Deletes the primary key of the table.
 void setOwner(java.lang.String value)
          Sets the value of the 'Owner' attribute.
 void setQualifier(java.lang.String value)
          Sets the value of the 'Qualifier' attribute.
 
Methods inherited from interface com.sap.sl.sdk.authoring.datafoundation.Table
getColumns, getDataFoundation, getDescription, setDescription
 
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.Inheritable
getInheritedData
 

Method Detail

getOwner

java.lang.String getOwner()
Returns the value of the 'Owner' attribute.

This string represents the database table owner.

Returns:
the value of the 'Owner' attribute.
See Also:
setOwner(String)

setOwner

void setOwner(java.lang.String value)
Sets the value of the 'Owner' attribute.

This string represents the database table owner.

Parameters:
value - the new value of the 'Owner' attribute.
See Also:
getOwner()

getQualifier

java.lang.String getQualifier()
Returns the value of the 'Qualifier' attribute.

This string represents the database table qualifier.

In the case of a MultiSourceDataFoundation, the qualifier is the short name of one of the DataFederatorSourceInfo objects, as returned by DataFederatorSourceInfo.getShortName().

Returns:
the value of the 'Qualifier' attribute.
See Also:
setQualifier(String)

setQualifier

void setQualifier(java.lang.String value)
Sets the value of the 'Qualifier' attribute.

This string represents the database table qualifier.

Parameters:
value - the new value of the 'Qualifier' attribute.
See Also:
getQualifier()

getPrimaryKey

PrimaryKey getPrimaryKey()
Returns the value of the 'Primary Key' reference.

This is the primary key of the table. You cannot use this method with an alias table.

Returns:
the value of the 'Primary Key' reference.

removePrimaryKey

void removePrimaryKey()
Deletes the primary key of the table.

You cannot use this method with an alias table.



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