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 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

public 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.

setOriginalTableID

public 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

public 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.

setOriginalTableName

public 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

public 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

public 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

public 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

public 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.