t)">setWrappedData</a></code>&nbsp;in class&nbsp;<code><a href="DataModel.html" title="class in jakarta.faces.model">DataModel</a>&lt;<a href="IterableDataModel.html" title="type parameter in IterableDataModel">E</a>&gt;</code></dd>
<dt>Parameters:</dt>
<dd><code>data</code> - Data collection to be wrapped, or <code>null</code> to detach from any previous data collection</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ClassCastException.html" t