|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChangeDataSourceMapping
Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.
ChangeDataSourceMapping
interface defines a mapping from a set of objects from a data source that is being
replaced, to a set of objects from the new data source.
Method Summary | |
---|---|
ChangeDataSourceObjectMapping[] |
getAllMappings()
Returns all object mappings, from any data provider. |
int |
getDataProviderCount()
The number of data providers that are impacted by this change of data source. |
java.lang.String |
getDataProviderName(int dataProviderIndex)
The name of a data provider at a given index. |
ChangeDataSourceObjectMapping[] |
getMappingsForDataProvider(int dataProviderIndex)
Returns all object mappings for a certain data provider. |
DataSource |
getNewDataSource()
The new data source, replacing the old one. |
DataSource |
getOldDataSource()
The data source that is being replaced. |
Method Detail |
---|
DataSource getOldDataSource()
DataSource getNewDataSource()
ChangeDataSourceObjectMapping[] getAllMappings()
Returns all object mappings, from any data provider.
As this method returns an array, clients can theoretically change the
values in the array. Changing the order has no effect, removing entries
(setting them to null
) will result in the source object
not being replaced and therefore removed from the document.
int getDataProviderCount()
java.lang.String getDataProviderName(int dataProviderIndex)
dataProviderIndex
- The data provider index.
java.lang.IndexOutOfBoundsException
- Thrown when dataProviderIndex < 0
or
dataProviderIndex >= ChangeDataSourceMapping.getDataProviderCount()
.ChangeDataSourceObjectMapping[] getMappingsForDataProvider(int dataProviderIndex)
Returns all object mappings for a certain data provider.
As this method returns an array, clients can theoretically change the
values in the array. Changing the order has no effect, removing entries
(setting them to null
) will result in the source object
not being replaced and therefore removed from the document.
dataProviderIndex
- The data provider index.
java.lang.IndexOutOfBoundsException
- Thrown when dataProviderIndex < 0
or
dataProviderIndex >= ChangeDataSourceMapping.getDataProviderCount()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |