|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ikokoon.serenity.model.Model
public class Model
NOT USED, used to the the model for the chart applet. This model is a collection of metrics for a composite. In the case of several packages that have been analysed over time, the metrics for the packages are accumulated and represented in a list of lists that can be seen as a matrix of data. This data is then displayed in the front end in the Applet.
| Constructor Summary | |
|---|---|
Model(java.lang.String name,
java.util.List<java.lang.String> legend,
java.util.List<java.util.ArrayList<java.lang.Double>> metrics)
Constructor takes all the data to initialise the model. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getLegend()
Access to the legend for the graph. |
java.util.List<java.util.ArrayList<java.lang.Double>> |
getMetrics()
Access to the matrix of the data for the composites. |
java.lang.String |
getName()
Access to the name of the composite. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Model(java.lang.String name,
java.util.List<java.lang.String> legend,
java.util.List<java.util.ArrayList<java.lang.Double>> metrics)
name - the name of the compositelegend - the legend for the graphmetrics - the data for the composites| Method Detail |
|---|
public java.lang.String getName()
getName in interface IModelpublic java.util.List<java.lang.String> getLegend()
getLegend in interface IModelpublic java.util.List<java.util.ArrayList<java.lang.Double>> getMetrics()
getMetrics in interface IModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||