Class InvoiceGenerator.ProjectRow

java.lang.Object
org.cesilko.rachota.gui.InvoiceGenerator.ProjectRow
All Implemented Interfaces:
Comparable
Enclosing class:
InvoiceGenerator

class InvoiceGenerator.ProjectRow extends Object implements Comparable
Comparable object representing one project in the summary on invoice. It has several properties like name, tasks that belonged to the project and total duration of all owned tasks.
  • Field Details

    • project

      String project
    • tasks

      Vector tasks
    • duration

      long duration
    • sortBy

      String sortBy
  • Constructor Details

  • Method Details

    • includeTask

      void includeTask(Task task)
    • getProject

      String getProject()
    • getTasks

      Vector getTasks()
    • getDuration

      long getDuration()
    • compareTo

      public int compareTo(Object object)
      Specified by:
      compareTo in interface Comparable