public class MatrixData
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| ModelElement | getColumnElement(int col)Gets the target model element in a column of this relation matrix. | 
| Matrix | getMatrixDefinition()Gets the definition of the matrix. | 
| int | getNumberOfColumns()Gets the number of columns (target model elements) of this relation
 matrix. | 
| int | getNumberOfRows()Gets the number of rows (source model elements) of this relation matrix. | 
| ModelElement | getRowElement(int row)Gets the source element in a row of this relation matrix. | 
| java.lang.Integer | getValueAt(int row,
          int col)Gets the value of a cell of this relation matrix. | 
| boolean | isEmpty()Tests if this relation matrix is empty (a null matrix). | 
public Matrix getMatrixDefinition()
public int getNumberOfRows()
public int getNumberOfColumns()
public boolean isEmpty()
true if all cells of the matrix are zero,
         false if there is at least one non-zero entry.public java.lang.Integer getValueAt(int row,
                                    int col)
row - Row index of the cell to access.col - Column index of the cell to access.public ModelElement getRowElement(int row)
row - Row index.public ModelElement getColumnElement(int col)
col - Column index.