public interface DataModelProvider
Note: this SPI was changed in a non-backward compatible way between
Modeler API 12.0 and 12.0.1. Prior to Modeler API 12.0.1, this interface was not used by the
extensions mechanism so there was no reason for an extension to implement it.
New extensions should implement NodeDelegate
instead of this interface.
NodeDelegate
Modifier and Type | Method and Description |
---|---|
DataModel |
getOutputDataModel(DataModel inputDataModel,
Properties properties,
ExtensionObject extensionObject,
SystemSession session)
Returns the output data model for a given input data model,
set of properties and the object (typically a node) who output data model is
being computed.
|
DataModel getOutputDataModel(DataModel inputDataModel, Properties properties, ExtensionObject extensionObject, SystemSession session) throws DataProviderException
DataProviderException
may be thrown; to indicate one or more diagnostic faults occurred during data
model computation, whilst still providing an output data model. Throwing a DataProviderException will
cause the node to be marked as invalid thus preventing execution.inputDataModel
- the input data modelproperties
- the current property settingsextensionObject
- the extension object whose output data model is being computedsession
- the session through which the locale and data model factory can be accessedDataProviderException
- if the data model cannot be constructed for some reason(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.