|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.gda.pg.eti.ask.przemyslawbielicki.aeh.info.ClassStat
ClassStat contains statistics for class name className_. ClassStat
contains list of method statistics MethodStat
belonging to this class in methods_ field.
ClassStat contains methods_ that enable retrieving existing statistics
from database by finder methods_. It also contains methods_ that enable adding new
statistics to XML database.
ClassStat can be converted to XML element Element by
getElement(DocumentImpl) method.
| Field Summary | |
private String |
className_
Class name |
private HashMap |
methods_
List of method statistics that belong to this class |
| Constructor Summary | |
ClassStat()
|
|
| Method Summary | |
void |
addMethodStat(MethodStat stat)
Adds method statistics to list methods_. |
MethodStat |
findByMethod(Method method)
Finds method statistics for given method. |
String |
getClassName()
Getter method for class name |
ElementImpl |
getElement(DocumentImpl document)
Retrieves XML element for current class statistics subtree. |
void |
setClassName(String string)
Setter method for class name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private String className_
private HashMap methods_
| Constructor Detail |
public ClassStat()
| Method Detail |
public ElementImpl getElement(DocumentImpl document)
document - parent document to add current element to
public MethodStat findByMethod(Method method)
throws MethodNotFoundException
MethodNotFoundException
is thrown.
method - user is looking for statistics of this method
MethodNotFoundException - method statistics doesn't existpublic String getClassName()
public void setClassName(String string)
string - class namepublic void addMethodStat(MethodStat stat)
methods_.
stat - method statistics to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||