|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChangeDataSourceObjectMapping
Warning:This interface is no longer functional from the SAP BusinessObjects XI 4.0 release onwards.
ChangeDataSourceObjectMapping
interface defines a mapping between two data source objects when replacing a data
source.
Method Summary | |
---|---|
DataSourceObject |
getFromObject()
The object in the old data source that is being replaced. |
ChangeDataSourceMapping |
getMapping()
Returns the mapping to which this object mapping is part of. |
ChangeDataSourceMappingDetail |
getMappingDetail()
The detail of how the default mapping was found. |
DataSourceObject |
getToObject()
The object that will replace the source object in the document after changing the data source. |
void |
setToObject(DataSourceObject object)
Sets the data source object from the new data source, or null when the source object should be removed from the
document without a replacement. |
Method Detail |
---|
DataSourceObject getFromObject()
DataSourceObject getToObject()
The object that will replace the source object in the document after
changing the data source. REBean will provide a guess to the best match
by default, but users can change this using
ChangeDataSourceObjectMapping.setToObject(DataSourceObject)
.
When this method returns null
, the source object will be
removed from the document without being replaced by an object from the
new data source.
null
.void setToObject(DataSourceObject object)
Sets the data source object from the new data source, or
null
when the source object should be removed from the
document without a replacement.
After calling this method, ChangeDataSourceObjectMapping.getMappingDetail()
will always return
ChangeDataSourceMappingDetail.CUSTOM
.
object
- The new object, or null
.
java.lang.IllegalArgumentException
- Thrown when object
is not part of the new data
source, or when the
qualification
and
type
are not identical to
the source object.ChangeDataSourceMappingDetail getMappingDetail()
ChangeDataSourceMapping getMapping()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |