com.marevol.utils.hibernate.faces.model
クラス HibernateDataModel

java.lang.Object
  拡張javax.faces.model.DataModel
      拡張com.marevol.utils.hibernate.faces.model.HibernateDataModel

public class HibernateDataModel
extends javax.faces.model.DataModel

HibernateDataModel is DataModel class for Hibernate ScrollableResults.

作成者:
Shinsuke Sugaya

コンストラクタの概要
HibernateDataModel()
           
HibernateDataModel(java.lang.String hSql, java.lang.Object[] params)
           
HibernateDataModel(java.lang.String hSql, java.lang.Object[] params, org.hibernate.type.Type[] types)
           
 
メソッドの概要
 int getRowCount()
           
 java.lang.Object getRowData()
          Get the actual data of this row wrapped into a map.
 int getRowIndex()
           
 java.lang.Object getWrappedData()
           
 boolean isRowAvailable()
           
 void setRowCount(int count)
           
 void setRowIndex(int rowIndex)
           
 void setWrappedData(java.lang.Object data)
           
 
クラス javax.faces.model.DataModel から継承したメソッド
addDataModelListener, getDataModelListeners, removeDataModelListener
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HibernateDataModel

public HibernateDataModel()

HibernateDataModel

public HibernateDataModel(java.lang.String hSql,
                          java.lang.Object[] params)

HibernateDataModel

public HibernateDataModel(java.lang.String hSql,
                          java.lang.Object[] params,
                          org.hibernate.type.Type[] types)
メソッドの詳細

setRowCount

public void setRowCount(int count)

getRowCount

public int getRowCount()

getRowData

public java.lang.Object getRowData()
Get the actual data of this row wrapped into a map. The specification is very strict about what has to be returned from here, so check the spec before modifying anything here.


getRowIndex

public int getRowIndex()

getWrappedData

public java.lang.Object getWrappedData()

isRowAvailable

public boolean isRowAvailable()

setRowIndex

public void setRowIndex(int rowIndex)

setWrappedData

public void setWrappedData(java.lang.Object data)


Copyright © 2000-2005 marevol.com. All Rights Reserved.