Class TableModel
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.TableModel
-
- All Implemented Interfaces:
ITableModel
,java.io.Serializable
public class TableModel extends java.lang.Object implements java.io.Serializable, ITableModel
A table with a list of rows and columns specification. Each column has header and type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableModel(java.util.List<TableModelColumnHeader> header, java.util.List<TableModelRow> rows)
TableModel(java.util.List<TableModelColumnHeader> header, java.util.List<TableModelRow> rows, java.lang.String messageOrNull)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TableModelColumnHeader>
getHeader()
java.util.List<TableModelRow>
getRows()
java.lang.String
tryGetMessage()
-
-
-
Constructor Detail
-
TableModel
public TableModel(java.util.List<TableModelColumnHeader> header, java.util.List<TableModelRow> rows)
-
TableModel
public TableModel(java.util.List<TableModelColumnHeader> header, java.util.List<TableModelRow> rows, java.lang.String messageOrNull)
-
-
Method Detail
-
getRows
public java.util.List<TableModelRow> getRows()
-
getHeader
public java.util.List<TableModelColumnHeader> getHeader()
-
tryGetMessage
public java.lang.String tryGetMessage()
-
-