com.businessobjects.sdk.plugin.desktop.overload
Interface ITableMappingOverload


public interface ITableMappingOverload

Contains methods that allow you to switch the database tables that are referenced by a universe.

Note: For table mappings to work, all columns in the original table must also exist in the replacement table.


Method Summary
 int getOriginalTableID()
           Returns the original table ID.
 java.lang.String getOriginalTableName()
           Returns the original table name.
 int getReplacementTableID()
           Returns the ID of the replacement table.
 java.lang.String getReplacementTableName()
           Returns the name of the replacement table.
 void setOrginalTableID(int tableID)
          Deprecated.  
 void setOrginalTableName(java.lang.String tableName)
          Deprecated.  
 void setOriginalTableID(int tableID)
           Sets the original table ID.
 void setOriginalTableName(java.lang.String tableName)
           Sets the original table name.
 void setReplacementTableID(int tableID)
           Sets the ID of the replacement table.
 void setReplacementTableName(java.lang.String tableName)
           Sets the name of the replacement table.
 

Method Detail

getOriginalTableID

int getOriginalTableID()

Returns the original table ID.

Note: Use this method to identify which database table will be replaced.

Returns:
An int that identifies the original table ID; returns -1 if the table does not exist.

setOrginalTableID

void setOrginalTableID(int tableID)
Deprecated. 

Sets the original table ID.

Note: Use this method in conjunction with the setReplacementTableID to switch the selected database tables in the universe. This method allows you to specify the database table that will be replaced.

Parameters:
tableID - An int that specifies the original table ID.

setOriginalTableID

void setOriginalTableID(int tableID)

Sets the original table ID.

Note: Use this method in conjunction with the setReplacementTableID to switch the selected database tables in the universe. This method allows you to specify the database table that will be replaced.

Parameters:
tableID - An int that specifies the original table ID.

getOriginalTableName

java.lang.String getOriginalTableName()

Returns the original table name.

Note: Identifies the name of the database table that will be replaced.

Returns:
A String that identifies the name of the original database table; returns null if the table does not exist.

setOrginalTableName

void setOrginalTableName(java.lang.String tableName)
Deprecated. 

Sets the original table name.

Note: Specifies the name of the database table that will be replaced.

Parameters:
tableName - A String that specifies the name of the original database table.

setOriginalTableName

void setOriginalTableName(java.lang.String tableName)

Sets the original table name.

Note: Specifies the name of the database table that will be replaced.

Parameters:
tableName - A String that specifies the name of the original database table.

getReplacementTableID

int getReplacementTableID()

Returns the ID of the replacement table.

Note: Use this method to identify the database table that will replace the original database table.

Returns:
An int that identifies the replacement table ID; returns -1 if the database table does not exist.

setReplacementTableID

void setReplacementTableID(int tableID)

Sets the ID of the replacement table.

Note: Use this property with setOriginalTableID to switch the database tables in the universe. This method allows you to specify the database table that will replace the original database table.

Parameters:
tableID - An int that specifies the replacement table ID.

getReplacementTableName

java.lang.String getReplacementTableName()

Returns the name of the replacement table.

Note: Identifies the name of the database table that will be replaced.

Returns:
A String that identifies the name of the database table that will be replaced; returns null if the table does not exist.

setReplacementTableName

void setReplacementTableName(java.lang.String tableName)

Sets the name of the replacement table.

Note: Specifies the name of the database table that will replace the original database table.

Parameters:
tableName - A String that specifies the name of the database table that will replace the original database table.