|
www.sdmetrics.com | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--sdmetrics.app.MeasurementCatalog
Provide the information of the measurement catalog.
This includes the full descriptions for all metrics, rules,
and matrices, and the literature references and glossary.
The information is provided via the DataTable interface.
For example, there is one data table named "Metrics" which contains
all the metrics, one per row, where the columns contain additional
information, such as the domain, category, and short definitions of the metrics.
Likewise, there is one table each for rules, matrices, literature references
and the glossary.
| Constructor Summary | |
MeasurementCatalog(sdmetrics.metrics.MetricStore ms)
|
|
| Method Summary | |
java.lang.String |
getColumnDescription(int index,
int col)
Return a short description of a column. |
java.lang.String |
getColumnName(int index,
int col)
Return the name of the object a column represents (column header). |
java.lang.String |
getDescriptionHeader(int table,
int row)
Get the description header of an object in the catalog. |
java.lang.String |
getFullDescription(int table,
int row)
Get the full description of an object in the catalog. |
java.lang.String |
getLocatorForMatrix(java.lang.String name)
Get the locator string for a matrix. |
java.lang.String |
getLocatorForMetric(int type,
java.lang.String name)
Get the locator string for a metric. |
java.lang.String |
getLocatorForRule(int type,
java.lang.String name)
Get the locator string for a rule. |
sdmetrics.metrics.MetricStore |
getMetricStore()
Get the metric store on which this measurement catalog is based. |
int |
getNumberOfColumns(int index)
Return the number of columns in a table. |
int |
getNumberOfRows(int index)
Return the number of rows in a table. |
int |
getNumberOfTables()
Returns the number of available tables. |
int |
getRow(java.lang.String s)
Get the row number of an object specified by the locator string. |
java.lang.String |
getRowName(int index,
int row)
Return the name of the object a row represents (row header). |
int |
getTable(java.lang.String s)
Get the table with the objects that a locator refers to. |
java.lang.String |
getTableName(int index)
Returns the name of a table. |
int |
getTypeID(int index)
This method is not applicable for the measurement catalog. |
java.lang.Object |
getValueAt(int index,
int row,
int col)
Return the table cell value at a particular coordinate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MeasurementCatalog(sdmetrics.metrics.MetricStore ms)
ms - Metric Store with the contents of the metric definition file to display.| Method Detail |
public sdmetrics.metrics.MetricStore getMetricStore()
public java.lang.String getFullDescription(int table,
int row)
table - Index of the table to access.row - Index of the object's row.
public java.lang.String getDescriptionHeader(int table,
int row)
table - Index of the table to access.row - Index of the object's row.
public int getTable(java.lang.String s)
s - A locator string, e.g., "matrix://Associations/".
getRow(java.lang.String)public int getRow(java.lang.String s)
s - A locator string, e.g., "matrix://Associations/".
getTable(java.lang.String)
public java.lang.String getLocatorForMetric(int type,
java.lang.String name)
type - Metamodel type ID of the metric's domain.name - The name of the metric.
public java.lang.String getLocatorForRule(int type,
java.lang.String name)
type - Metamodel type ID of the rule's domain.name - The name of the rule.
public java.lang.String getLocatorForMatrix(java.lang.String name)
name - The name of the matrix.
public int getNumberOfTables()
DataTable
getNumberOfTables in interface DataTablepublic java.lang.String getTableName(int index)
DataTable
getTableName in interface DataTableindex - Index of the table to access.
public int getNumberOfRows(int index)
DataTable
getNumberOfRows in interface DataTableindex - Index of the table to access.
public int getNumberOfColumns(int index)
DataTable
getNumberOfColumns in interface DataTableindex - Index of the table to access.
public java.lang.Object getValueAt(int index,
int row,
int col)
DataTable
getValueAt in interface DataTableindex - Index of the table to access.row - Index of the row to access.col - Index of the column to access.
public java.lang.String getRowName(int index,
int row)
DataTable
getRowName in interface DataTableindex - Index of the table to access.row - Index of the row.
public java.lang.String getColumnName(int index,
int col)
DataTable
getColumnName in interface DataTableindex - Index of the table to access.col - Index of the column.
public java.lang.String getColumnDescription(int index,
int col)
DataTable
getColumnDescription in interface DataTableindex - Index of the table to access.col - Index of the column.
public int getTypeID(int index)
getTypeID in interface DataTableindex - Index of the table to access.
|
www.sdmetrics.com | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||