public Object getIndexData() {
        if (!getDataModel().isRowAvailable()) {
            return null;
        }

        return getDataModel().getRowData();
    }
Returns the rowCount of the underlying DataModel.

@return
primefaces/src/main/java/org/primefaces/component/api/UITabPanel.java