local.tomas.faces.model
Class MapDataModel<K,V>
java.lang.Object
javax.faces.model.DataModel
javax.faces.model.ListDataModel
local.tomas.faces.model.MapDataModel<K,V>
- Type Parameters:
K - key typeV - value type
public class MapDataModel<K,V>
- extends javax.faces.model.ListDataModel
A JSF data model for maps.
- Author:
- tomas
| Methods inherited from class javax.faces.model.ListDataModel |
getRowCount, getRowIndex, getWrappedData, isRowAvailable, setRowIndex, setWrappedData |
| Methods inherited from class javax.faces.model.DataModel |
addDataModelListener, getDataModelListeners, removeDataModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapDataModel
public MapDataModel()
getWrappedMap
public Map<K,V> getWrappedMap()
- Get the wrapped map.
- Returns:
- Returns the wrappedMap.
setWrappedMap
public void setWrappedMap(Map<K,V> wrappedMap)
- Set the wrapped map.
- Parameters:
wrappedMap - The wrappedMap to set.
getRowData
public Object getRowData()
- Overrides:
getRowData in class javax.faces.model.ListDataModel
Copyright © 2007 null. All Rights Reserved.