setDataAdapter method
- String? dataAdapter
Setter method that sets the name of the Data Adapter (within the Adapter Set used by the current session) that supplies all the items for this Subscription.
The Data Adapter name is configured on the server side through
the "name" attribute of the "data_provider" element, in the
"adapters.xml" file that defines the Adapter Set (a missing attribute
configures the "DEFAULT" name).
Note that if more than one Data Adapter is needed to supply all the
items in a set of items, then it is not possible to group all the
items of the set in a single Subscription. Multiple Subscriptions
have to be defined.
Default The default Data Adapter for the Adapter Set, configured as "DEFAULT" on the Server.
Lifecycle This method can only be called while the Subscription instance is in its "inactive" state.
Throws IllegalStateException if the Subscription is currently "active".
-
dataAdapter
the name of the Data Adapter. A null value is equivalent to the "DEFAULT" name.
Implementation
external void setDataAdapter(String? dataAdapter);