|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
ca.utoronto.JCVSReport.metric.MetricRevision
The result of a query for a metric in the Metric Database
| Field Summary |
| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
MetricRevision(List list)
Create a MetricRevision object from a list |
|
MetricRevision(ResultSet resultSet)
Initialize a MetricRevision object from the keys of a query |
|
MetricRevision(String metricName,
String file,
Timestamp tstamp,
double metricValue,
String developer)
Create a MetricRevision object from a string |
|
| Method Summary | |
static Comparator |
byDeveloper()
Sort this metric by metric name and developer Note: this comparator imposes orderings that are inconsistent with equals |
static Comparator |
byFile()
Sort this metric by metric name and file Note: this comparator imposes orderings that are inconsistent with equals |
org.jfree.data.time.Day |
getDay()
Get the timestamp as a day |
String |
getDeveloper()
Get the metric value |
String |
getFile()
Get the filename |
String |
getMetricName()
Get the title |
double |
getMetricValue()
Get the metric value |
Timestamp |
getTimestamp()
Get the timestamp |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
| Constructor Detail |
public MetricRevision(ResultSet resultSet)
throws SQLException
resultSet - The query to readpublic MetricRevision(List list)
list - the list to read from
public MetricRevision(String metricName,
String file,
Timestamp tstamp,
double metricValue,
String developer)
metricName - metric namefile - the filename changed in this revisiontstamp - timestamp of changemetricValue - value of metricdeveloper - the name of the developer who committed this change| Method Detail |
public String getMetricName()
public String getFile()
public Timestamp getTimestamp()
public org.jfree.data.time.Day getDay()
public double getMetricValue()
public String getDeveloper()
public static Comparator byDeveloper()
public static Comparator byFile()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||