com.pnpconsult.zeiterfassung.model
Class Bill

java.lang.Object
  extended bycom.pnpconsult.zeiterfassung.model.DescriptiveObject
      extended bycom.pnpconsult.zeiterfassung.model.TimestampedObject
          extended bycom.pnpconsult.zeiterfassung.model.ArchivableObject
              extended bycom.pnpconsult.zeiterfassung.model.Bill
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class Bill
extends ArchivableObject

Version:
$Id: Bill.java,v 1.10 2004/07/21 22:13:11 powerpete Exp $
Author:
M. Petersen
See Also:
Serialized Form

Constructor Summary
Bill()
           
 
Method Summary
 void addBillEntry(BillEntry entry)
           
protected  Description buildDescription()
           
 int compareTo(java.lang.Object obj)
           
 java.util.Set getBillEntries()
           
 java.util.Date getBillingDate()
           
 java.util.Date getEndDate()
           
 long getId()
           
 java.lang.String getLabel()
           
 Project getProject()
           
 java.util.Date getStartDate()
           
 boolean isPrinted()
           
 void setBillEntries(java.util.Set billEntries)
           
 void setBillingDate(java.util.Date billingDate)
           
 void setEndDate(java.util.Date endDate)
           
 void setId(long id)
           
 void setPrinted(boolean printed)
           
 void setProject(Project project)
           
 void setStartDate(java.util.Date startDate)
           
 
Methods inherited from class com.pnpconsult.zeiterfassung.model.ArchivableObject
isArchived, setArchived
 
Methods inherited from class com.pnpconsult.zeiterfassung.model.TimestampedObject
getDateCreated, getDateModified, setDateCreated, setDateModified
 
Methods inherited from class com.pnpconsult.zeiterfassung.model.DescriptiveObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bill

public Bill()
Method Detail

buildDescription

protected Description buildDescription()
Overrides:
buildDescription in class DescriptiveObject

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class DescriptiveObject
See Also:
Comparable.compareTo(java.lang.Object)

getEndDate

public java.util.Date getEndDate()
Returns:

getId

public long getId()
Returns:
Returns the id.

getProject

public Project getProject()
Returns:
Returns the project.

getStartDate

public java.util.Date getStartDate()
Returns:

isPrinted

public boolean isPrinted()
Returns:
Returns the printed.

setEndDate

public void setEndDate(java.util.Date endDate)

setId

public void setId(long id)
Parameters:
id - The id to set.

setPrinted

public void setPrinted(boolean printed)
Parameters:
printed - The printed to set.

setProject

public void setProject(Project project)
Parameters:
project - The project to set.

setStartDate

public void setStartDate(java.util.Date startDate)

getBillEntries

public java.util.Set getBillEntries()

setBillEntries

public void setBillEntries(java.util.Set billEntries)

addBillEntry

public void addBillEntry(BillEntry entry)

getLabel

public java.lang.String getLabel()

getBillingDate

public java.util.Date getBillingDate()

setBillingDate

public void setBillingDate(java.util.Date billingDate)


Copyright © 2003-2004 PNP Unternehmensberatung. All Rights Reserved.