org.rcfaces.core.model
Class DataModelWrapper

java.lang.Object
  extended by javax.faces.model.DataModel
      extended by org.rcfaces.core.model.DataModelWrapper

public class DataModelWrapper
extends DataModel

Version:
$Revision: 1.1 $ $Date: 2007/07/05 13:35:05 $
Author:
Olivier Oeuillot (latest modification by $Author: oeuillot $)

Constructor Summary
DataModelWrapper()
           
 
Method Summary
 void addDataModelListener(DataModelListener listener)
           
 boolean equals(Object obj)
           
 DataModelListener[] getDataModelListeners()
           
 int getRowCount()
           
 Object getRowData()
           
 int getRowIndex()
           
 Object getWrappedData()
           
 int hashCode()
           
 boolean isRowAvailable()
           
 void removeDataModelListener(DataModelListener listener)
           
 void setRowIndex(int rowIndex)
           
 void setWrappedData(Object data)
           
protected  void setWrappedDataModel(DataModel dataModel)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataModelWrapper

public DataModelWrapper()
Method Detail

setWrappedDataModel

protected void setWrappedDataModel(DataModel dataModel)

addDataModelListener

public void addDataModelListener(DataModelListener listener)
Overrides:
addDataModelListener in class DataModel

getDataModelListeners

public DataModelListener[] getDataModelListeners()
Overrides:
getDataModelListeners in class DataModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in class DataModel

getRowData

public Object getRowData()
Specified by:
getRowData in class DataModel

getRowIndex

public int getRowIndex()
Specified by:
getRowIndex in class DataModel

getWrappedData

public Object getWrappedData()
Specified by:
getWrappedData in class DataModel

isRowAvailable

public boolean isRowAvailable()
Specified by:
isRowAvailable in class DataModel

removeDataModelListener

public void removeDataModelListener(DataModelListener listener)
Overrides:
removeDataModelListener in class DataModel

setRowIndex

public void setRowIndex(int rowIndex)
Specified by:
setRowIndex in class DataModel

setWrappedData

public void setWrappedData(Object data)
Specified by:
setWrappedData in class DataModel

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2006-2011 Vedana. All Rights Reserved.