Package org.cesilko.rachota.gui
Class InvoiceGenerator.TaskRow
- java.lang.Object
-
- org.cesilko.rachota.gui.InvoiceGenerator.TaskRow
-
- All Implemented Interfaces:
java.lang.Comparable
- Enclosing class:
- InvoiceGenerator
class InvoiceGenerator.TaskRow extends java.lang.Object implements java.lang.ComparableComparable object representing one task in the summary on invoice. It has its name and total duration of all tasks with the same name.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object object)(package private) longgetDuration()(package private) java.lang.StringgetTask()(package private) voidincludeTask(Task task)
-
-
-
Constructor Detail
-
TaskRow
TaskRow(Task task, java.lang.String sortBy)
-
-
Method Detail
-
includeTask
void includeTask(Task task)
-
getTask
java.lang.String getTask()
-
getDuration
long getDuration()
-
compareTo
public int compareTo(java.lang.Object object)
- Specified by:
compareToin interfacejava.lang.Comparable
-
-