|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.projectbrowser.page.dailyprojectdata.coupling.CouplingDataModel
public class CouplingDataModel
The data model for Coupling DPD display. This data model accommodates multiple Projects. For each project, the data model indicates the number of classes whose level of coupling falls into each of five buckets, from 0-10, 11-20, 21-30, 31-40, 41+. At present, we only get "class" coupling from the "DependencyFinder" tool. This will change after we update the DPD client to not require the tool argument.
Constructor Summary | |
---|---|
CouplingDataModel()
The default CouplingDataModel, which contains no coupling information. |
Method Summary | |
---|---|
void |
clear()
Sets this model to its empty state. |
CouplingData |
getCouplingData(org.hackystat.sensorbase.resource.projects.jaxb.Project project)
Return the CouplingData instance associated with the specified project. |
java.util.List<CouplingData> |
getCouplingDataList()
Returns the list of CouplingData instances, needed for markup. |
boolean |
isEmpty()
Returns true if this data model contains no information. |
void |
update()
Updates this data model to reflect the coupling information associated with the selected projects and granularity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CouplingDataModel()
Method Detail |
---|
public void update()
public void clear()
public boolean isEmpty()
public CouplingData getCouplingData(org.hackystat.sensorbase.resource.projects.jaxb.Project project)
project
- The project.
public java.util.List<CouplingData> getCouplingDataList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |