public class SerializableListDataModel<T>
extends javax.faces.model.ListDataModel<T>
implements java.io.Serializable
List-to-JSF-DataModel
adapter that is also Serializable
.Constructor and Description |
---|
SerializableListDataModel() |
SerializableListDataModel(java.util.List<T> list)
Adapt the list to a data model;
|
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
getWrappedData() |
void |
setWrappedData(java.lang.Object data) |
java.lang.String |
toString() |
getRowCount, getRowData, getRowIndex, isRowAvailable, setRowIndex
public SerializableListDataModel()
public SerializableListDataModel(java.util.List<T> list)
list
- the listpublic java.util.List<T> getWrappedData()
getWrappedData
in class javax.faces.model.ListDataModel<T>
public void setWrappedData(java.lang.Object data)
setWrappedData
in class javax.faces.model.ListDataModel<T>
public java.lang.String toString()
toString
in class java.lang.Object