org.hackystat.projectbrowser.page.dailyprojectdata.filemetric
Class FileMetricData

java.lang.Object
  extended by org.hackystat.projectbrowser.page.dailyprojectdata.filemetric.FileMetricData
All Implemented Interfaces:
java.io.Serializable

public class FileMetricData
extends java.lang.Object
implements java.io.Serializable

Gets the DPD for total lines of code.

Author:
Philip Johnson
See Also:
Serialized Form

Constructor Summary
FileMetricData(org.hackystat.sensorbase.resource.projects.jaxb.Project project)
          Constructs an empty FileMetricData instance.
FileMetricData(org.hackystat.sensorbase.resource.projects.jaxb.Project project, java.util.List<org.hackystat.dailyprojectdata.resource.filemetric.jaxb.FileData> fileData)
          Constructs a FileMetricData instance with FileData data.
 
Method Summary
 java.lang.String getFileMetricData()
          Returns a String listing each filetype and their LOC.
 org.hackystat.sensorbase.resource.projects.jaxb.Project getProject()
          Returns the project associated with this instance.
 int getTotalLoc()
          Returns the total aggregate LOC for this project on this day.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileMetricData

public FileMetricData(org.hackystat.sensorbase.resource.projects.jaxb.Project project,
                      java.util.List<org.hackystat.dailyprojectdata.resource.filemetric.jaxb.FileData> fileData)
Constructs a FileMetricData instance with FileData data.

Parameters:
project - The project associated with this DevTime data.
fileData - The individual FileData data.

FileMetricData

public FileMetricData(org.hackystat.sensorbase.resource.projects.jaxb.Project project)
Constructs an empty FileMetricData instance. Used to initialize the session state.

Parameters:
project - The project.
Method Detail

getProject

public org.hackystat.sensorbase.resource.projects.jaxb.Project getProject()
Returns the project associated with this instance.

Returns:
The project.

getTotalLoc

public int getTotalLoc()
Returns the total aggregate LOC for this project on this day.

Returns:
The total DevTime.

getFileMetricData

public java.lang.String getFileMetricData()
Returns a String listing each filetype and their LOC.

Returns:
A String of FileMetric info for this project and day.